Latest Topics Widget Links To Physical Board Location

elawrenc01
User www
User www
Posts: 51
Joined: Thu Feb 16, 2017 11:59 am

Latest Topics Widget Links To Physical Board Location

Post by elawrenc01 »

Hi,

Something else I am noticing. When I use the Latest Topics Widget for Wordpress, the link for the post takes you to the actual board location instead of the Wordpress page.

For example, my Board is /board_dir
My shortcode is at /board

On the Wordpress homepage I have the Latest Posts widget. If I click the link, it goes to /board_dir instead of /board

What is the best way to change this?

Thanks

Ed L.
User avatar
axew3
w3all User
w3all User
Posts: 2888
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Latest Topics Widget Links To Physical Board Location

Post by axew3 »

It point to the real board url because if you use the JS template integration code into the overall_header.html, the phpBB page is then redirected to the wordpress page where the iframed phpBB will display.
Why do you want to change this?

See the overall_header.html code part
here
https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/

anyway, even you should not change this, due to SEO reasons, because the link will point to an url that in reality do not exist, the file to look for any modifcation is:
/wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics.php
or if using/activated the Use custom files option, into the related folder, the same file.
elawrenc01
User www
User www
Posts: 51
Joined: Thu Feb 16, 2017 11:59 am

Re: Latest Topics Widget Links To Physical Board Location

Post by elawrenc01 »

axew3 wrote: Tue Dec 03, 2024 10:04 pm It point to the real board url because if you use the JS template integration code into the overall_header.html, the phpBB page is then redirected to the wordpress page where the iframed phpBB will display.
Why do you want to change this?

See the overall_header.html code part
here
https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/

anyway, even you should not change this, due to SEO reasons, because the link will point to an url that in reality do not exist, the file to look for any modifcation is:
/wp-content/plugins/wp-w3all-phpbb-integration/views/phpbb_last_topics.php
or if using/activated the Use custom files option, into the related folder, the same file.
No, it doesn't redirect. I will check the Overall header code to make sure it's correct.
Post Reply