301 redirects and the rel=canonical attribute

September 14, 2018

When should you use 301 redirects on your website? When is the rel=canonical attribute the better solution? This week’s article helps you to find the right solution for your situation.

google-redirect Theme Builder Layout

What is a 301 redirect?

A 301 redirect is a server-side redirect that shows search engines that your page has moved to a new URL. 301 redirects pass nearly all of the link power of the old URL to the new URL. In general, 301 redirects are the best way to direct Google and other search engines to the correct page.

When should you use 301 redirects?

301 redirects are the best solution if you’re moving your website to a new domain or if you’re changing the URL structure of your web pages. Search engines and users won’t see the old URLs of your website then.

You should also use 301 redirects to make sure that search engines index only the www. (or the non-www.) version of your website.

What is the rel=canonical attribute?

The rel=’canonical’ attribute is an HTML element that enables webmasters to prevent duplicate content issues by specifying the “canonical”, or “preferred”, version of a web page.

For example, the same web page could be available in a web version and a print version. By using the rel=’canonical’ attribute in the print version, you show search engines that the web version is the version that should be found in the search results.

  • A link tag with the rel=canonical attribute looks like this:
  • <link rel=”canonical” href=”https://hostutopia.com/” />
  • The tag must be inserted in the head section of a web page.

When should you use the rel=canonical attribute?

  • The canonical attribute is useful if your website creates dynamic URLs with every visit. For example, your URLs might contain tracking variables or visitor information:
  • www.example.com/page.htm?visitor=12345&ad=big&print=yes
  • The canonical attribute shows search engines that the pages with the different variables are the same and that they shouldn’t count as duplicate content.
  • The canonical tag is only a suggestion. Google sees rel=canonical as a hint, but not as an absolute directive like a 301 redirect.

Next week we’re hoping to discuss the power of the No Index tag, and how this can drastically help the indexing of your website.

Share this article:
 

eHost-square-ad Theme Builder Layout

We’re listening.

Have something to say about this article? Share it with us on Facebook, Twitter or LinkedIn:

SHARE IT HERE:

Related Posts

the-top-2019-scams Theme Builder Layout

The Top 2019 Scams

There were a handful of 2019 scams that affected many consumers. It is the best time of the year. No, not because of the holidays, shopping, travel or food. It is time for the end-of-the-year “best of” lists. Unfortunately, not all of the lists are fun or encouraging....

our-holiday-shopping-tips-to-keep-you-cybersafe Theme Builder Layout

Our Holiday Shopping Tips to Keep You Cybersafe

The holidays are almost here, and for many people that means shopping. Unfortunately, scammers and hackers are already standing by to take advantage of consumers through data breaches and fraudulent activity, increasing the importance of holiday shopping safety....

Get ALL Your SEO, WordPress & Divi News

Join Our Daily Roundup

SEO News and More

SEO News and More

Subscribe ToThe Weekly SEO Trade News Updates

Get the latest SEO, SEM and SMM marketing intel, tips and tricks from one of the best SEO Gurus online. 

Every Tuesday morning we send out an aggregated email listing all new posts on SEO Trade News.

Excellent! Now check your email to confirm your subscription.