How to make links opened in new tab go to the right place?

thewebguys
User w
User w
Posts: 11
Joined: Tue Jun 08, 2021 12:34 pm

How to make links opened in new tab go to the right place?

Post by thewebguys »

Hi. If we click a link on a topic and ask it to open in a new tabe, it always opens the forum home page. What is the right way to make sure it opens the correct thread or topic please?
Thanks, Jon
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: How to make links opened in new tab go to the right place?

Post by axew3 »

Hello, do you have this online?
thewebguys
User w
User w
Posts: 11
Joined: Tue Jun 08, 2021 12:34 pm

Re: How to make links opened in new tab go to the right place?

Post by thewebguys »

Yes, I will send you a PM with a login.

Some users are also reporting that when they open new links on the forum, they are logged out and sent back to the Wordpress login page.

Thank you
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: How to make links opened in new tab go to the right place?

Post by axew3 »

Mh, to me it is working on firefox, not tested any other, but looking on code, at first look, the unique wrong setting seem to be
(DO NOT ADD/INCLUDE final slash here)
you added a slash on code you added into overall_header.html

Code: Select all

var wordpress_url_page_forum = 'https://subdomain.w3host.com/wordpress/myWPforumPage'; // MANDATORY! // (DO NOT ADD/INCLUDE final slash here) Url that point to your iframed wordpress forum page
you have

Code: Select all

https://www.....co.uk/forum/
but need to be

Code: Select all

https://www.....co.uk/forum
the same goes for any other setting you edited into overall_footer.html code you added and into the plugin admin settings: you have to not add final slashes for urls and path, check all.
Not sure if it can lead to the problem somewhere? Let know
thewebguys
User w
User w
Posts: 11
Joined: Tue Jun 08, 2021 12:34 pm

Re: How to make links opened in new tab go to the right place?

Post by thewebguys »

Hi, I checked and the forum url does not have the trailing slash in overall_header.html. Where are you seeing this please?
Post Reply