Has my 301 home page really worked?
-
Greetings from 53° 57′ 30″ N, 1° 4′ 49″ W otherwise known as York
I know a site i'm working on has two versions of the home page e.g.
http://www.davidclick.com & http://www.davidclick.com/index.htmThis morning I delved into the bowels of the ht access file and this is what happened...
Firstly i added redirect 301 /index.htm http://www.davidclick.com nope that broke everything I then amended to redirect 301 /index http://www.davidclick.com
Can anyone re assure me ive done the right thing in terms of resolveing my home page canonical problem?
Thanks in advance
-
http://www.seomoz.org/q/how-do-i-redirect-index-html-to-the-root
Hope this helps.
-
HI Kyle,
I've just added amended ht access file as suggested and i get:
"Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
Just to re-iterate i did add this line:
redirect 301 /index.htm http://www.davidclick.com & the whole site wouldnt display (Ive since removed it)I'm confused. me thinks I'll contact 123 reg
-
If you type davidclick.com/index in the address bar it does redirect to davidclick.com.
Like Kyle said just do the same thing as you did for /index but this time have index.htm.
-
Because /index and /index.htm are two different pages if you look /index is being redirected not /inedx.htm
-
Thanks for replies but...
"Why is my 301 redirect instruction not working?" Right now ive got this in my ht access file:
301 /index http://www.davidclick.comWhat should it be?
-
`Use the below line in your Htaccess file: Redirect /index.htm` http://www.davidclick.com/
-
Hi,
I can confirm that your 301 redirect is not working..
However, because http://www.davidclick.com/index.htm has a rel="canonical" tag pointing to http://www.davidclick.com/ its not causing any duplication issues.
However, I would recommend you get the index page redirected to the correct home page anyway.
Regards
Greg
-
You can quite easily test it just vist the url you would like to redirect so in the case above 'http://www.davidclick.com/index.htm'. Does it redirect to http://www.davidclick.com, nope so at the moment the redirect is not working.
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
-
Is my page being indexed?
To put you all in context, here is the situation, I have pages that are only accessible via an intern search tool that shows the best results for the request. Let's say i want to see the result on page 2, the page 2 will have a request in the url like this: ?p=2&s=12&lang=1&seed=3688 The situation is that we've disallowed every URL's that contains a "?" in the robots.txt file which means that Google doesn't crawl the page 2,3,4 and so on. If a page is only accessible via page 2, do you think Google will be able to access it? The url of the page is included in the sitemap. Thank you in advance for the help!
Technical SEO | | alexrbrg0 -
Will a Robots.txt 'disallow' of a directory, keep Google from seeing 301 redirects for pages/files within the directory?
Hi- I have a client that had thousands of dynamic php pages indexed by Google that shouldn't have been. He has since blocked these php pages via robots.txt disallow. Unfortunately, many of those php pages were linked to by high quality sites mulitiple times (instead of the static urls) before he put up the php 'disallow'. If we create 301 redirects for some of these php URLs that area still showing high value backlinks and send them to the correct static URLs, will Google even see these 301 redirects and pass link value to the proper static URLs? Or will the robots.txt keep Google away and we lose all these high quality backlinks? I guess the same question applies if we use the canonical tag instead of the 301. Will the robots.txt keep Google from seeing the canonical tags on the php pages? Thanks very much, V
Technical SEO | | Voodak0 -
Added 301 redirects, pages still earning duplicate content warning
We recently added a number of 301 redirects for duplicate content pages, but even with this addition they are still showing up as duplicate content. Am I missing something here? Or is this a duplicate content warning I should ignore?
Technical SEO | | cglife0 -
Page not cached
Hi there, we uploaded a page but unfortunately didn't realise it had noindex,nofollow in the meta tags. Google had cached it then decached it (i guess thats possible) it seems? now it will not cache even though the correct meta tags have been put in and we have sent links to it internally and externally. Anyone know why this page isn't being cached, the internal link to it is on the homepage and that gets cached almost every day. I even submitted it to webmaster tools to index.
Technical SEO | | pauledwards0 -
50,000 pages or a page with parameters
I have a site with about 12k pages on a topic... each of these pages could use another several pages to go into deeper detail about the topic. So, I am wondering, for SEO purposes would it be better to have something like 50,000 new pages for each sub topic or have one page that I would pass parameters to and the page would be built on the fly in code behind. The drawback to the one page with parameters is that the URL would be static but the effort to implement would be minimal. I am also not sure how google would index a single page with parameters. The drawback to the 50k pages model is the dev effort and possibly committed some faux pas by unleashing so many links to my internal pages. I might also have to mix aspx with html because my project can't be that large. Anyone here ever have this sort of choice to make? Is there a third way I am not considering?
Technical SEO | | Banknotes0 -
What is the best way to find missing alt tags on my site (site wide - not page by page)?
I am looking to find all the missing alt tags on my site at once. I have a FF extension that use to do it page by page, but my site is huge and that will take forever. Thanks!!
Technical SEO | | franchisesolutions1 -
150 products 301 redirect to HOME page, any impact?
If redirect 150 products to the home page, will I be penalize? It does not look like I can have access to cPanel on this platform, BigCommerce and i moves my old domain to this plateforme, the only option I might have his to redirect everythings to home page. Thank you, BigBlaze
Technical SEO | | BigBlaze2050 -
301 Redirect NOT Working as Expected - HELP!
Hi! I just launched our newly coded site and just realized the installed 301 is NOT working. The URL string is the same EXCEPT for the removal of /shop/. Here is the code in .htaccess: ############################################ enable rewrites Options +FollowSymLinks RewriteEngine on #RedirectMatch 301 ^/shop?/$ http://hiphound.com/ RedirectMatch 301 ^/shop?/$ http://hiphound.com ########################################### When I go to Google and click on an old link I get a 404. No bueno!! Here is an example: http://hiphound.com/shop/rubit-dog-tag-clip I thought (and was told) that the installed 301 would send this page to: http://hiphound.com/rubit-dog-tag-clip It's not. Please HELP!! 🙂 What am I doing wrong??? Lynn
Technical SEO | | hiphound0