This is normal.
I moved this to Apache mod rewrite forum as it's more of a general mod Rewrite matter.
So you have got URLs like these :
index.php?page=14&p=5 not index.php?page=14
?p=5
But the thing is why do you want to implement an HTTP 301 here, aren't you trying to URL rewrite those instead of just have them moved permanently ?
For example, if you had decided to use something like "detektorsxx.html" for this page, then you'd just have to use this rewriterule :
- Code: Select all
rewriteRule ^detektors([0-9]*)\.html$ /index.php?page=14&$1 [QSA,L]
Which will make correspond detektorsxx.html to index.php?page=14&p=xx
The only thing left to be done here is to make sure from now on you only use the detektorsxx.html standard to build these URLs, can be hard coded (you can as well think of a switch in your coding, like if $mod_rewrite then detektorsxx.html else index.php?page=14&p=xx, with $mod_rewrite set to TRUE or FALSE early enough in the code).
It should be fairly doable since it's your custom code that will output links and needs to be tweaked for this purpose, the mxBB part should not be more difficult than just to edit the menu nav setting and change the main access link to the new standard and to do the same everywhere you posted links to this module.
++