Everyone's favorite subject...URL rewriting [Solved] |
[eluser]kettch[/eluser]
[quote author="TheFuzzy0ne" date="1240468726"]You still need to route it through the index.php file, so: Code: RewriteRule ^index.php?view=(.*)$ index.php/page/id/$1 [NC,R] would probably work a bit better.[/quote] I suppose I should have posted the full .htaccess cause I had a feeling someone was going to mention that. :-) I have another rule that handles the rewrite the eliminate the index.php portion of the URL, which works great. My full .htaccess is: Code: RewriteEngine On Like I said...the new site works great with the URL http://mysite.com/page/id/testid, I just want to make the previous URL format forward to the new style. |
Welcome Guest, Not a member yet? Register Sign In |