Forums

Example why manual canonical URLs are so important for forum


Jimako ยป 2 months ago
I just noticed this, so this is an example:

- why not use canonical URLs by original metatag plugin (and why I added new token {site:nothing} )
- why always generate (save) canonical URLs for new topics
- why is e_PAGE or any other way how to find where you are so important?

There is the forum post with ID 226 as an example.

Original metatag uses e_REQUEST_URL as canonical URL.
But e_REQUEST_URL for the link to latest post is with parameters too for example /?&p=1 in URL

Fixing this doesn't help because there is next example when this fails:
- if you change topic name, then URL is generated from this title.

So now are available those links:
https://www.e107sk.com/forum/general-theme-questions/226/gaia-news-solved/?&p=1#post-762
https://www.e107sk.com/forum/general-theme-questions/226/gaia-news-solved/
https://www.e107sk.com/forum/general-theme-questions/226/gaia-news/
etc... (there is a lot of more)

But if you generate canonical URLs (in relative Canonical URLs), all those links have the same canonical URL.

https://www.e107sk.com/forum/general-theme-questions/226/gaia-news/

because canonical relative URLs are combination entity type and entity ID (in this case forum topic and ID 226).

But this is possible only if you are able to identify entity type and ID correctly. Asking for one way how to do it through all system is probably too much.


JMadmin

Jimako
Main Admin
JMadmin

Moderator(s): Jimako, kreossino

Latest Downloads

e107 version 2.3.0 from 17.03.2020
in Category: Stuff in development

e107 version 2.3.0 from 17.03.2020

2 weeks ago

e107 CMS downloaded from Github 17.03.2020 - called 2.3.0.0 - deleted e107 tests - deleted Voux and Landing Zero themes. This pack is for users that are working with our themes. Stable version 2.2.1 i 
Read more..

e107 version 2.3.0 from 17.03.2020
JM Core plugin 1.8
in Category: e107 plugins

JM Core plugin 1.8

3 months ago

Please, use Github version.  The version used on this site. It fixes some core limitations via the plugin, no core changes. Check Readme at first.  Version 1.8 What is inside? - fix for missing tit 
Read more..

JM Core plugin 1.8
ReCaptcha plugin 1.3
in Category: ReCaptcha plugin

ReCaptcha plugin 1.3

3 months ago

No CAPTCHA reCAPTCHA Captcha replacement for e107 v2.2 or higher with shortcodes.  Added shortcodes for replacing contact secure image shortcodes. Possibility to hide it from logged users.
Read more..

ReCaptcha plugin 1.3