Forums

Example why manual canonical URLs are so important for forum


Jimako ยป 1 month 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 Download plugin 1.2
in Category: JM Download plugin

JM Download plugin 1.2

1 month 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 Ver 
Read more..

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

JM Core plugin 1.6.0

3 months 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 main me 
Read more..

JM Core plugin 1.6.0