View Single Post
Old 05-05-2008, 04:13 PM   #1 (permalink)
oMIKEo
The Contributor
 
oMIKEo's Avatar
 
Join Date: Jan 2008
Location: Leeds
Posts: 52
Thanks: 7
oMIKEo is on a distinguished road
Default mod_rewrite causing issues

Hi,

I've finally got my mod rewrite working but i have the problem that it thinks all my url's are wrong, is there something i can do in the .htaccess to fix this rather than adding long urls to all files and links?

here is my mod rewrite:
PHP Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase 
/
RewriteRule ^profile/(.*)$ profile.php?id=$[L,NC
because im using /profile/ all my links are going within that imaginary folder, can i add something so they go back to the root?

Hope this makes sense,
Michael
Send a message via MSN to oMIKEo
oMIKEo is offline  
Reply With Quote