Jump to content

basic question


robert_gsfame

Recommended Posts

I am new to apache, just want to know if i use mod_rewrite, how can i still access the page in localhost

 

so for example:

 

i have this- mypage.php?page=2

i rewrite url so that i will have this mypage/2

 

so when i add another page and try to redirect user to that page using a link, i have to put this way <a href="mypage/2">go to next page</a> instead of having this <a href="mypage.php?page2>go to next page</a>

 

is that correct??  thx in advance

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/227327-basic-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.