Jump to content

[SOLVED] Need Help Rewriting index.com/page2/ to index.php?currentpage=2


limitphp

Recommended Posts

I figure it'll probably be something like:

RewriteRule ^page([0-9]+)/?$ index.php?currentpage=$1 [NC,L]

 

the only thing is, that rule will put the word page and the number in for the querystring, won't it?

 

How do I just grab the number?

 

thanks

 

thank you, but

 

I'm at work, and unfortunately the site is blocked.  It doesn't seem to work with the proxy I'm using.

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.