rem Posted February 27, 2008 Share Posted February 27, 2008 Hello, I was struggling with this one for some time and can't find a solution. Can anyone advice how to keep the nice URLs while I'm navigating out of the current rule page. ex: for index.php page I have the following rule: RewriteRule ^(.*).html$ index.php?p=$1 [L] which allows me nice URLs like: about_us.html, instead of index.php?p=about_us but what if I need to go to another page (or link to another page) like gallery.php?g=50 from index.php? What should I do to have the links like that instead of gallery.php?g=50 Thanks a lot and I really hope this makes sense. Regards, Rem. Link to comment https://forums.phpfreaks.com/topic/93309-nice-urls-while-out-of-the-current-page-rule/ Share on other sites More sharing options...
aebstract Posted February 27, 2008 Share Posted February 27, 2008 You might be looking at the format wrongly, if I understand what you're trying to do anyway. Are you meaning like, index.php?p=gallery&g=50 ? Link to comment https://forums.phpfreaks.com/topic/93309-nice-urls-while-out-of-the-current-page-rule/#findComment-478139 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.