[pmwiki-users] Clean URLs, backwards compatability

Sandy sandy at onebit.ca
Fri Jun 8 14:17:46 CDT 2007


I'm using one of the CleanURL recipes for my farm. (Not sure which one, 
but it works.) Combination of URL rewriting and using CPanel to set the 
subdomain.

The address www.cricket.onebit.ca works fine, and has been for ages.

But I was looking at some old profiles on other sites. One still had
www.onebit.ca/cricket
When I go to that URL it gives me Error 404 Not Found.

Is there an easy way I can get both to work?

----

The www.onebit.ca/cricket/.htaccess consists of the following, and 
nothing else:

RewriteEngine On
RewriteBase /
RewriteRule ^$           index.php  [L]
RewriteRule ^index.php$  index.php  [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)         index.php?n=$1  [QSA,L]


Thanks in advance,
Sandy




More information about the pmwiki-users mailing list