How to change www in url with a specified name


Posted on 16th Feb 2014 07:03 pm by admin

Hi
I'm trying to change the url http://www.sitename.com/apparels to something like below
http://apparels.sitename.com/apparels in PHP.
If anybody can help me with the code for the same or provide links of tutorial which may be of help to me I would be very thankful.
Did you know?Explore Trending and Topic pages for more stories like this.
Thanks in advance.
No comments posted yet

Your Answer:

Login to answer
293 Like 17 Dislike
Previous forums Next forums
Other forums

PHP Form to Variable.
Hi! I have written a HTML-form code in DreamWeaver CS3 (in a PHP doc) and I really need it to work s

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

Displaying different page content, depending on the logged in user.
Hi all, I am new to ASP.net (and web development in general), and have a question about how I can di

Creating a custom API
I'm creating a site, and I need to create a basic API. Unfortunately I have no idea where to start.

MySQL query problem
When I try to run the following piece of code, I get this error:
QuoteWarning: mysql_query(): sup

PHP Thumbnail Creation
Ok so i use this function to create thumbnails:

Code: function createthumb($name,$filename,$n

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

Trouble with a select list
Hello All!
I was wondering if any of you guys could help me with a small problem I'm having!

rename the file
File.txt

Code: ***DOCUMENT***
..DN:
000044255
..CB:
..SN:
..PY:
2009
..E

When file included, REMOTE_ADDR is server's?
I have an index file that handles my site, basically index.php?page=ip will activate "require('

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash