Widget links do not work after full integration
Posted: Tue Mar 15, 2022 9:27 am
I am setting up integration WP <-> phpBB.
Wordpress is installed in root (w ww.mysite.com)
phpBB is installed in subdomain (forum.mysite.com)
1. User synchronization - works perfectly
2. Widget in WordPress footer showing latest posts on phpBB - works perfectly
3. Performed steps from following page: https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/
Now, forum is nicely integrated into WordPress page. All links for phpBB are no longer forum.mysite.com/viewtopic.php...,
now they are w ww.mysite.com/forum/?w3=...
Everything works as expected, only now I have problem with my links in footer.
Case 1 (correct): I am on my WordPress homepage (www.mysite.com) and any link in footer widget take me to corresponding topic on forum.
Case 2 (correct): When I am browsing forum, all links from inside forum works propery
Case 3 (incorrect): When I am using forum and click on link in footer widget, I am not redirected to topic from the link, but instead I stay on same place on forum (link does not take me anywhere)
In Case 3, when I press same link from footer widget several times, actual link is "growing", like this:
.../viewtopic.php?f=28&t=24&p=66#p66
.../viewtopic.php?f=28&t=24&p=66#p66/viewtopic.php?f=28&t=24&p=66#p66
.../viewtopic.php?f=28&t=24&p=66#p66/viewtopic.php?f=28&t=24&p=66#p66/viewtopic.php?f=28&t=24&p=66#p66
Can this be fixed? Did I make some mistake during integration?
Wordpress is installed in root (w ww.mysite.com)
phpBB is installed in subdomain (forum.mysite.com)
1. User synchronization - works perfectly
2. Widget in WordPress footer showing latest posts on phpBB - works perfectly
3. Performed steps from following page: https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/
Now, forum is nicely integrated into WordPress page. All links for phpBB are no longer forum.mysite.com/viewtopic.php...,
now they are w ww.mysite.com/forum/?w3=...
Everything works as expected, only now I have problem with my links in footer.
Case 1 (correct): I am on my WordPress homepage (www.mysite.com) and any link in footer widget take me to corresponding topic on forum.
Case 2 (correct): When I am browsing forum, all links from inside forum works propery
Case 3 (incorrect): When I am using forum and click on link in footer widget, I am not redirected to topic from the link, but instead I stay on same place on forum (link does not take me anywhere)
In Case 3, when I press same link from footer widget several times, actual link is "growing", like this:
.../viewtopic.php?f=28&t=24&p=66#p66
.../viewtopic.php?f=28&t=24&p=66#p66/viewtopic.php?f=28&t=24&p=66#p66
.../viewtopic.php?f=28&t=24&p=66#p66/viewtopic.php?f=28&t=24&p=66#p66/viewtopic.php?f=28&t=24&p=66#p66
Can this be fixed? Did I make some mistake during integration?