Is it redundant to include a redirect to my canonical domain (www) in my .htaccess file since I already have the correct rel="canonical" in my header?
-
I've been reading the benefits of each practice, but not found anyone mentioning whether it's really necessary to do both? Personally I try to stay clear of .htaccess rewrites unless it's absolutely necessary, since because I've read they can slow down a website.
-
I'd like to just add that a 301 redirect passes the same amount of page rank as a regular link would.
Pretty much there's no reason not to use a 301 in your htaccess. Go for it!
-
It would take a helluva lot of .htaccess rules to noticeably slow down a site, HOP. (We're talking many hundreds at least, if not more.)
The 301 redirect is a vastly stronger signal to the search engines than the canonical - which even Google says is treated as a "suggestion" not a directive.
The other huge benefit of the 301 is it standardises the URL all visitors will see in their address bar, so when they copy/paste to create a link (for example) they're always getting the canonical version.
Even though it's now considered that a 301 doesn't lose much juice (at least in Google, no word from Bing), I still much prefer that as many of my visitors are linking directly to the canonical version as possible. This is vastly more likely with the 301 consolidating the address that is visible.
So to me, using the 301 is essential. Adding the canonical is proactive to deal with other possibilities like unexpected variables getting added by outside sources for example, or even just Analytics utm tracking tags.
Make sense?
Paul
-
No it is not redundant as they are essentially two different things. You absolutely need to do redirect in htaccess via 301.
Canonical tags are used for duplicate content, not redirection. Google does not consider the canonical tag a directive but instead choose it to be a "helpful hint." If you have two pages at entirely different URLs with the majority of the content identical, that is when you need that Canonical tag.
For non-www to www issues, you really need to use a 301 redirect. Don't feel nervous about doing so. Every site does. Or at least, every site worth a darn does.
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
-
How to deal with rel=canonical when using POST parameters
Hi there,
On-Page Optimization | | mjk26
I currently have a number of URLs throughout my site of the form: https://www.concerthotels.com/venue-hotels/o2-academy-islington-hotels/256133#checkin_4-21-2024&checkout_4-22-2024&rooms_1&guests_2&artistid_15878:256133 This sends the user through to a page showing hotels near the O2 Academy Islington. Once the page loads, my code looks at the parameters specified in the # part of the URL, and uses them to fill in a form, before submitting the form as a POST. This basically reloads the page, but checks the availability of the hotels first, and therefore returns slightly different content to the "canonical" version of this page (which simply lists the hotels before any availability checks done). Until now, I've marked the page that has had availability checks as noindex,follow. But because the form was submitted with POST parameters, the URL looks exactly like the canonical one. So the two URLs are identical, but due to POST parameters, the content is slightly different. Does that make sense? My question is, should both versions of this page be marked as index,follow? Thanks
Mike0 -
My target keyword is "moringa powder" but my product title is "moringa ultimate original powder". Is this a problem?
The focus keyword is "moringa powder". The product title and default H1 tag is "moringa ultimate original powder". The url also has "moringa ultimate original powder". Yoast is saying the keyword does not appear in the url or any subheadings. So should I change the product title and url to Original Ultimate moringa powder or is having them separated ok? https://greenvirginproducts.com/product/moringa/150-gram-moringa-ultimate-original-powder/ Thanks
On-Page Optimization | | Jeremy-Marion0 -
Multiple domains for the same business
My client purchased over 500 URLs for targeting various customers and ranking for different keywords. It is for the same business though. What is the best strategy to deal with this kind of approach in your opinion. They use different meta data for each of the URLs starting with brand name in meta title. Are there any other points to keep in mind when developing strategy for all those URLs. Is this a good approach?
On-Page Optimization | | alicaomisem1 -
Massive 301 Permanant Redirects
Hello, First thing first, I am not moving my website to new domain neither changing my hosting. I just want to change internal page URLs to make them user and search engine friendly, URLs of categories and URLs of category filers. What I am talking about is massive 301 redirection. There are some pages which have backlinks and I have no doubt about using 301-permanant redirection for those pages. But as far as the category filter pages are concerned there are no backlinks for those pages, but yes they do have some authority. My website is 2months old. Now I want to know that Does massive redirection effects the website authority? Or avoid using permanent redirection for all pages instead use only for those pages which have back-links and avoid using for category filter pages. http://www.artorca.com/
On-Page Optimization | | MozAddict0 -
How do I address "Critical Factors: Accessible to Engines"?
Hello,I am going thru the on-page report card produced by SEOMOZ and am stumped as to how to address the first critical factor. It looks like the correct meta tag to get search engines to index the site is at the bottom of the header. And as far as I know, which isn't much, the site returns the HTTP code 200 when I refresh.I am new at this, so please let me know if you have some specific solutions. I am using IWeb and the IWeb SEO Tool to make meta code improvements. I have pasted the head code for my website (www.grass2greens.com) below. Thanks in advance!<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"><meta content="iWeb 3.0.4" name="Generator"><meta content="local-build-20120619" name="iWeb-Build"><meta content="IE=EmulateIE7" http-equiv="X-UA-Compatible"><meta content="width=880" name="viewport"><title>Grass to Greens: Asheville Edible Landscapingtitle><link href="Grass_to_Greens__Asheville_Edible_Landscaping_files/Grass_to_Greens__Asheville_Edible_Landscaping.css" media="screen,print" type="text/css" rel="stylesheet"><style type="text/css"><script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"><script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"><script src="Scripts/iWebSite.js" type="text/javascript"><script src="Scripts/iWebImage.js" type="text/javascript"><script src="Scripts/iWebMediaGrid.js" type="text/javascript"><script src="Scripts/Widgets/SharedResources/WidgetCommon.js" type="text/javascript"><script src="Scripts/Widgets/HTMLRegion/Paste.js" type="text/javascript"><script src="Grass_to_Greens__Asheville_Edible_Landscaping_files/Grass_to_Greens__Asheville_Edible_Landscaping.js" type="text/javascript"><script type="text/javascript"><meta content="Grass to Greens offers a range of edible landscape design, consultation, installation, and maintenance services. Free Consultations! We specialize in beautiful and useful vegetable gardens, season extension, tree work, orchards and food forests, stone work, fencing, and rain water catchment. Grass to Greens is an edible landscaping company committed to creating food security and fostering social justice through urban agriculture in the Asheville area. " name="description"><meta content="Landscaping Asheville Edible Gardens" name="keywords"><meta content="follow,index" name="robots"><link rel="stylesheet" type="text/css" href="Grass_to_Greens__Asheville_Edible_Landscaping_files/Grass_to_Greens__Asheville_Edible_LandscapingMoz.css">head> Grass to Greens: Asheville Edible Landscaping
On-Page Optimization | | dcaudio0 -
How Pandas Define "Thin" content
Many websites like www.geico.com have little content on the homepage, but instead a ton of graphics. I've been told before to watch out for pages/posts less than 200 words, but 95% of websites have "main pages" that are graphically driven and have very very few words. So, if Panda is cracking down on thin content, how does Panda define "thin" with regards to major pages of a site? Thanks!
On-Page Optimization | | terran0 -
301 redirect and then keywords in URL
Hi, Matt Cutts says that 301 redirects, including the ones on internal pages, causes the loss of a little bit of link juice. But also, I know that keywords in the URL are very important. On our site, we've got unoptimized URLs (few keywords) in the internal pages. Is it worth doing a 301 redirect in order to optimize the URLs for each main page. 301 redirects are the only way we can do it on our premade cart For example (just an example) say our main (1 of the 4) keywords for the page is "brown shoes". I'm wondering if I should redirect something like shoes.com/shoecolors.html to shoes.com/brown-shoes.html In other words, with the loss of juice would we come out ahead? In what instances would we come out ahead?
On-Page Optimization | | BobGW0 -
SEO Domain Values
I always thought that there was no difference in value between a .com and .net, also that hyphens have the same value as the keyphrase without the hyphen. But I have heard Rand lately saying hyphens are spammy - whats the go? Is CarParts.com better than Car-Parts.com or Car-Parts.net etc?
On-Page Optimization | | Ventura0