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

couldn't connect to your database
Hello I am new to php mysql

Actually i have read A tutorial on nettuts
"http://net.tu

Simple AND question
Hello,

I've got following code:

Code: if(strpos($row[13],"http://")

CHECH A STRING FOR ' " ' (DOUBLE QUOTES)
I am checking for delimiter (.!?) and if there is a " after a sentence then it should neglect a

Multi Level Array Problem
hi all,

For example I have array like below:

$temp = array(array('north america', 'us'

Parse Error
Hi Guys,

I have a function in my class which returns a string link variable. The problem is i

Stats of viewers
Hello. I have a website in php and people can login. I want to make an admin control panel where u c

Not capturing all the information we require in the form.......
Hi Guys,

I was wondering if you would share some more of your knowledge today, I'm hoping it

php mailer
How can i send a mail to large no, say 50,000 reciepients using [color=#0000FF]php mailer[/color]

list files from folder, only one for each date
I have many files in a folder and wish to only list one of each date

these are the file names

Coding Critique
I was hoping someone could take a second and look down my code and see if they see any problems with

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