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 -
Differences in site search revenue in GA
I just put in a piece of software to replace a really bad built in site search engine on my 3dcart website. Now I am trying to measure the change, but I am having some issues. When I check the ecom data in the conversions section of GA with the built in segment Performed Site Search, I get promising results. Approximately 5% revenue increase over LY. But if we jump to behavior, site search, usage, and then check the visits with site search, I get a decrease by 4%. And the actual revenue is off, by like double (150k compared to 80k) Anyone have any idea why I am getting these results? The site search function is set up. Tracking is enabled, query parameter is keyword and search url is /search.asp?keyword=
Reporting & Analytics | | ShockoeCommerce0 -
How to turn on persistent urls in WordPress?
I'm using an appointment form on my website and I have the option to add a referral url to form submissions so that i know which pages the form submission came from. I need to be able to distinguish between organically generated form submissions and those that come in via AdWords. If referral url shows the AdWords tracking code i know the form submission came in from AdWords. My problem is that when a visitor comes in after clicking an ad and then visits another page on my website that AdWords tracking code disappears from the url. I was told that there was a way to turn on persistent urls in WordPress but I can't figure out how to do it. I'm assuming that if i turn persistent urls on the AdWords tracking code will remain on every subsequent url that they visit on my website. Is this true? Any help with this will be greatly appreciated.
Reporting & Analytics | | SpaMedica0 -
How to setup Google Analytic goals that go to different urls?
I would like to setup my form's conversion rate as a goal in my Google Analytics account. The goal is complete when someone enters their information and hits submit. Logically, the "Thank you page" would be the destination url for the goal. My problem is that the thank you page is outside of the primary domain, for example, my site is: SiteExampl.com but the Thank you URL is thankyouurl.com Is it possible to setup a goal like this? If so how. Thanks in advance!
Reporting & Analytics | | christinarule0 -
How to track forwarding URLs sent via DNS settings
Buongiorno from hot a humid wetherby UK. A client has gone ahead and set up DNS forwarding from www.ramsdens.tv to http://www.ramsdensforcash.co.uk now they wonder why theyve got no data showing in Google analytics. So knowing theyve gone ahead with this method of forwarding how is it possible to measure referrals originating from www.ramsdens.tv My only thought is to add a tracking parameter on the baclk of the forwarding url.Thanks in advance
Reporting & Analytics | | Nightwing
David0 -
PDFs and indexing
Hello and good morning. I work for a paint manufacturing company in the UK on their seo campaigns across a couple of websites, this is my question. as paint and chemicals require data and tech sheets by law, available to be downloadable for said product, should these be included in the sitemap, we auto generate our sitemaps which they include these files, with low priorities and never change in terms of name etc. they basically have a name of say 092847.pdf for example which cannot be changed, but from an seo view this doesn't mean a thing? so theres my question should they be included and would they carry any value?
Reporting & Analytics | | TeamacPaints0 -
Difference between GWT and GA average position
Does anyone know why there would be a difference in average position from GA and GWT? I am seeing completely different results for the same date ranges. Thank you!
Reporting & Analytics | | bloomingB0 -
Will Bing/Google's engine index a page that has only been on social media?
Will Bing's engine index and rank a page that has only been seen on social media and has no inbound links? Will Google's? Are inbound links absolutely required to get a page indexed and ranking and getting traffic? If unknown, how would you go about testing this?
Reporting & Analytics | | SarahGoliger0