CodingHelp
01-13-2011, 02:26 AM
Hi i have a site with subdirectories
The main one is mysite.com and i have the "force www" code on the main domain so it changes to http://www.mysite.com
I have a sub directory, mysite.com/page1 and i would like a htaccess code to "force www" on my sub directory and everything inside it.
For example:
mysite.com/page1
Would be changed to http://www.mysite.com/page1
And everything else in the "page1" subdirectory gets forced with "www"
Example: mysite.com/page1/forum.php
Would change to: http://www.mysite.com/page1/forum.php
Thanks in advance
The main one is mysite.com and i have the "force www" code on the main domain so it changes to http://www.mysite.com
I have a sub directory, mysite.com/page1 and i would like a htaccess code to "force www" on my sub directory and everything inside it.
For example:
mysite.com/page1
Would be changed to http://www.mysite.com/page1
And everything else in the "page1" subdirectory gets forced with "www"
Example: mysite.com/page1/forum.php
Would change to: http://www.mysite.com/page1/forum.php
Thanks in advance