My homepage redirects to itself?
-
Hi there - I'm not a SEO so help would be appreciated!
Moz is telling me we have a redirect loop but the URLs are the same.
https://www.example.com/ to https://www.example.com/
Why is my homepage creating a redirect loop to itself?
We use Wordpress and I do not have any redirects listed for our homepage. Could this have something to do with switching to https in April?
Thanks,
Katherine
-
Hey Katherine,
If you could share the URL of your home page, I could likely tell you what the issue is but if you don't feel comfortable doing that, here are a few suggestions.
1. Install the "Link Redirect Trace" Chrome extension. An awesome extension that gives you the HTTP headers on every URL in real time.
2. Check for some pretty standard domain redirect issues such as:
-http://example.com to http://www.example.com
-http://example.com to https://example.com
-https://example.com to https://www.example.comThe http to https redirect is very common due to old links, the habit of typing http, and the fact that browsers still default to http unless you specify otherwise.
For instance, if you type example.com in the nav bar, your browser will assume you mean http://example.com and try that, at which time you'll be redirected to the https version.
The .htaccess file (if you're on apache) can be a good place to fix the issue once you know what is happening. It's also worth noting that redirects on your home page are not necessarily a bad thing as long as they're one of the aforementioned examples and they're 301 redirects.
I hope this helps. Let me know if you have any questions!
-Tyler -
Yes, most likely it is redirecting from hhtp to https. Check your canonical's as well.
-
First, you need to check your robot.txt and your htaccess file, then check the plugins on your site to see if there is a plugin creating the redirections
Good Luck
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
-
Redirect By IP location
Hi All, I have a client who operates in multiple countries with the sub directory structure. In AU for their main brand name .com site still ranks in the first position but /au ranks for most of the other terms. Current we have a 301 redirect in place for .com for anyone accessing the site from AU to /au. This is only for home pages as other .com pages don't rank in Australia. Just wondering what implication this can have on our SEO campaign. Cheers
Technical SEO | | SSP21
Thank you for your expertise and insights in advance.1 -
Bulk redirection of blogs
Hi all, we're going to changing the url structure of our website. Moving from: /news-and-views/blog/thisistheblogpost to /blog/thisistheblogpost (ie removing the /news-and-views/ portion of the url). There's approximately 300 posts. I have 2 questions - will this have an impact on domain wide authority? and is bulk 301 redirects the best solution? The blogs themselves don't get a huge amount of traffic but we just want to make sure we don't do something that will be penalized by search engines.
Technical SEO | | francisclark2 -
CGI Redirects
Trying to 301 old legacy files like oldsite.com/green/red.cgi/blue/ using this htaccess code: Redirect 301 /green/red.cgi/blue/ http://www.newsite.com/summary-page/
Technical SEO | | SoulSurfer8
Instead it's redirecting to: newsite.com/red.cgi/blue/ FYI oldsite.com's htaccess file does not have any global 301 rules that would conflict Does anyone know if cgi files require a different 301 syntax? Thanks!0 -
Best Place to Redirect 301 to?
Hey Everyone! I have an old site with hundreds of blog posts that are very spammy (duplicate content, keyword stuffed, and just plain bad content). I am going to redirect them and delete them from WordPress but I'm wondering where is the best place to redirect them to? Home page, other posts, other pages...? Any thoughts would be appreciated! Thanks!
Technical SEO | | adamxj21 -
301 redirect not working
Hi there! I have recently moved a domain that has been indexed by google and setup redirects so that it forwards to the new domain. It seems like the only redirect that actually is working is the canonical and main domain but every other page and or page nested within a folder are not working. Here is an example of some of the redirects. Am I doing this wrong? It seems to be going to the new domain but can't find the actual pages.... RewriteEngine On
Technical SEO | | twotd
RewriteBase /
RewriteCond %{HTTP_HOST} !agoodsweep.com$ [NC]
RewriteRule ^(.*)$ http://agoodsweep.com/$1 [L,R=301]
redirect 301 woodstoveservicerepair.html http://agoodsweep.com/woodstoveservicerepair/
redirect 301 /westchesterchimney.html http://agoodsweep.com/west-chester-chimney/ Thanks in advance for any help!!0 -
H1 Tag as Logo on the Homepage.
So I was working on a Genesis theme website where they have the H1 Tag as the Logo on the homepage. I wanted this changed because I always use my H1 tag to include a keyword I want to rank for. I was told by the Genesis Forum Manager that Yoast said the Logo should be the H1 tag on the homepage. (Yoast has a WP SEO Plugin that is very popular) That makes no sense to me, so I was looking for Opinions. Thanks,
Technical SEO | | netviper0 -
Geo-Redirection
Our client has two almost identical sites targeting: Australia (www.mysite.com.au) Rest of World (www.mysite.com) Currently they have splash page on www.mysite.com asking users to select: Australia Rest of World (redirects to: www.mysite.com/home) I'm thinking they should get rid of slash page and simply auto detect if user on www.mysite.com is based in Australia and serve a message "Do you want to visit our .com.au site. It's not helped by the fact the .com site appears to get served ahead of .com.au iin australia as both sites are hosted in US. Looking to change this! Thanks in advance for your help!
Technical SEO | | steermoz70 -
Redirect links add seo value?
Does anyone know if urls on the 'Websites' part of a LinkedIn public profile create any SEO value (meaning, does page rank flow)? The links looks like this: <a href="/redirect?url=http%3A%2F%2Fwww%2Espeechpad%2Ecom%2Fpage%2Fspeech-to-text&urlhash=Xk3F" target="_blank" title="New window will open" name="overviewsite">speech to texta>
Technical SEO | | scanlin0