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
-
404s on subfolder - how to redirect?
Hi all,
Technical SEO | | MFSMarketing
we have a lot of 404s to subfolders. Eg
www.website.com/blog-post-title/imagename/
www.website.com/blog-post-title/author/ We don't have these subfolders or blog posts anymore.
How do i redirect them? These links (404s) don't seem to have any value or backlinks. Thanks,
Stef0 -
Is having my homepage on a subfolder harmful?
Hi guys, I am the webmaster of the following two websites: www.gpblog.com/nl
Technical SEO | | NielsDE
www.gpblog.com/en The first URL is the Dutch version of GPBlog, the second URL is the UK version of GPblog. Whenever a person visits www.gpblog.com he gets redirected to either the Dutch version or the UK version based on his location. My question is: is it harmful to have 1. your homepage on a subfolder and 2. is it harmful to run two different languages on one domain using this technique? Thank you in advance!1 -
Doubt with geoip redirection
Hi everyone, I managed an international site with subfolders for for the countries (us, uk, fr, ...). The homepage has a geoip redirection to the specific user country. I've checked some old posts like this ones but it's not cleared for me if I should do a 301 or a 302 redirection. https://moz.com/community/q/geoip-redirection-301-or-302 https://moz.com/community/q/geoip-and-redirects I know that the best approach it’s avoid automatic redirections but it's not a possibility for me. So please, can you help me to decide what type of redirection should I use?
Technical SEO | | dMaLasp0 -
Could I optimize my homepage anymore ?
Hi everyone, My website is http://brownquarterhorse.com I was wondering if it would be possible to optimize my homepage anymore. I just feel like it's lacking SEO. The page grader has rated it an 'A', but im not sure if the page grader is a good reflection ?
Technical SEO | | BenDuncombe0 -
301 redirect file question
Hi Everyone, I am creating a list of 301 redirects to give to a developer to put into Magento. I used Screaming Frog to crawl the site, but I have noticed that all of their urls 302 to another page. I am wondering if I should 301 the first URL to the url on the new site, or the second. I am thinking the first, but would love some confirmation. Thank you!
Technical SEO | | mrbobland0 -
Redirect old shop to new domain
I have an old Magento shop placed on a subdomain: http://webshop.teamout.dk/ Now I have created a new shop in another store system called ShopOrama on a new rootdomain: What is the best way to get all my already indexed sites from google to redirect to my new site with the new META title + description? I have tried the Magento > Catalog > URL Rewrite, but it contains over 500 redirects already and making custom redirects for all my sites will take a lot of time. Because of the old site being a subdomain I can't change address in GWT. I'm looking forward to your solutions
Technical SEO | | NicolaiTeglskov.dk0 -
Considering redirecting or canonicalization - Best Practice
Hi, I'm having a techinical problem and I would like advise on the effects this is having on my SEO efforts. My old site www.oldsiteexample.com (live for about 8 years) Directs to my new site www.example.com which is fine BUT When I type me new website into the tool bar both sides are found & do not direct to one domain; www.example.com & example.com (both the same site) What is the best practice here? Direct my new non www to my new www site considering my old website directs to the www. Advise & the SEO affects this is having my website would be greatly appreciated, thank you.
Technical SEO | | Socialdude0 -
301 Redirect Issue
I'm having an issue with 301 redirects: Let's see if I can verbalize my thoughts on this one... So we just recently moved our site to Wordpress. One of our new 301 commands is redirecting oursite.com/news to oursite.com/blog . However there are other links from our previous site that look like oursite.com/news/XYZ and the issue is that, because wordpress structures its links differently, that URL is not equivalent to oursite.com/blog/XYZ. Instead, it might look something more like oursite.com/blog/yaddayadda/XYZ or something. Does that make sense? The issue is that when I find an old link of ours on google that looks something like "oursite.com/news/XYZ" or "oursite.com/news/ABC" it is automatically replacing "news" with "blog". When I try to go in manually and redirect anything that says "/news/XYZ" to "/blog/yaddayadda/XYZ" it still doesn't work. It still just replaces "news" with "blog." Wow I realize that might not make sense to anyone but if it does - please advise!! Thanks!!!!
Technical SEO | | EntrustSEO0