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.
Thanks in advance.

No comments posted yet

Your Answer:

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

matching numbers inside ( )
I know I can match numbers by just [0-9]+, so I thought matching numbers inside ( ) would be somethi

Why Are These Functions Causing MASSIVE Memory Problems? Please Help!
Hi,

I have a script with some options.

I use regex to replace patterns in strings, but

Referential Integrity problem when inserting into 2 tables at same time
Hello Everyone,

Im relativity new to PHP and MySQL and i have come up against a problem. i h

What are the two different files you download to update kernel?
What are the two different files you download to update kernel?

Serial number of exernal hard disk/Thumbdrive
Hi guys, I am new tio java networking concepts.Please tel me how to get Serial number of exernal

controlling/creating accounts with privileges
hi all,
i'm trying to figure out how i can create/control account with privileges, for instance a

with clause
hi all, i have a big query that usually access the same table more than once. for example, i have s

MFC GUI Programming
I am working on a project right now that requires me to create a MFC Windows GUI. Basically it need

Help adding strtolower( to my in_array
strtolower i need to add it to this to work, iuno how.

Code: $moderators = array('Admin', 'ba

Number Format
Hi All,

I have number '000000000050085' I want to format it to 500.85 Can any one give me

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