Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Save big on Moz Pro!
      Limited time offer

      Save big on Moz Pro!

      See pricing
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      Access the Moz API for less
      Save on Moz Data

      Access the Moz API for less

      Hurry - ends Dec 6th!
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Save 20% on all Moz Academy courses
      Limited time offer

      Save 20% on all Moz Academy courses

      Level up your SEO
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Explore Moz updates & save up to 40%
      Big Savings!

      Explore Moz updates & save up to 40%

      See the latest
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Technical SEO
    4. Understanding Redirects and Canonical Tags in SEO: A Complex Case

    Understanding Redirects and Canonical Tags in SEO: A Complex Case

    Technical SEO
    technical seo canonical redirects seo link building
    2
    2
    126
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • chueneke
      chueneke Subscriber last edited by

      Hi everyone,

      nothing serious here, i'm just playing around doing my experiments 🙂
      but if any1 of you guys understand this chaos and what was the issue here, i'd appreciate if you try to explain it to me.

      I had a page "Linkaufbau" on my website at https://chriseo.de/linkaufbau.

      My .htaccess file contains only basic SEO stuff:

      # removed ".html" using htaccess
      RewriteCond %{THE_REQUEST} ^GET\ (.*)\.html\ HTTP
      RewriteRule (.*)\.html$ $1 [R=301,L]
      
      # internally added .html if necessary
      RewriteCond %{REQUEST_FILENAME}.html -f
      RewriteCond %{REQUEST_URI} !/$
      RewriteRule (.*) $1\.html [L]
      
      # removed "index" from directory index pages
      RewriteRule (.*)/index$ $1/ [R=301,L]
      
      # removed trailing "/" if not a directory
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} /$
      RewriteRule (.*)/ $1 [R=301,L]
      
      # Here’s the first redirect:
      RedirectPermanent /index /
      

      My first three questions:

      Why do I need this rule?
      Why must this rule be at the top?
      Why isn't this handled by mod_rewrite?
      

      Now to the interesting part:

      I moved the Linkaufbau page to the SEO folder: https://chriseo.de/seo/linkaufbau and set up the redirect accordingly:

      RedirectPermanent /linkaufbau /seo/linkaufbau.html
      

      I deleted the old /linkaufbau page.

      I requested indexing for /seo/linkaufbau in the Google Search Console. Once the page was indexed, I set a canonical to the old URL:

      <link rel="canonical" href="https://chriseo.de/linkaufbau">
      
      • Then I resubmitted the sitemap and requested indexing for /seo/linkaufbau again, even though it was already indexed.
      • Due to the canonical tag, the page quickly disappeared.
      • I then requested indexing for /linkaufbau and /linkaufbau.html in GSC (the old, deleted page).

      After two days, both URLs were back in the serps::

      https://chriseo.de/linkaufbau
      https://chriseo.de/linkaufbau.html
      

      this is the new page /seo/linkaufbau
      b14ee095-5c03-40d5-b7fc-57d47cf66e3b-grafik.png

      This is the old page /linkaufbau
      242d5bfd-af7c-4bed-9887-c12a29837d77-grafik.png

      Both URLs are now in the search results and all rankings are significantly better than before for keywords like:

      organic linkbuilding
      linkaufbau kosten
      linkaufbau service
      natĂĽrlicher linkaufbau
      hochwertiger linkaufbau
      organische backlinks
      linkaufbau strategie
      linkaufbau agentur
      

      Interestingly, both URLs (with and without .html) redirect to the new URL https://chriseo.de/seo/linkaufbau, which in turn has a canonical pointing to https://chriseo.de/linkaufbau (without .html).

      In the SERPs, when https://chriseo.de/linkaufbau is shown, my new, updated snippet is displayed. When /linkaufbau.html is shown, it displays the old, deleted page that had already disappeared from the index.

      I have now removed the canonical tag.

      I don't fully understand the process of what happened and why. If anyone has any ideas, I would be very grateful.

      Best regards,
      Chris

      1 Reply Last reply Reply Quote 0
      • Farhana786
        Farhana786 last edited by

        When you move a web page from one URL to another, you use redirects to ensure that users and search engines are directed to the new URL. 301 is a permanent redirect. It tells search engines that the page has permanently moved to a new location. 302 is a temporary redirect. It tells search engines that the move is only temporary, so they should keep the original page indexed. Meta Refresh is a type of redirect that happens on the page level. It's not as SEO-friendly as server-side redirects because it doesn't pass the same level of link equity. Canonical tags are HTML elements that help prevent duplicate content issues by specifying the preferred version of a web page.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post

        Got a burning SEO question?

        Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


        Start my free trial


        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.

        • See all categories

        Related Questions

        • kenhaa5

          what Due to terms of use violation, your account has been suspended by Akismet Anti-Spam Plugin ?

          link building link explorr link building whitehat linking domains link explorer

          I have seen many, built links but after three days it says "Due to terms of use violation, your account has been suspended by Akismet Anti-Spam Plugin".
          What is the solution?
          If anyone knows, tell me.
          I am in a lot of problems, why this problem? Below is the screenshot
          Screenshot_6.png What is the solution?

          Link Building | | kenhaa5
          0
        • fbcosta

          How to index e-commerce marketplace product pages

          technical seo ecommerce indexation crawl product page

          Hello! We are an online marketplace that submitted our sitemap through Google Search Console 2 weeks ago. Although the sitemap has been submitted successfully, out of ~10000 links (we have ~10000 product pages), we only have 25 that have been indexed. I've attached images of the reasons given for not indexing the platform. gsc-dashboard-1 gsc-dashboard-2 How would we go about fixing this?

          Technical SEO | | fbcosta
          0
        • jordanchris

          SEO question about lots of outbound links

          link building

          I'm considering adding a directory page to one of my websites that lists local groups from all around the world. I haven't kept up with SEO in a long time, but I recall (many) years ago that having a lot of outgoing links and very few (if any) inbound connections was a terrible thing. Is this still the case, or have search engine algorithms figured out that this can be beneficial to site visitors? What effect will adding a page like this have on my SEO?

          Link Building | | jordanchris
          0
        • Russell-Gorilla

          my site has 17.5m Total links according to Moz (16.6m internal follow & 840k no follow) i think i have a problem...

          help canonical

          We are hosted by visual soft and it is a proprietory platform so we dont have full control of our site.
          in comparison, 3 of our main competitors, two of which are way way bigger than us have 1.4m & 4.7m - another one still probably double or perhaps triple our size is @ 2.5m Should i worry?
          Should i post my website url on here?
          I would like to start working on canonical links on my site but not sure where to start, does moz pro have some sort of check or rating, i have no idea if even the basics mentioned in the tutorials have been done....
          Russell

          On-Page Optimization | | Russell-Gorilla
          0
        • ShockoeCommerce

          H1 Tags the same as Title Tags and other meta questions

          I run an ecom store that has about 800 live products. When everything got set up, no one set up the title tags correctly. So I am going through to update them in bulk. What I was going to do was to take the product name (which serves as the H1 tag), use that with a postfix | CompanyName. If length is an issue I trim it down. But the question is, will having essentially duplicate information in here be an issue? Also, when someone was setting up meta descriptions, they often used basically the product name or a half sentence. Would it be better to remove the descriptions and allow google to decide? I even had some that were literally just the brand name of the product, which I already removed.

          Technical SEO | | ShockoeCommerce
          0
        • AdrienLargus

          Invert canonicals?

          Hi, We have 2 sites, site A and site B. For now, some of our articles are duplicated on site B with rel canonicals towards site A. Starting now, Site B will be the main site for this category, we'll only post the content on this site. We will keep the old content on site A. But what do you think will happen if we invert the canonicals for the old articles? They would go towards site B. Would google eventually update its index, a bit like it would do for a redirect? Thanks !

          Technical SEO | | AdrienLargus
          0
        • iskq

          Noindex meta tag

          Hi When following Webmaster Tools/Optimization/HTML Improvements it says that we have duplicate title tags and duplicate meta descriptions for hundreds of pages, As corrective action we have added to those pages and also changed title tags to make sure that they are different but still Webmaster keeps reporting that the duplication exist. Is it possible that google bot doesn't see our noindex code while crawling? By the way our seomoz report says that there is no duplicate title tag or meta description on our site google has crawled our site today and we received our report from seomoz today thanks

          Technical SEO | | iskq
          0
        • incandescent

          What is SEO impact of redirecting from domain to https appspot domain ?

          Our site is hosted on google and is fully https. But since google's limitation is that all https needs to be on the appspot domain, we are redirecting users from our website to the appspot domain. What is the impact of this on SEO?

          Technical SEO | | incandescent
          0
        Moz logo
        • Contact
        • Community
        • Free Trial
        • Terms & Privacy
        • Accessibility
        • Jobs
        • Help
        • What's New
        • News & Press
        • MozCon
        © 2021 - 2024 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.

        Looks like your connection to Moz was lost, please wait while we try to reconnect.