Fancy URL Query String not updating document.location during normal navigation
Posted: Thu Mar 12, 2020 7:36 pm
I had phpbb wordpress iframe integration working correctly a few weeks ago, but somehow I broke it and need some guidance.
The problem I'm having is that the URL doesn't update as you browse around the forum. For example, if you hit the main forum page, https://chamconsoft.com/cmc/forums/ , and then browse to Announcements, the URL stays https://chamconsoft.com/cmc/forums/.
If instead, you right-click Announcements and Open in New Window, the URL is correct, https://chamconsoft.com/cmc/forums/?w3= ... BocD9mPTU=
As long as you just click around to different forum pages and posts, the URL never changes, which is wrong. But right-clicking and opening in a new window will always have the correct fancy URL query string for that page/post.
I first noticed this issue a week or two ago on 2.1.9. I had noticed the commented out w3all0Normalize_phpBBUrl function and re-enabled it, and everything was working perfectly, just like your forum here. It was a few days later I discovered the fancy URL's were no longer updating. Today I upgraded to the latest, 2.3.1, and reapplied the Header/Footer code, copied the new resizer to the root, and rebuilt the forum template, but the problem remains.
Wordpress lives in https://chamconsoft.com/cmc/wordpress, and I'm using .htaccess rewrite rules to have it show @ https://chamconsoft.com/cmc
The forum lives in https://chamconsoft.com/cmc/phpbb, and I've used w3all to embed it at https://chamconsoft.com/cmc/forums
My guess is that I broke something in the .htaccess, which is what I was tweaking around that time to migrate all my old web pages to wordpress and the new forum location. But today I turned off the rewrites related to the forum, in addition to the 2.3.1 upgrade I mentioned above, hoping that would help. Though it seems weird that it works perfectly with Open in New Window, which makes me doubt that .htaccess is affecting it.
I've tried with Firefox, Edge and Chrome and see the exact same behavior. My WordPress and plugins are fully up to date, and so is PHPBB.
Thanks for any help you can provide,
Paul
The problem I'm having is that the URL doesn't update as you browse around the forum. For example, if you hit the main forum page, https://chamconsoft.com/cmc/forums/ , and then browse to Announcements, the URL stays https://chamconsoft.com/cmc/forums/.
If instead, you right-click Announcements and Open in New Window, the URL is correct, https://chamconsoft.com/cmc/forums/?w3= ... BocD9mPTU=
As long as you just click around to different forum pages and posts, the URL never changes, which is wrong. But right-clicking and opening in a new window will always have the correct fancy URL query string for that page/post.
I first noticed this issue a week or two ago on 2.1.9. I had noticed the commented out w3all0Normalize_phpBBUrl function and re-enabled it, and everything was working perfectly, just like your forum here. It was a few days later I discovered the fancy URL's were no longer updating. Today I upgraded to the latest, 2.3.1, and reapplied the Header/Footer code, copied the new resizer to the root, and rebuilt the forum template, but the problem remains.
Wordpress lives in https://chamconsoft.com/cmc/wordpress, and I'm using .htaccess rewrite rules to have it show @ https://chamconsoft.com/cmc
The forum lives in https://chamconsoft.com/cmc/phpbb, and I've used w3all to embed it at https://chamconsoft.com/cmc/forums
My guess is that I broke something in the .htaccess, which is what I was tweaking around that time to migrate all my old web pages to wordpress and the new forum location. But today I turned off the rewrites related to the forum, in addition to the 2.3.1 upgrade I mentioned above, hoping that would help. Though it seems weird that it works perfectly with Open in New Window, which makes me doubt that .htaccess is affecting it.
I've tried with Firefox, Edge and Chrome and see the exact same behavior. My WordPress and plugins are fully up to date, and so is PHPBB.
Thanks for any help you can provide,
Paul