Jump to content

rewrite help (worked, but now it doesnt, maybe update..)


Recommended Posts

I have this mod_rewrite:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^post/([0-9]+)$ post.php?pid=$1 [L]

And it worked while hosting center updated apache i think, now it loads page but it cant read $_GET['pid'] var, i dont know why.

When i go to www.web.com/post/22 it doesn't work but if i go to www.web.com/post.php?pid=22 it works :/

Can someone help me?

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.