Hi,
I'm trying to track down an issue with a set of rewrite rules that I'm
using to convert links from www.mysite.com/dir/page (and /dir/page/)
format into a query-string for a script. To give a better example:
www.example.com/projects/foo=> /index.php?projects/foo
www.example.com/projects/
Joshua Slive wrote:
Don't mix mod_rewrite and mod_alias. In place of those
RedirectPermanent, use
RewriteRule ^forum http://forum.philpem.me.uk [R=permanent,L]
etc...
That sorted it - thanks.
Now the only problem is I have a pair of RewriteCond commands for each
redirect, and all of them ne
Hi,
I have the following rewrite rules in my site's .htaccess:
--- begin cut
RewriteEngine On
# Only rewrite URLs on the primary domain, not subdomains
RewriteCond %{HTTP_HOST} ^www\.philpem\.me\.uk$ [OR]
RewriteCond %{HTTP_HOST} ^philpem\.me\.uk$
# This makes sure AWStats can get through
R