Why do I have few different index URL addresses?
-
Yes I know, sorry guys but I also have a problem with duplicate pages. It shows that almost every page of my site has a duplicate content issue and looking at my folders in the server, I don't see all these pages... This is a static Website with no shopping cart or anything fancy. The first on the list is my [index] page and this is giving me a hint about some sort of bad settings on my end with the SEOMOZ crawler???
Please advice and thank you!
-
Cool Man! Let me work on this and I will keep you update. Don't forget to let me know whenever you're in San Diego, CA... You deserve a cold beer or something
-
Yes, that is the main URL you should use, based off of standard practice.
Correct, that code should be set up perfect for your situation, and should decrease any other duplicate content errors down by at least 50%
Message me if you have any issues implementing the code
-
Thanks Casey.
So, to make clear, when I find my website online and copy/paste the URL I get This:
Is this the main address to redirect to? If yes, I don't need to edit any of this code that you did for me right? That was really nice of you not just answering my question but providing the code... Appreciate it.
Do you believe this is the cause of my duplicated pages errors?
-
First, you will need to redirect non-www URL to the www URL (or vise versa, thats up to you).
Second, you will want to redirect index.htm to the root.
You can fix the problem with a htaccess rewrite. Create a file named ".htaccess" and paste in the following code, then upload it to the root of your website.
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^cssyes.com [nc]
rewriterule ^(.*)$ http://www.cssyes.com/$1 [r=301,nc]
RewriteCond %{THE_REQUEST} ^.*/index.htm
RewriteRule ^(.*)index.htm$ http://www.cssyes.com/$1 [R=301,L]
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
-
Strange - Search Console page indexing "../Detected" as 404
Anyone seen this lately? All of a sudden Google Search Console is insisting in Page indexing that there is a 404 for a page that has never existed on our client's site: https://........com.au/Detected We've noticed this across a number of sites, precisely in this way with a capitalised "/Detected" To me it looks like something spammy is being submitted to the SERPs (somehow) and Google is trying to index that and then getting a 404. Naturally MOZ isn't picking it up, cause the page simply never existed - it's just happening in Search Console 2afc7e35-71e4-4e25-80a3-690bf10776a7.png It comes and it goes in the 404 alerts in Console and is really annoying. I reckon it started happening late 2022.
Reporting & Analytics | | DanielDL0 -
Is it possible to set up one of the Goal Conversions on Google Analytics for a different site?
We are in the process of a website migration and need to set up the conversions for the new site. What is the most effective way of doing this?
Reporting & Analytics | | Sable_Group0 -
We have a client that wants to apply UTM URL tagging to track local organic traffic in Google Analytics. Is there any benefit in doing this?
One of our clients requested that we apply UTM URL tagging to better track organic traffic in Google Analytics. We found this to be an odd request because we are most familiar with UTM tracking for special campaigns (referral tracking, PPC, email tracking, etc). Is there any benefit of applying UTM tags to urls to analyze local organic traffic in Google Analytics? Are there any resources out there about this? Thanks!
Reporting & Analytics | | RosemaryB0 -
Google Analytics: Different stats for date range vs single month?
I've been scratching my head, chin, and you name it over this one. I have an advanced segment to remove bot traffic from my data. When I look at the Audience Overview data for a single month (let's say Aug). I am shown a session count. No problems here, however If I set the date range to (January - August). The august monthly stats is incorrect, much lower. What this means is that, if I export a CSV report from Jan-Aug, the data is wrong compared to individually recording a month. Anyone faced this? I've asked the question over at the Google Analytics technical section as well, but no answer P.S I even used the 'control the number of sessions used to calculate this report' tool but no luck.
Reporting & Analytics | | Bio-RadAbs0 -
Has anybody else had unusual /feed crawl errors in GWT on normal url's?
I'm getting crawl error notifications in Google Webmaster tools for pages that do not exist on my sites?! Basically normal URL's with /feed on the end.. http://jobs-transport.co.uk/submit/feed/ http://jobs-transport.co.uk/login/feed Has any body else experienced this problem? I have no idea why this is happening. Simon
Reporting & Analytics | | simmo2350 -
Switch to www from non www preference negatively hit # pages indexed
I have a client whose site did not use the www preference but rather the non www form of the url. We were having trouble seeing some high quality inlinks and I wondered if the redirect to the non www site from the links was making it hard for us to track. After some reading, it seemed we should be using the www version for better SEO anyway so I made a change on Monday but had a major hit to the number of pages being indexed by Thursday. Freaking me out mildly. What are people's thoughts? I think I should roll back the www change asap - or am I jumping the gun?
Reporting & Analytics | | BrigitteMN0 -
Find out who mentioned my URL on Facebook
I am seeing a big spike in traffic coming from Facebook. The referrer looks like this (at least sometimes, mostly it is just https://m.facebook.com or http://www.facebook.com/😞 http://www.facebook.com/l.php?u=http%3A%2F%2Fwww.terminretter.de%2F&h=rAQGSwECjAQGiZFaVEkz7U2od1RNFVtxhVQNG__EujSznUw&s=1 Is there a way to know who shared my URL on facebook?
Reporting & Analytics | | cengelhardt0 -
URL ending with ?cpc=1
Hi, In the analytics data (SEO - Landing Sites) on a site I just started working with - 2 different url's show up (when I filter the results): /example**.asp** /example**.asp?cpc=1** The first recieves 2/3 of the visits (among these 2 pages) and the other recieves 1/3 of the visits (among these 2 pages). The second (/example.asp?cpc=1) is apparently getting the clicks from Adwords, since it isn't indexed by Google.. Can someone explain me: 1) why the cms is producing this kind of double landing page? is it possible to avoid it in any way? (it is not the only example on site - so it makes analyzing data more difficult). Thanks Christian
Reporting & Analytics | | sembseo0