Ok, so I can't get this mod rewrite working correctly.
I'm trying to get this this url:
www.mydomain.com/dir1/goto.php?section=xxxxx
to turn into:
www.mydomain.com/goto/section/xxxxx/ or www.mydomain.com/dir1/goto/section/xxxxx/
I got this code in my .htaccess file in my root dir:
Options +FollowSymLinks
RewriteEngine on
RewriteRule goto/(.*)/(.*)/$ /dir1/goto.php?$1=$2
That almost does what I want correctly, I get the correct page, but it doesn't change the links on the page to the right path. Example, a link on the page shows http://www.mydomain.com/goto/section...dir2/index.php where it should show www.mydomain.com/dir1/dir2/index.php
Ugh.
Jimmy
Bookmarks