Getting Canonical to work
-
shirlock
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
11 years 3 months ago #1413
by shirlock
Hello, I was very excited to find Tag Meta and wanted to test out the Canonical feature. I installed TagMeta successfully, confirmed the com and plugin were enabled, used the default settings,created two articles(bad and good) and set
source url:
mydomain.com/bad/*$
canonical:
mydomain.com/good/
Yet, when I test
mydomain.com/bad/ from the browser, I still see the "bad" article. This is my first try using TagMeta, so please help me understand what I am doing wrong or if I misinterpreted this feature.
I also looked at the advanced settings in the plugin and tried it with mode redirect=yes, but it still didn't redirect the "bad" page to the "good" one.
Kind Regards,
Shir
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 3 months ago #1419
by admin
Hi Shir,
the canonical just add a meta tag in the html code. This means that if the rule is working, when you call the "bad" page you get the bad page, but looking at the source code you should see a rel="canonical" tag with the good URL. So, the canonical is not a redirect. If you need a redirect you should try ReDJ.
More info about canonical usage here:
support.google.com/webmasters/answer/139394?hl=en
Kind regards,
Luigi
The following user(s) said Thank You: shirlock
Please Log in or Create an account to join the conversation.
Time to create page: 0.123 seconds