Jump to content

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


Frank S. Hagan

Recommended Posts

Posted

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

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

This rewrites the url:

http://messing-about.com/forums/topic/9480-core-sound-17-mk-3-summer-breeze/page-9

to the new version:

http://messing-about.com/forums/topic/9480-core-sound-17-mk-3-summer-breeze/?page=9

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? 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...