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
-
301 Redirect
Hello Moz Community, I have a question regarding 301 redirecting a new domain that contains keywords relevant to my website. However, I do NOT want to change my current domain. My main question is, by just redirecting this new domain to my current website, will those keywords in the new domain help with ranking in anyway? Thanks in advance for any help!
Technical SEO | | WyzeOwl0 -
Google not using redirect
We have a GEO-IP redirect in place for our domain, so that users are pointed to the subfolder relevant for their region, e.g: Visit example.com from the UK and you will be redirected to example.com/uk This works fine when you manually type the domain into your browser, however if you search for the site and come to example.com, you end up at example.com I didn't think this was too much of an issue but our subfolders /uk and /au are not getting ranked at all in Google, even for branded keywords. I'm wondering if the fact that Google isn't picking up the redirect means that the pages aren't being indexed properly? Conversely our US region (example.com/us) is being ranked well. Has anyone encountered a similar issue?
Technical SEO | | ahyde0 -
How long should you keep 301 redirects?
Hi, Back in 2009 I decided to update an older site from .htm and .shtml to .php. In order to minimize the impact I would go in every month and do a 301 redirect on the .shtml page to the new .php page. So I have many that range from 2009 through 2010. I had left the old 301's because I felt they would only be used if needed but I would think I should clean up my .htaccess by removing the old 301 redirects if they are not needed. How long should you keep this type of 301 redirect? Thanks!
Technical SEO | | Force70 -
Redirecting Parked Domain
I just recently switched hosting. We have 3 domains and 1 being the main domain. Right now they are set up as parked domains. Can I redirect the parked domains under my main websites .htaccess file ? I am just worried that good we will get hit for duplicate content, even though technically the content is only on our main domain. right now if I type in my parked domains in Google, they appear in search. The site is all hand coded and not using a CMS.
Technical SEO | | hfranz0 -
Magento- 1675 302 Redirects - How to Fix?
Hi Folks, I would appreciate some help on this. My ecommerce website is built on magento and we currently have 1675 302 Redirects on it as pointed out by the SEOMOZ crawler. Has anyone any idea on how to fix this or ave you being on the same boat as me. Im pretty sure this is why it coming up that I have a lot of dup content on the website also. Help appreciated as always. Thank you!
Technical SEO | | dean19860 -
Link Building Stragedy can anyone please give me advice
my site is www.in2town.co.uk Hi i hear a lot about having a linking structure in place and a linking stragedy but i am not really sure what i need to do even though i have spent months reading about it. What i have been trying to do is to link as many of the pages within my site to the home page and i am now looking at linking pages in my site to around my site to different pages, just like <cite>en.wikipedia.org</cite> So when i have a story on cheryl cole, i will make sure that i link from that story to another story i have on cheryl cole etc. But i would like to know what else i need to do. For my home page i want to rank for the following keywords Lifestyle magazine Lifestyle news celebrity news celebrity gossip showbiz news soap spoilers I would also love suggestions for other keywords i should be aiming for, for the home page. I find it hard as my site is a magazine site, so i do not have many places to put a description of each page of the site, so i would love some help on this and advice what i can do to let google know what my site is about. If anyone can help with putting a linking stragedy in place and what things i should be doing to increase my ranking for important keywords, then that would be great many thanks
Technical SEO | | ClaireH-1848860 -
301 redirect
What is a proper way to redirect any url containing a give word (anywhere in the url) to another sepcified url? Is it like this? RedirectMatch 301 ^thisword$ http://domain.com/newlocation
Technical SEO | | sesertin1 -
301 redirect issues
Hi all, I'm hoping someone will be able to help me with an extermley frustrating problem with 301 redirects in .htaccess. Basically I'm trying to redirect some old pages (from our old website) that stil rank to the new equivilent. For example - old url = www.domain.com/frames/news/company-news/news-reader.php?newsStoryID=395 New www.domain.com/news/article-title I've tried the simple redirect 301 /frames/news/company-news/news-reader.php?newsStoryID=395 http://www.domain.com/news/article-title But this doesnt work. I've also tried - RewriteEngine on
Technical SEO | | EclipseLegal
RewriteCond %{QUERY_STRING} ^newsStoryID=395$
RewriteRule ^/news-reader.php$ http://www.domain.com/news/article-title/? [L,R=301] Could anyone help? I've followed lots of tutorials that all match the above but it just doesn't work! The only other thing within the htaccess file is from wordpress for pretty permalinks - 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 Many thanks in advance!0