Jump to content

Rewriterule Question


Cyto

Recommended Posts

Hi,

 

I have set a Rewriterule(works):

RewriteRule ^([a-zA-Z0-9_+-]+).html$ search.php?q=$1&site_id=0

Is it possible if I go to a link like this search.php?q=something&site_id=0 that it will go to something.html?

Because some urls in search results are like search.php?q=something&site_id=0 instead of something.html.

 

Cyto

Link to comment
https://forums.phpfreaks.com/topic/269810-rewriterule-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.