Canonical URLs and SEO
-
After publishing my new wordpress website my on page analysis shows two canonical urls on my homepage. In checking the source code the Yoast SEO plugin states my canoncial url is www.homepage.ca/ This is the only one showing. Having said this I do not add the trailing slash to anything on my url structure. Could this be why the on page analysis tool says there are 2? If so is there any way to resolve this?
-
-
no it is not checked
-
Ah I think I may have found it.
Under Permalinks on the Yoast menu on the left do you have
"Enforce a trailing slash on all category and tag URL's" ticked or not?
-
They do not have the slash but the Yoast SEO package has it in the automatic rel=canonical which I cannot find to change
-
Oh I see, you've got a specialised set-up. Okay.
In which case the actual place you want to be checking is under Settings > General and look at your Wordpress and website address to see if those have a trailing backslash or not.
-
all done through the widgets per attached example
-
And can you show me the screen/section when you're editing the homepage text?
(we will get to the bottom of this one, it's just taking time).
-
-
Can you take some screenshots so I can see what you're seeing?
Can you post firstly the page you see when you are editing the home page content? (not the layout/design).
-
i created the home page through the appearance/widgets menu using an agentpress theme built on the genesis framework. there is no "home page" appearing as either a page or post in these menus (unless I am missing something)
-
Don't open up the Yoast SEO on it's own. Go edit the home page text as you would do normally. It will be under 'Pages' or 'Posts' depending on which way you created your home page.
Then edit the page/post in the normal way and then the Yoast box is under the normal editing window.
If it's not there make sure you're running the most up-to-date version of Wordpress and Yoast SEO and re-try
-
Hi Martin, I must be looking in the wrong place. When I open up Yoast SEO I can find menus for dashboard, titles&meta, social, sitemaps, permalinks, internal links, rss, import&export and edit files (which gives me acess to htaccess). I can find the advanced tab for all pages but the home page. Where do I find it? thanks
-
In which case I suggest you do the following:-
- Edit your home page as normal through the WP back end
- In the 'Wordpress SEO by Yoast' box under the editor select the 'Advanced' tab
- Enter your Canonical URL without the backslash there.
Publish and refresh the 'live' page and it all should marry up.
You're still probably not losing out with or without the trailing backslash, but it definitely makes it cleaner if your incoming links are precisely the same as your canonical definition.
Let me know if this works out for you.
-
Using the SEOmoz on page analysis tool. The source code shows rel canonical for www.homepage.ca/ yet my site url is www.homepage.ca with all redirects there
-
What tool are you using for your on-page analysis?
Have you done a Google search for : site:www.homepage.ca and see if two URLs are listed?
If the source code is only giving you one rel canonical tag then regardless of your analysis there's only one canonical URL so I don't think you have anything to worry about, so long as you agree with the URL given in that tag
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Local SEO Title-Tag Optimization
Hi Everyone! A bit of a greenhorn SEO here, and I'm trying to learn a bit more about some of the best practices in local SEO. I'm wondering if anyone can help me with the following scenario: Business: Dental Care & Surgery Location: Springfield IN Name: Springfield Dental Care Experts (example) Website: 18 content pages, pages dedicated to each service Since there are 18 pages to work with, there are plenty of places for us to mix-up the title tags. However, I am still unclear as to what the best way would be to do this. I understand that the Geo-modifiers should go at the front, and that the brand name is considered optional. Would tags such as this make sense? Springfield IN Dentist | Springfield Dental Care Experts Nearby town Mountainview IN Dental Care | Springfield Dental Care Experts Last question: The website has pages for each of the services offered by the dentist, ex: Dental Cleanings, Consultations, Fillings, Surgery, etc. Should each of the pages be included in the title tag? Springfield IN Dentist | Springfield Dental Care Experts - Dental Surgery My concern is that buy adding this, the title tag would be too long. Thank you for taking the time to read and respond!
On-Page Optimization | | kbaltzell0 -
An ecomerce seo question
Looking for a few opinions on this please...Trying to reduce the number of pages I have to seo to rank on my websites and at the same time avoid the google over optimisation issues. Previously on our ecomerce websites we would have a category page for, say, 12 times, we would then seo that page for generic terms related to the page; ie, blue dress, cheap blue dress, blue party dress etc. The individual product pages would then be seoed with the title and h1 tags containing the exact product name and the url containing the product name too. This worked fine but we are suffering from some duplicate content issues of late (the products are mixture of few unique items and probably 95% imported affiliate datafeeds) as we have an average of 80,000 products per store we have neither the time nor the staff to rewrite everything (the products update daily directly from the merchants so would need to be done daily) What we are planning on moving toward is blocking the individual product pages from Google and instead putting all efforts into the category pages. The category page will contain plenty of quality unique content related to the category so the only duplicate content would be a line of the product name and price. Whilst we would still rank the category page for broad keywords we also would like to now rank the category page for 16 individual product names as there is a good profit to make made by the sheer volume of product names we plan on ranking for. Obviously we could not get all the products into the url and the page title as that would be silly but would it be acceptable to have multiple h2 tags on the page, each with a different entry, the product names (H1 will be saved for the category name). We can easily bold these keywords to help in the optimisation as per the seo moz onsite analysis tool and we can add image text to ensure the product name is featured at least twice on the page. As so few sites actually seo for the long tail product names, most retailers rank by virtue of their domain quality alone, our onsite seo doesn't have to be 100% but getting the best we can out of the page will help the efforts. Many thanks Carl
On-Page Optimization | | Grumpy_Carl0 -
Is rel=canonical used only for duplicate content
Can the rel-canonical be used to tell the search engines which page is "preferred" when there are similar pages? For instance, I have an internal page that Google is showing on the first page of the SERPs that I would prefer the home page be ranked for. Both the home and internal page have been optimized for the same keyword. What is interesting is that the internal page has very few backlinks compared to the home page but Google seems to favor it since the keyword is in the URL. I am afraid a 301 will drop us from the first page of the SERPs.
On-Page Optimization | | surveygizmo0 -
Close URL owned by competitors.
The following example is exactly analogous to our situation (site names slightly altered😞 We own www.business-skills.com. It's our main site. We don't own, and would rather avoid paying for, www.businessskills.com. It's a parked domain and the owners want a very large sum for it. We own www.business-skills.co.uk and point it to our main site. We don't own www.businessskills.co.uk. This is owned by our biggest competitor. We also own www.[ourbrand].com and .co.uk, and point them to the main site. My question is - how much traffic do you think we may be missing due to these nearly-but-not-quite URL matches? Does it matter in terms of lost revenue? What sort of things should I be looking at to get a very rough estimate?
On-Page Optimization | | JacobFunnell0 -
Maximum length of a URL for good SEO?
Hi there, We have a content database as part of our site and I noticed that the way the database is loaded with new content, it means that the URL’s for these pages are really long, around 100 characters or sometimes more http://www.xxxyy.org/knowledge-base/documents/word1-word2-word3-word4-word5-word6-word7-word8 Is there a suggted maximum character length for a URL? Kind of like for title tag where I max out at 69… Should I truncate the URL’s or at least reduce the numbers of words in them to something less spammy? Does that make a difference? Thanks!
On-Page Optimization | | inhouseninja0 -
Is an Overflow SEO friendly
Is an "overflow" (scrollbar) seo and Google friendly? I only ask because it hides part of the visible text.
On-Page Optimization | | BradBorst0