Jump to content

mod rewrite


taith

Recommended Posts

does anyone know how to do any dynamic based mod rewrites?

 

for example:

url.com/admin/usermanager/edit/5
to
url.com/index.html?page=admin&op=usermanager&div=edit&id=5

 

as well as

url.com/photogallery/4
to
url.com/index.html?page=photogallery&id=4

 

the url can use upto 3 string, and 2 integers... and every combination/order thereof...

 

like...

url.com/4/photogallery
to
url.com/index.html?id=4&page=photogallery

 

anyone know if this is even possible without writing out each possibility?

Link to comment
https://forums.phpfreaks.com/topic/142868-mod-rewrite/
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.