Forum Moderators: phranque
[edited by: encyclo at 1:19 pm (utc) on Nov. 3, 2009]
[edit reason] fixed formatting error [/edit]
Please review our terms of service and our Forum Charter before posting the code.
We also need an example of what subfolders *are* beinf successfuly redirected, and which subfolder is not being redirected. .htaccess files are complex, and detailed information is required.
Thanks,
Jim
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.mysite\.com$ [NC]
RewriteRule ^(.*)$ [mysite.com...] [R=301,L]
but one of these subfolder won't to redirect and still appear without www , because this subfolder is a separate script and has an .htaccess it's own for RewriteEngine to rewrite .php file to .html.
In .htaccess file of this subfolder I repeat the same code above, but did not succeed.!
so, how can I redirect this subfolder URL to apper with www same others ?
Thanks,
fjoufi
Two things you might want to check, since responses here may be slow:
Look at the
RewriteOptions inherit Jim