2013-08-29, 02:17:39
That works well for redirects, however, now the page doesn't load if there's no "slash" at the end.
My redirect text is now:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/$ index.php?id=$1 [QSA,L]
Now, "http://www.irisemedia.com/internet-marketing-solutions/" is very different from "http://www.irisemedia.com/internet-marketing-solutions" (no slash). How do I fix this so that the page shows with/without the slash and still be able to redirect URLs?
My redirect text is now:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/$ index.php?id=$1 [QSA,L]
Now, "http://www.irisemedia.com/internet-marketing-solutions/" is very different from "http://www.irisemedia.com/internet-marketing-solutions" (no slash). How do I fix this so that the page shows with/without the slash and still be able to redirect URLs?
(2013-06-24, 03:09:20)SoHo22 Wrote: In this case the "?$" was wrong. I deleted it and everything works. Very simple - when you got the solution ;-)
PROBLEM SOLVED