05-05-2008, 04:13 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: Jan 2008
Location: Leeds
Posts: 52
Thanks: 7
|
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=$1 [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
|
|
|