Here is an example. Normally, without rewrite, when you are in forum1-topic2, the browser url is like this:
- Code: Select all
http://localhost/phpbb/viewtopic.php?f=1&t=2
When you are viewing topic2, the previous topic link url is this:
- Code: Select all
http://localhost/phpbb/viewtopic.php?f=1&t=2&view=previous
If you click previous, forum1-topic1 is opened but the browser url is:
- Code: Select all
http://localhost/phpbb/viewtopic.php?f=1&t=2&view=previous
is not:
- Code: Select all
http://localhost/phpbb/viewtopic.php?f=1&t=1
Here is my question:
I am using mod rewrite in advanced mode. So when i am in forum1-topic2, its browser url is like this:
- Code: Select all
http://localhost/phpbb/games/velvet-assasin-t2.html
The previous and also next topic link URLs aren't rewritten. I am trying to rewrite these URLs and get rid of "?" and "&".
So the previous topic link url is again:
- Code: Select all
http://localhost/phpbb/viewtopic.php?f=1&t=2&view=previous
When i click previous topic, it opens forum1-topic1 as it should be but if there is a previous topic to be displayed, the browser url changes to:
- Code: Select all
http://localhost/phpbb/games/fifa-2010-t1.html
I am trying to find how does this happen? Is this change made in viewtopic.php or phpbb_seo_class.php or somewhere else? Is it a redirect or sth. different? If someone tells me where and how these changes occur, i will be very pleased
(P.S : I think, previous-next topic buttons are only in subsilver2 based styles. So if you are using prosilver, don't try to find these buttons

English |
French
