Jump to content

Change page parameter back to /page= from new /?page=

Frank S. Hagan

Recommended Posts

Quite a few of my members bookmarked specific pages of my forums, and the URL is now different. Here's an example from 3.x:


It is now: 


Is there a way to revert to the old method so their links will work?


Link to comment
Share on other sites

Well, so far I have this in my .htaccess file in the forum root:

RewriteRule ^/(.*)/page-(.*)$ /$1?page==2

This rewrites the url:


to the new version:


However, for any double digit page numbers it does not work. 

/page-15 will rewrite to /?page=1 (all page numbers from 10 to 19 drop the second number)

/page-26 will rewrite to /?page=2 (all page numbers from 20 to 29 drop the second number too). 

Any help on this one? 


Link to comment
Share on other sites


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...