Coming 1.8.0: widget iframe mode links Seo fixes, additions, suggestions

Locked
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Coming 1.8.0: widget iframe mode links Seo fixes, additions, suggestions

Post by axew3 »

About SEO for iframe mode: the JS onmouseover trick
If widgets have been setup with urls, to display the iframed WP-phpBB. The problem is the following (if it was a problem. By the way, this way to change links will give of course a benefit in several ways about SEO for the phpBB content): href output of all phpBB posts/topics links shown into Last Topics Widgets or Shortcode that display Last Topics into pages/posts, are pointing all to same WP page: URLs of these links are containing different posts ids, topics ids etc, but all points to same WP page, that display the iframed phpBB into this single WP page.
This may isn't so good for crawlers/spiders? I do not know (i've read along the time, all, and all the contrary, about SEO theories) ... but once forever, to clean up any doubt, has been added an easy way to resolve this problem, in this case.

Explained in few words, the trick i've think to just do the follow: all Last Topics URLs are outputted on html as real URLs, that are pointing to the real phpBB installation. Crawlers will so follow these links, finding the resource. A real phpBB topic/post, not same page in WP with a different postID on url.
But if an user click on the link, and Last Topics and Login widgets links for embedded phpBB iframe into WordPress option is active, a simple Javascript/jQuery code, will switch the href, pointing the user to the iframed phpBB, into the WP page.

This SEO fix for Last Topics Widget/Shortcode, has been applied already into this example online.
This example online now run 1.8.0, so you can see different URLs only checking the page source, and without pointing mouse over links before to check, because href of links are switched onmouseover.

Once for all, any SEO question about iframed phpBB, has been here answered.
This not mean it will not never more improved. This simple and effective solution can be more sophisticated, so may something more could be added for particular purposes. We'll do time by time in case, but the more important about this, is now resolved.

Code improvements:
1) the file views/phpbb_login_form.php has been removed, and his code moved inside proper function that fire the Login Widget for a more clear/fast execution.

.... .... more coming
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Coming 1.8.0: widget iframe mode links Seo fixes, additions, suggestions

Post by axew3 »

the 1.8.0 version will probably include the following additions:
1) integration, without linking users: so the integration could be used just to display phpBB last topics, posts, or iframed phpBB.
2) user addition (as option) into all subsites (network) for users, if on WP-MUMS installation.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Coming 1.8.0: widget iframe mode links Seo fixes, additions, suggestions

Post by axew3 »

Since it was quite easy to achieve it in few steps,
integration without linking users has been added as feature and will be available on next 1.8.0.
As feature, not as option into WP_w3all config page.

To get an integration without linking users, will be necessary, like on WP MUMS, to add a single line of code, into the wp-config.php file:

Code: Select all

define('WPW3ALL_NOT_ULINKED', true);
And to configure Path and URL setting into wp_w3all config page.
So will be possible, to have Last Topics Widgets and Shortcodes about last topics or phpBB posts to display in WordPress, without linking users.

Not sure about the other addition/point, user addition (as option) into all subsites (network) for users, if on WP-MUMS installation, that be achieved in really few code changes: but there are plugins that can fit this need.
Since in WP_w3all it can be done in few lines of code, maybe will be added. Waiting for a possible report about a specific plugin. Otherwise WP_w3all 1.8.0 will be released without this addition at moment.
P.S: checked and moved on
https://wordpress.org/plugins/join-my-multisite/
-> Auto-add users
- Have a ‘Join This Site’ button in a widget
- Keep things exactly as they are
...
Locked