dongbamage
New Member
- Messages
- 17
- Reaction score
- 0
- Points
- 0
Hi!
I'm attempting to make my urls prettier by using mod_rewrite.
So I've setup my .htaccess with the following:
in the address bar I can then enter:
http://myurl.pcriot.com/myfolder/subfolder/articles/contact/
the redirect works correctly, however the address bar shows:
http://myurl.pcriot.com/myfolder/subfolder/index.php?url=contacts
How can I make the address bar display my pretty link whilst still rewriting (ie an invisible rewrite)
I've searched the forums and googled like a madman, but I can't seem to find a solution. Can anybody please help?
I'm attempting to make my urls prettier by using mod_rewrite.
So I've setup my .htaccess with the following:
Code:
RewriteEngine on
Rewritebase /
RewriteRule ^articles/([^/]+)/?$ http://myurl.pcriot.com/myfolder/subfolder/index.php?url=$1 [L]
http://myurl.pcriot.com/myfolder/subfolder/articles/contact/
the redirect works correctly, however the address bar shows:
http://myurl.pcriot.com/myfolder/subfolder/index.php?url=contacts
How can I make the address bar display my pretty link whilst still rewriting (ie an invisible rewrite)
I've searched the forums and googled like a madman, but I can't seem to find a solution. Can anybody please help?