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
-
Redirects
Hello, i would like to ask which is the best redirect to use in a website now i have all my links to go to https://www.anavasis.gr Which is the best between: https://www.anavasis.gr https://anavasis.gr https://www.anavasis.gr/index.php https://anavasis.gr/index.php thanks in advance
Technical SEO | | anavasis0 -
URL Redirect
Hi All, So we have employees who can own their own domains for business, however, one employee has a domain that links back to our main site, but when it does, the URL and Page title of our main site, still say his own domain. IE: www.johndoe.com links to www.mysite.com except the url and itle still say www.johndoe.com What are the implications of this? Thank you
Technical SEO | | PeteEllard0 -
How to avoid a redirect chain?
Hi there, I am aware that it is not good practice to have a redirect chain but I am not really sure hoe to do it (on Apache). I have multiple redirects in a chain because on the one hand I had to redirect because the content of the site got a new URL and because on the other hand I changed from http to https. Thus I have a chain like http://example.com via 301 to http://the-best-example.com via 301 to https://the-best-example.com via 301 to https://greatest-example.com Obviously I want to clean this up without loosing any link juice or visitors who had bookmarked my site. So, I could make three separate redirects: http://example.com via 301 to https://greatest-example.com
Technical SEO | | netzkern_AG
http://the-best-example.com via 301 to https://greatest-example.com
https://the-best-example.com via 301 to https://greatest-example.com But is there a way to combine it? Can I use an "OR" operator to link the 3 conditions to this one rule? Any other suggestions? Thanks a lot!!!0 -
Changing a domain name, pages redirection
when changing a domain name, should we redirect all the pages to their new pages or only the indexed pages? Thanks
Technical SEO | | bigrat950 -
301 redirect from sites closing down
Hi We have around 10 supplementary sites that have links to our site which are now closing down but are out of our control. We could have access to their domains so how could we maintain the link juice from these old sites which are going to our new site? However there will be no websites left on these old supplementary just domain names
Technical SEO | | ocelot0 -
260k 301 redirects
Hello, I just found that some of the urls on my site have both ugly characters and some other things I'd like to fix (such as ---- into a single - ) After some local tests i've seen that If i leave some imperfections there will be 48k different urls on the other hand if the renaming procedure is strict i'll have around 260k out of 2.3M urls to be renamed. If I'm going to do this I'll create new canonicals meta tag and redirect old urls with 301 headers to the new location. The content will not change. My big doubt is SEO wise, I know that I'll have better urls, but aren't those too much redirects on a single day? what would you do if you wish to have shipshape urls and know some of these are crap? thanks
Technical SEO | | mylittlepwny0 -
Domain redirection and seo implications
We have an existing site that is a subdomain but we recently acquired an exact match domain. Will building links to the exact match domain and having the domain point at our existing subdomain work or should we convert the entire site and redirect our existing subdomain to the new domain? What I'm trying to figure out is how to maximize the benefit here and how the existing mass of links pointing to our existing subdomain (shop.domain.com) can be used. New domain: keywordshop.com Existing URL: shop.domain.com
Technical SEO | | CHarkins0 -
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