• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Canonical Tags 1.0.0

No permission to download

Liam W

Well-known member
Liam W submitted a new resource:

Canonical Tags - Canonicalise those tags!

This add-on allows you set set a canonical tag for all of your tags.

This screenshot will make more sense:

View attachment 111235

You select the canonical tag, and any request to the non-canonical tags page will be redirected to the page of the canonical tag.

There is also an option to automatically change any non-canonical tag to the canonical version when it is used in content - this is enabled by default:

View attachment 111236
You can demo this in the test forum at XF...
Read more about this resource...

Liam W

Well-known member
Hi @Liam W . What is the purpose of this addon?
It allows you to add tags that should be changed to a different tag when used or visited.

For example, you may have users' that use both addons and add-ons as tags. With this add-on, you can set the canonical version of addons as add-ons, and when a user uses the tag addons it'll be automatically changed the add-ons when saved.



Well-known member
I'll be honest - I'd love to have a canonical tag addon but I don't understand what this is supposed to do, neither by the example. Redirected pages obviously don't need a canoncial tag and the page to which a user is redirected (or the "new" page) probably will be canonicalized using the stock system that uses the URL. The difficulty with XF is that there is no way I can see (other than writing inefficient conditionals) to set a canonical tag in place for individual pages that need them.

Liam W

Well-known member
This add-on allows you to set tags that should be other tags.

For example, if I have an xf tag canoncialised to xenforo, then whenever the xf tag is used in content it is changed to XenForo.

If the xf tag page is accessed, it redirects to the XenForo tag page.



Well-known member
When you say "redirect" do you mean actual redirection? If so, as per the example I saw, that's not what a canoncial tag is supposed to do from my understanding. It is supposed to tell search engines how to index a web page.

For example - you have 4 node pages of almost the same content. Page 1 is an entire article about how to make a post, edit and delete. Pages 2, 3 and 4 have the same information but each contains one part so that 2 has the "make post", 3 has "edit post" and 4 has "delete post" content that is all on Page 1. Canoncials can be set so that pages 2, 3 and 4 aren't indexed as their own page. It informs the search engine that it should only index one page, setting the URL for page 1 on all sites as the canonical tag, e.g. ht tp//www. xfsite .com/pagenode/make-edit-delete-post1/ for all pages. This is helpful when you also have duplicate pages, e.g. the same page appears 4 times on your site, e.g. that make-edit-delete post may appear as a page node, a post in a forum and on a page in a wordpress blog you have installed on your site too. You would set the canonical tag to one of these three pages so that the search engine indexes that page only once using the preferred page you wish users to see.


Well-known member
@Liam W - is there an option (suggestion) when user create tag, that automatically convert user tag to admin canonical tag?
So if canonical tag is "addon", when user create tag "add on" it is converted to "addon"