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
-
Numerous duplicate destination URLs from within one menu - potential impact for on-page SEO?
Hello all What is your evaluation in regards to a number of links (different anchors) targeting the same destination URL from within one and the same menu (on the same website)? Keeping it brief: Think of a top menu drop down entry, that needs to feature the alphabet (each letter has it's own sub-entries). However, the actual letter itself is not represented by a page (it has no URL either). So far so good. However, when testing the menu on a mobile device, the letter entries are still treated, as if they were non-existent pages - thus throwing a 404 when clicked. In order to avoid people getting a 404 when clicking on any letter, it would be ideal, if they were directed to any main page (the same destination URL though). However, that would mean 26 times the same destination URL from within that menu. Is this approach potentially bad for SEO, hence there would be numerous duplicate destination URLs in place? Please mind, I am not inquiring for help on how to arrange the actual menu. I am concerned about the impact, identical destination URLs could have on the on-page SEO. Many thanks in advance for your help and input!
On-Page Optimization | | Hermski0 -
Looking for an SEO Expert
We're overwhelmed with client work and looking to hire an SEO professional to handle our local rankings and give us a fresh perspective. Feel free to message me privately or reply here. Thanks!
On-Page Optimization | | ScottImageWorks0 -
URL SEO: Better directory structure vs. exact keyword phrase
I am trying to understand how to best optimise a url for a page to rank high for specific keywords. Example: a top keyword search is "rental properties in new york". Question is does this keyword need to appear as this exact phrase in the url or should it be broken up into different directories for a better structure e.g.: www.abc.com/en/properties/new-york/rental OR www.abc.com/en/rental-properties-in-new-york Which will help the page rank higher (given all other things on the page are exactly the same)? Thanks!
On-Page Optimization | | MH190 -
Short URL's vs Optimised URL's
Howdy Mozzers! What are your thoughts on short URL's vs Optimised URL's. For example if a website currently sells wood furniture and wants to target the keyword "Wood Furniture For Sale", which URL would be preferable: Short URL: www.domain.com/wood-furniture Optimised URL: www.domain.com/wood-furniture-for-sale The website also uses facet navigation and selected attributes are added in a fixed order sequence after the category. For example if Cane is selected as wood type: Short URL: www.domain.com/wood-furniture/Cane Optimised URL: www.domain.com/wood-furniture-for-sale/Cane Which one do you prefer (between the short URL and optimised URL) and why? Cheers! MozAddict
On-Page Optimization | | MozAddict0 -
URL Structure
What's the best way to set up a url structure? When a user goes through the funnel should it show it in the url? Like this: domain.com/thickness/high-density/1-mil-plastic-bags (1 mil plastic bags is a subcategory - when the user is at this page they will see many products. When they select one - it brings them to a product detail page which I think should be done like this: domain.com/product-name regardless of the funnel that brought them there. Does this make sense?) or **domain.com/1-mil-plastic-bags ** Also, is there a limit of how many "/" could be used?
On-Page Optimization | | EcomLkwd0 -
Which is Best Practice for creating URLs for subdomain?
My website is related to education. We have created sub domains for all major colleges, universities & Entrance exams like Gre, Toefl ETC. for eg: amityuniversity.abc.com (Amity is Name of University ) Now if have to mention city name in URL as well (college is located in multiple locations) amityuniversity-delhi.abc.com
On-Page Optimization | | rohanarora536
amityuniversitydelhi.abc.com Now my Q is can we use hyphens in sub domains if we have to add city name or shall we create without using any hyphens. In Directory structure we can always separate words with hyphens, can we follow same practice in subdomain as well Which is a best URL for subdomain amity-university-delhi.abc.com
amityuniversity-delhi.abc.com
or amityuniversitydelhi.abc.com0 -
SSL sites and SEO
I'm seeing a lot about how SSL sites can negatively affect SEO from the analytics perspective, but if duplicate content issues are addressed and load times are OK, what else is there to worry about? Any advice is much appreciated. Thank you!
On-Page Optimization | | PerfectPitchConcepts0 -
SEO Domain Values
I always thought that there was no difference in value between a .com and .net, also that hyphens have the same value as the keyphrase without the hyphen. But I have heard Rand lately saying hyphens are spammy - whats the go? Is CarParts.com better than Car-Parts.com or Car-Parts.net etc?
On-Page Optimization | | Ventura0