Welcome Guest, Not a member yet? Register   Sign In
Url rewriting
#2

[eluser]TheFuzzy0ne[/eluser]
Doing it the first way, you need to make sure you have query strings enabled. If you don't need to use query strings for your entire site, I'd suggest sticking to your second method. If you want it to redirect internally, you need to omit the URL, so:
Code:
RewriteRule (.*) index.php?/user/%1 [L]

should probably do what you want. Adding the URL makes the redirect external, which can be really handy for confirming that it's rewriting the URL as you'd expect it to.


Messages In This Thread
Url rewriting - by El Forum - 07-09-2009, 02:25 AM
Url rewriting - by El Forum - 07-09-2009, 06:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB