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
-
Home Page optimising for Office furniture online
Hi I have a full page for office-furniture-online. With a fair bit of text on it! We use visual composer for this on wordpress - but we can't get a rank for it I wondered whether as it is our key term - whether we should focus on the home page for this - but the issue we have here it the amount of text we can add to the home page without it looking silly - could we have a slide in side tab with information on or is this frowned upon?
On-Page Optimization | | KellyDSD860 -
Canonicals
I dynamically generated pages using rewrite functions in wordpress (new-york, san-diego, san-francisco). All these pages look the same but with different content. yoast (seo wordpress plugin) was unaware of this and set canonicals up relating to the wordpress page used as the template page for the dynamic pages (City_home_page). so all these pages had the canonical https://dinnerdancecruises.com/City_Home_Page. using search console, i saw google indexed my site, looked at all these dynamically created pages (which is about 30 pages) and took them all in as duplicate pages. this happen sometime in april or may. I fixed this problem and set unique canonicals up for each dynamically created page. but now google is not crawling them for some reason. im not sure why its been months and these pages are not indexed. i thought to myself is it because these links end up on multiple pages? sort of like having "terms of agreement" link at the footer. every single page has that terms of agreement link. does google look at those links as duplicates and not index the page at all. this is where my issue lies. i need google to crawl regularly and see those pages with their new, unique canonicals and re-index them correctly. but it seems to save cpu resources, google feels once a thief always a thief. i could be wrong but this is why i need your suggestion. thank you.
On-Page Optimization | | bobperez7360950 -
What is the best tag to use for your Logo ?
Hi, I'm wondering what is the best tag to use on your logo. We're currently using h1 and i want to scrap that ASAP.
On-Page Optimization | | Alex.harvey.Cortex0 -
Search Pages outranking Product Pages
A lot of the results seen in the search engines for our site are pages from our search results on our site, i.e. Widgets | Search Results This has happened over time and wasn't intentional, but in many cases we see our search results pages appearing over our actual product pages in search, which isn't ideal. Simply blocking indexing of these pages via robots wouldn't be ideal, at least all at once as we would have that period of time where those Search Results pages would be offline and our product pages would still be at the back of ranking. Any ideas on a strategy to replace these Search Results with the actual products in a way that won't hurt us too bad during the transition? Or a way to make the actual product pages rank above the search results? Currently, it is often the opposite. Thanks! Craig
On-Page Optimization | | TheCraig0 -
How do I get rid of duplicate page titles when using a php site?
Hi. I have an e-commerce site that sells a list of products. The list is divided into categories and then those categories for the various pages on the site. An example of a page title. would be given root/products.php?c=40 another page would be given root/products.php?c=41 Is there a way to structure the site with SEO in mind?
On-Page Optimization | | curtisgibbsiii0 -
Canonical tag for home page
This question was asked before but I didn't see a clear answer to it. If I've got a site that has as it's home page: http://www.mysite.com/, and there are many references within the site back to the home page that point to /index.php, should I include a canonical tag in the index.php page like this: to avoid a duplicate content issue, and to have all juice from both links combined into one?
On-Page Optimization | | wcksmith0 -
Why home page ranks higher than keyword-optimized page
We have a page that is optimized for the keyword "job scheduling". A search on the keyword "job scheduling" results in this page not ranking at all, while our home page (uc4.com) ranks third. Could you provide some ideas/suggestions as to why this would be the case and how to make our job scheduling page rank higher? Thanks, claudia
On-Page Optimization | | claudmar0 -
Social media links/buttons - best practices
Has anyone tested social media buttons, to see which types, styles, and placements get the most clicks? Should they go at the top of an article, or are they OK at the bottom? Should the icons definitely have labels? Display # of tweets and Likes? How big should they be? My preference is for discrete buttons with a smallish, plain icon and a label. I don't display tweets or Likes, unless it's a healthy number. And I still think a "share by email" icon is important. I put them at the bottom of the article, to keep the home page uncluttered and lead the eye into reading the article. I'm also concerned about leaking rank from the homepage, especially for a site that's still establishing itself. But if moving buttons to the top gets more shares, that's probably better. Is there a Wordpress plugin that you really like? (I haven't found one yet - I'm still hardcoding my social media buttons.) Opinions are great, but test results are better! Can anyone share?
On-Page Optimization | | mattotoole1