I have a .htacces like this :
Since I have nothing on the root for now (planned to future).PHP Code:Options +FollowSymlinks
RewriteEngine on
Rewritecond %{http_host} ^mydomain\.com [nc]
Rewriterule ^(.*)$ http://www.mydomain.com/$1 [r=301,nc]
RewriteCond %{REQUEST_URI} !^/foros
RewriteRule ^(.*)$ /foros [r=301,nc]
Now, when my the visitor arrives at http://www.mydomain.com/foros, it is sent back to http://mydomain.com/foros !
I notice that if I get ride of the .hattaccess on the /foros root, it works as it used to work, so, it is the new .htaccess which is causing this.
Where do I configure this ? I want to keep the "www" always.



LinkBack URL
About LinkBacks





Reply With Quote
