How do I get this program to see url with www. and with out www the same
-
The program is showing pages with www. as a differant page from a page with out the www. first, this is showing up as duplicate pages when they are the same page, how do I filter this?
-
Thank you for such a quick responce. you answered more then you know with this answer, I also had problems with URLs that I capitalized in the past and did not know how to fix it. Now I know
Thank you
-
You don't want to filter it! Instead you want to work out why it's doing that, and then fix it. This is going to be done by adding a rel="canonical" link for starters, and then also 301 redirecting the non-WWW to the WWW or vice versa.
You do NOT want Google to see duplicate content, you want all roads to lead to the one.
Therefore look into htaccess 301 redirection (for Apache) or similar.
SEOMoz has a bunch of info about duplication and redirection:
The latter is extremely extremely important for SEO. Duplicate content is bad, and at the moment all of your content has the potential for duplication so you want to ensure that there's only one version of everything.
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
-
Does changing/shortening a url hurt SEO?
Hi all, I am in the process of making small optimization changes to my site. I noticed Moz identified quite a few URLs that could be shortened. I intend to shorten these URLs and create 301 redirects to ensure website users land on the right page. My question is, will this change in URL damage rankings and engagement(assuming the URL remains content relevant)? I have read in some places that when creating URL redirects for a change in domain, people saw a dip in rankings and engagement. I, however, am not intending to change the main domain of the site, but rather the URL slug. Any thoughts?
On-Page Optimization | | annegretwidmer0 -
My home page URL http://seadwellers.com/ redirects to http://www.seadwellers.com/. Is this a problem?
"The URL http://seadwellers.com/ redirects to http://www.seadwellers.com/. Do you want to crawl http://www.seadwellers.com/ instead?" I was given this when I tried to crawl my home page using MOZ software. I was not aware of this, do not know if it could be a problem concerning any aspect of SEO, etc? :
On-Page Optimization | | sdwellers0 -
How Do I Get Rel=Author to Work Via Wordpress SEO by Yoast?
I have read Yoast's tutorial and others on how to get rel=author to work properly on my site (http://injuryattorneyshouston.com). Here are the results I get from the Google Structured Data Testing Tool: "Authorship is working for this webpage." "rel=author markup has successfully established authorship for this webpage." "Publisher markup is verified for this page." All seems well except for this: hatom-feed | hatom-entry: | |
On-Page Optimization | | cbizzle
| Error: At least one field must be set for HatomEntry.Error: Missing required field "entry-title".Error: Missing required field "updated".Error: Missing required hCard "author". |
| Error: At least one field must be set for HatomEntry.Error: Missing required field "entry-title".Error: Missing required field "updated".Error: Missing required hCard "author". | Does anyone know how to fix this?0 -
www vs no-www duplicate which should I use
site is no-www I caught this in archives. Will this by my fix? Mike Davis Online Marketing Manager at McKesson May 22, 2013 Easy fix: in your .htaccess file, use this RewriteEngine On
On-Page Optimization | | touristips
RewriteCond %{HTTP_HOST} !^domain.com
RewriteRule (.*) http://domain.com/$1 [R=301,L] Remember to replace domain.com with your domain name.
Enjoy!0 -
Changing to Friendly SEO Urls
This is my site, example of a product : [Link removed] Would I lose rank in Google for changing all to friendly SEO urls? Thank you
On-Page Optimization | | 7liberty0 -
With or without the "www." ?
Is there any benefit whatsoever to having the www. in the URL? My domain is quite long therefore I've not been using the www. however a few people have mentioned it's good practice to include it. The www. forwards to the main URL (non www.) and I've set my preferred domain name in webmaster tools to the non www. so I'm thinking that should all be ok. Just hoping I could get some of the experts views to make sure this is all ok. The site is a year old and I'm just starting to really get going on the link building so it's not too late to change if I'm wrong. If others link to my site and include the www. will the link juice be passed, as I suspect many will include it without any thought?
On-Page Optimization | | Optimise0 -
Necessary to redirect non-www to www?
Hello All, I've read quite a bit on here and the Matt Cutts blog http://mattcutts.com/blog/seo-advice-url-canonicalization/ about non-www vs www. I''ve also read a few recent posts on here but still left a little confused. First, my site is PR 4. We don't have many links, but the ones we do have (including internal) point to the www.example.com. You can also get to our site by typing example.com and it will not switch to the www. version. Both versions have the PR4, I just want to make sure I'm not losing any PR or juice between the different versions. My question, would you advise 301 redirect to the www version? if so, I have Godaddy as our host, is it as simple as going into the hosting control and doing the redirect there?
On-Page Optimization | | someoneguy0 -
Using AJAX to get a meta description to show up
We're unhappy with the meta descriptions google is picking up for our links in SERPs so have started using AJAX to stream in the content google was previously picking up for meta descriptions. This worked and it doesn't seem to have impacted traffic coming to our site, however since the day of that change our bounce rates have gone up significantly, even for pages that we did not push this change to. Is it possible that doing this caused Google to treat our site differently site wide? Is there anything we should be cautious of when doing this? I know the bounce rates could be impacted by users being better prepared by the google meta descriptions, however it doesn't explain what's happening to parts of our site that we didn't do anything to. -Billy
On-Page Optimization | | RealSelf0