What is the best use of canonical ref on home (default/index) page?
-
Moz reports show duplicate content for my www.domain.com and www.domain.com/default.html
How do I format the canonical ref to put on the default.html page?
-
In case you still have any doubt about it, I have searched for a link to complement the information of the other users:
https://yoast.com/rel-canonical/
I hope it helps you
-
Hi there,
You will want to inject this tag into the section of http://www.domain.com/default.html
(or https://www. if your site is secure).
Additionally, you can 301 redirect www.domain.com/default.html to www.domain.com/ and that will also resolve the issue.
Hope that helps!
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
-
Does Google use 302's to pass value to the target page?
Hi, I've received the below advice, is this correct? Throughout the site, the 302 (moved temporarily) status code is used for redirects, which Google will use to pass value to the target page. Is this correct? I was under the impression a 301 was used to pass value to the target page? Could someone explain the difference between a 301 and a 302, I'm not 100% sure. Thanks, Nathan
On-Page Optimization | | Heehaw0 -
Category page canonical tag
I know this question has been asked a few times on here but I'm looking for very specific advice. Currently when you go to a category, say http://www.bronterose.co.uk/range.html, a canonical tag is added to the head of the page. There are plenty of "variant" pages which carry the same tag, for example: /range.html?p=2
On-Page Optimization | | crichardson9
/range.html?p=3
/range.html?dir=asc&order=price
/range.html?dir=asc&limit=all&order=price Is it wise to push the "link juice" for each of these variant pages to the top level page? Or should each variant page have its own unique canonical tag? After reading many blog posts, guides and papers I'm truly confused! Any general guidance or recommendations would be much appreciated. Chris.1 -
Using phrases like 'NO 1' or 'Best' int he title tag
Hi All, Quick question - is it illegal, against any rule etc to use phrases such as 'The No 1 rest of the title tag | Brand Name' on a site?
On-Page Optimization | | Webrevolve0 -
How would you target alternative names for your product with the use of internal/landing pages?
Recently, there has been some new industry names that have emerged for the type of software we provide and we want to make sure that we rank for those terms (of course!). The 3 names combined are too long for a title tag and would look odd to incl all 3 in the homepage. Any suggestions (or examples) of how this could done without looking spammy? I also don't really know where to put this within our website. e.g. enterprise portal, enterprise information portal (EIP) or corporate portal Any suggestions would be most welcome
On-Page Optimization | | alexpeps0 -
Does Google index dynamically generated content/headers, etc.?
To avoid dupe content, we are moving away from a model where we have 30,000 pages, each with a separate URL that looks like /prices/<product-name>/<city><state>, often with dupe content because the product overlaps from city to city, and it's hard to keep 30,000 pages unique, where sometimes the only distinction is the price & the city/state.</state></city></product-name> We are moving to a model with around 300 unique pages, where some of the info that used to be in the url will move to the page itself (headers, etc.) to cut down on dupe content on those unique 300 pages. My question is this. If we have 300 unique-content pages with unique URL's, and we then put some dynamic info (year, city, state) into the page itself, will Google index this dynamic content? The question behind this one is, how do we continue to rank for searches for that product in the city-state being searched without having that info in the URL? Any best practices we should know about?
On-Page Optimization | | editabletext0 -
Dealing with thin content/95% duplicate content - canonical vs 301 vs noindex
My client's got 14 physical locations around the country but has a webpage for each "service area" they operate in. They have a Croydon location. But a separate page for London, Croydon, Essex, Luton, Stevenage and many other places (areas near Croydon) that the Croydon location serves. Each of these pages is a near duplicate of the Croydon page with the word Croydon swapped for the area. I'm told this was a SEO tactic circa 2001. Obviously this is an issue. So the question - should I 301 redirect each of the links to the Croydon page? Or (what I believe to be the best answer) set a rel=canonical tag on the duplicate pages). Creating "real and meaningful content" on each page isn't quite an option, sorry!
On-Page Optimization | | JamesFx0 -
URL best practices, use folders or not ?
Hi I have a question about URLs. Client have all URL written after domain and have only one / slash in all URLs. Is this best practice or i need to use categories,folders? Thanks
On-Page Optimization | | 77Agency0 -
Keyword placement on home page or throughout the website
OK, I find the courage to ask this because there is not supposed to be a dumb question. Like all of us, I want my website to rank great with a particular keyword. Do I have to use this keyword only on my home page (the start page which I want to appear on top Google results), or does it make a difference if I use the keyword on several articles that I post on my website. These articles all have seperate links. Eg i want the www.website.com to be found by Google, but this website contains www.website.com/link1.html, www.website.com/link2.html.. etc. Will keyword usage on link1.html, link2.html etc be relevant so that www.website.com is found by Google? Or is every single page for itself? Hope I have explained that well and I would really appreciate your feedback.
On-Page Optimization | | polyniki0