Forum Moderators: phranque
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_URI}!(.*)/$
RewriteRule ^(.*)$ [domain.com...] [L,R=301]
This corrected a problem that somehow made my domain name forward to .net, instead of the .com
can someone help me add a new rule to make all non-slashed directores forward to index.php
ie. www.domain.com/about/ - forward to www.domain.com/about/index.php
currently (and strangely) - these forward to www.domain.com
thanks in advance
If this is the case, ask them to turn off UseCanonicalName, and to set your ServerName to www.example.com, while setting example.net, www.example.net, and example.com as ServerAliases.
If this guess is correct, the suggested changes will clear up a lot of mysterious behaviour, and make your life a whole lot easier.
Jim