Forums

Example why manual canonical URLs are so important for forum


Jimako ยป 2 weeks 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

Latest Downloads

JM Download plugin 1.2
in Category: JM Download plugin

JM Download plugin 1.2

2 weeks ago

Plugin for extending the core Download plugin. Version 1.3 on Github Replaced JM_Download plugin, Latest Releases by Father Barry,  Top Downloads menu by SecretR, AACGC Download Tracker by M@CH!N3 V 
Read more..

JM Download plugin 1.2
JM Core plugin 1.6.0
in Category: e107 plugins

JM Core plugin 1.6.0

1 month ago

The version used on this site. It fixes some core limitation via the plugin, no core changes. Check Readme at first.  Version 1.6.1 on github What is inside? - fix for missing titles in the m 
Read more..

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

ReCaptcha plugin 1.3

1 month 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