View Single Post
Old 11-27-2009, 06:14 PM  
Tamashi
Confirmed User
 
Tamashi's Avatar
 
Join Date: Oct 2009
Location: 565-013-936
Posts: 728
If done correctly, it will work. However, feel free to contact me on ICQ (565-013-936) if you encounter any problems and I'll happily help you out.

An additional note for the .htaccess files to work in subfolders is that you will have to edit 301 redirects to match the subfolder, or it will return you to the main page.

Let's say your website is porn.com and your htaccess file looks like this:
Code:
# permanently redirect from non-www domain to www domain
RewriteCond %{HTTP_HOST} ^porn\.com$ [NC]
RewriteRule ^(.*)$ http://www.porn.com/$1 [R=301,L]
You create a subfolder "babes" then your redirect will look like this:
Code:
# permanently redirect from non-www domain to www domain
RewriteCond %{HTTP_HOST} ^porn\.com$ [NC]
RewriteRule ^(.*)$ http://www.porn.com/babes/$1 [R=301,L]
__________________
++ SIGNATURE FOR SALE ++
ICQ: 565-013-936
Tamashi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook