Jump to content

Backwards.....??? Maybe?


Xiode

Recommended Posts

I keep seeing everything being turned from /products/123456 to products.php?id=123456....

 

The problem is ... I need to do this...

page.php?name=Page => Page.html or page.php?name=Page => /Page/

page.php?name=Page&n=SubPage => /Page/SubPage/

 

RewriteRule ^page\.php?name=([A-Za-z]+)$ page/$1/

 

^^ Doesn't work... What would?

Link to comment
https://forums.phpfreaks.com/topic/43481-backwards-maybe/
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.