Redirects Advice Please
-
Hi All,
I have been approached by someone to look at their website who has seen a rank drop over the last week of around 15 places.
On a quick look at their website I have seen what I am imaging could be the culprit as I imagine it will be creating a re-direct loop. However, i am not 100% with these things so would like some others opinions.com
They have a wordpress website.
There home page lets say https://theirsite.com/
They have an internal page built for a search term https://www.theirsite.com/keyword
In wordpress they have set that page in settings to be the homepage.
However, I looked on their server and via htaccess they have a 301 redirect from https://www.theirsite.com/keyword to https://www.theirsite.com/
So the questions are:
1. Could this be creating a loop?
2. The redirect was placed around a week before the rank drop. Could this possibly be the cause of the drop?
3. I am assuming that removing the 301 from htaccess is recommended?
Thanks in advance for any advice
-
Hi Dale
If that loop you have specified there was true then the homepage wouldn't show up.
https://www.theirsite.com/keyword>https://www.theirsite.com/>https://www.theirsite.com/keyword ad infinitum...
It would just keep on going and Google wouldn't be able to show the page.
You could use Screaming Frog to check for redirect chains - SEMrush and MOZ also pick them up so scanning the site would be my preferred option before touching it. Failing that I would remove it and see what happens.
Regards Nigel
-
Hi There,
This is a common practice and a very common redirect example. and I have seen them contributing to the homepage/main website authority. You can use it and analyze the impact before making any further changes. I had a client who has a very valuable page with content with a certain keyword, they later on 301 redirected the page to the homepage along with the content, this had a very positive impact for their main page DA for that specific keyword. But, I would recommend testing and analyzing everything before reaching a conclusion.
I hope this helps. Let me know if you have further questions.
Regards,
Vijay
-
Inside PHPMyAdmin, Check WP-Options and make sure the website in the 2 spots it's entered are correct.
-
Thanks. The guy is actually not using cloudflare in this case. His htaccess file is structurally correct, the only issue I am unsure about is the fact that there was a 301 redirect from the page set as front page in wordpress to the homepage url.
Obviously this is not standard practice and I am going to remove it, but I was wondering about peoples opinions to see if that 301 redirect would of been causing a loop.
Thanks again
-
Where I most often see a redirect loop is when someone switches over to CloudFlare on the WordPress platform. If it isn't CloudfFare causing this redirect then the first thing you'll probably want to do is change the .htaccess file name to something else and make sure it's baked up then create a new one. First try this stock base .htaccess:
# BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]</ifmodule> # END WordPress
Then you go down the checklist
- Delete the newly created htaccess file and allow WordPress the opportunity to create one on it's own
- Change the name of the plugins folder to temporarily disable plugins to see if that's the cause
- change the name of the active theme folder to force the use of a stock theme.
It will very likely be one of those items causing the redirect. The only other thing it could be is if Wordpress just got relocated and is pointing at a different domain. In which case you would need to change that in PHPMyAdmin under WP-Options.
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
-
.htaccess redirect question
Hi guys and girls Please forgive me for being an apache noob, but I've been trawling for a while now and i can't seem to find a definitive guide for my current scenario. I've walked into a but of a cluster$%*! of a job, to rescue a horribly set up site. One of many, many problems is that they have 132 302redirects set up. Some of these are identical pages but http-https, others are the same but https-http and some are redirects to different content pages with http-http. A uniform redirecting of http to https is not an option so I'm looking to find out the best practice for reconfiguring these 302s to 301s within .htaccess? Thanks in advance 🙂
Technical SEO | | craig.gto0 -
Redirects - How Best to do this ?
Hi I am looking to close Website A which has many pages. I would like to keep the home page and add some great content to it with a link pointing to Website B. As for all the other pages excluding the home page , how is it best to approach them on Website A. Should I redirect them all to the home page of Website A which will tell Google thoose Pages are no longer needed and to prevent the visitors from seeing a 404? My Main aim here is to not lose any visitors to Website A by sending them to Website B but also to hopefully pass any Page strength from Website A to Website B Thanks Adam
Technical SEO | | AMG1000 -
Using 302 redirect for SEO
Hello, I'm in charge of SEO for an information website on which articles are only accessible if you have a login and password. Most of the natural links we get point to our subscribers' subomain : subscribers.mywebsite.com/article1 If they follow these natural links, visitors who are not logged get redirected (302) to www.mywebsite.com/article1 on which there is an extract of the article and they can request a free test subscription to read the end of the article. My goal is to optimize SEO for the www.mywebsite.com/article1 page. Does this page benefit from the links I get to the subscribers.mywebsite.com/article1 page or are theses links lost in terms of SEO? Thanks for your help, Sylvain
Technical SEO | | Syl200 -
Redirects in site map
I have a site with the ace/sef ( creates friendly URLS) in a large data base site. It creates a site map dynamically. Yet I realize one issue which I am trying to think through. I recently changed my urls to include an ID number example: homepage/houses/1134-big-blue-house The prior url was: homepage/houses/big-blue-house the original url above redirects to the new one with the ID like I want. However the site map has both URLS in it which go to same page I am not sure but it seems rather stupid to have the new URL and OLD redirected URL in the site map. Yet beside stupid I am wondering if this is duplicate content and will cause a penalty from the google bot. What is your opinion ?
Technical SEO | | aimiyo0 -
What to do with 302 redirects being indexed
Hi there, Our site's forums include permalinks that for some reason uses an intermediary URL that 302 redirects to the URL with the permalink anchor. For example: http://en.tradimo.com/learn/chart-analysis/time-frames/ In the comments, there is a permalink to the following URL; en.tradimo.com/co/50c450005f2b949e3200001b/ (there is no content here, and never has been). This URL 302 redirects to the following final URL: http://en.tradimo.com/learn/chart-analysis/time-frames/?offset=0&limit=20#50c450005f2b949e3200001b The problem is, Google is indexing the redirect URL (en.tradimo.com/co/50c450005f2b949e3200001b/) and showing duplicate content even though we are using the nofollow tag on these links. Ideally, we would directly use the last link rather than redirecting. Alternatively, I'd say a 301 redirect would be preferable. But if both aren't available, is there a way to get these pages out of the index? Is the canonical tag the best way? I really wish I could just add /co/ to the robots.txt file, but I think they would still be in the index, right? Thanks for your help!
Technical SEO | | etruvian0 -
IP redirects
My website, on a .com domain, displays a different language/content depending on the IP of the user. For example, if someone is browsing my web from Spain, it will show the spanish content, and so on. Does anyone has an idea on how will Google index my pages? Their servers being located in the US, I assume the bot will only crawl and index the english content. How can I tell the bots to do the same for the other languages/content? Thanks!
Technical SEO | | Alemoto0 -
Holy Redirects
Currently working on a project for a medium sized site (http://sleeponcall.com/) but the SEOMoz crawl crawled over 14,000 pages because the report is showing more than 8,000 redirects. The client has no clue how this happened as their previous web programmers may not have been on the ball. What could be causing the problem and what is the best way to untangle this mess?
Technical SEO | | Nobody15330770827560