When Should I Use a Canonical vs. a 301 Redirect?

 Before we dive in, we need to understand the differences between a 301 and a canonical tag.

301 Redirects:

A 301 redirect is a way of permanently moving one URL to another.

From a user perspective, they type in one URL and magically get a different one.

No content is loaded on the original URL, it just redirects to the new place.

Most ways of doing this introduce a small delay in load times, but with CDNs and caching and modern technology, it really isn’t something we need to worry about.

There’s a ton of different ways to implement a 301 redirect.

If you’re on Apache you can do them in your .htaccess file.

It’s a bit different on Windows hosting.

You can even use a scripting language to do a redirect in code, although I would prefer to do it at the .htaccess level if possible.

The various ways to do redirects are beyond the scope of this article.

Canonical Tags:

The canonical tag has been around for a long time.

It’s coming up on its 12th birthday, but SEO pros still continue to struggle with using it and non-SEO pros still struggle with pronouncing it.

The main intent behind the canonical tag is to allow the webmaster to specify the preferred URL of a page that’s similar to another page.

Think of a “print version” of a page, or a sort feature on a page.

The canonical tag can be very useful in these situations. More on that later.

A canonical tag lives in the <head> section of the website.

The canonical tag is simple:

<link href="https://example.com" rel="canonical">

I’ve seen some websites put the canonical attribute inside meta tags or other tags.

I’m not sure if that works, or why you’d want to do that, so just do it like above.

Get a Low Cost Website to Click The Link

Comments

  1. I'm  here to share my testimony of what a good trusted loan company did for me. My name is Nikita Tanya, from Russian and I’m a lovely mother of 3 kids I lost my funds on trying to get a loan it was so hard for me and my children, I went online to seek for a loan assistance  all hope was lost until one fateful day when I met this friend of mine who recently secured a loan from a very honest man Mr, Benjamin. She introduced me to this honest loan officer Mr, Benjamin  who helped me get a loan within 5 working days, I will forever be grateful to Mr Benjamin, for helping me get back on my feet again. You can contact Mr Benjamin via email: 247officedept@gmail.com    they do not know I’m doing this for them, but i just have to do it because a lot of people are out there who are in need of a loan assistance  please come to this honest man  and  you can be save as well .WhatsApp:(+1 989-394-3740)

    ReplyDelete
  2. Thanks for the always useful information. This is great information to help peoples and nice article written by writer. CnX Player is a powerful & efficient 4K ultra HD enabled video player for Windows 10 PC & Tablet, Android and iOS – iPhone & iPad.

    Download Media Player for Windows 10 - Microsoft Store
    Download Video Player for Android from Google Play
    Download Video Player for iPhone/iPad from Apple App Store

    ReplyDelete
  3. As a user's point of view, the redirects, no matter how hard they design to produce a positive effect, always are headache.
    Custom E-Commerce Development In Canada

    ReplyDelete
  4. students who are looking for online assignments help we are providing all assignments service.
    WEB Designing Services in Hyderabad

    ReplyDelete
  5. Edigital consultants is a Best digital marketing agency founded with the aim of making companies go digital. We are a team of dedicated professionals to transforming the business goals of our customers into reality. We like to communicate in a clear and concise manner, and we value an honest and open conversation at any time.

    ReplyDelete
  6. Nice and good post WebOptimise : Web Development | Web Design | Digital Marketing | SEO | SMM | PPC | e.t.c
    "ignite your online presence with WebOptimise Ignite your online presence with " WebOptimise " If you are looking for an agency to help you create a remarkable presence online, you’ve come to the right place. We can help you take your business to the next level. Find out how! Hire Us For Design Our web design team has ample years of"

    ReplyDelete

Post a Comment

Popular posts from this blog

Responsive Website Design Tips and Tricks for 2019

What is jQuery? Use of jQuery in Web Development