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
-
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 -
Redirection loop. Best way to resolve...
Hi Guys Got a warning on a crawl today "Your page is redirecting to a page that is redirecting to a page that is redirecting to a page... and so on." In GWMT it is set to www. and also back-end in my server. I also have an SSL deployed and in my htaccess the rule is added to ensure all pages got to SSL. Any of you guys have advice regarding the best route to go or should I "IGNORE" this warning as all other aspects are clocking 95%+? Thanks in advance Daren
Technical SEO | | Daren-WebSupportLab0 -
301 Redirects, Sitemaps and Indexing - How to hide redirected urls from search engines?
We have several pages in our site like this one, http://www.spectralink.com/solutions, which redirect to deeper page, http://www.spectralink.com/solutions/work-smarter-not-harder. Both urls are listed in the sitemap and both pages are being indexed. Should we remove those redirecting pages from the site map? Should we prevent the redirecting url from being indexed? If so, what's the best way to do that?
Technical SEO | | HeroDesignStudio0 -
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 -
.htaccess Redirect 301 issues
I have completely rewritten my web site, adding structure to the file directories. Subsequently added was Redirect information within the .htaccess file. The following example ...
Technical SEO | | Cyberace
Redirect 301 /armaflex.html http://www.just-insulation.com/002-brands/armaflex.html
Returns this response in the URL bar of ...
http://www.just-insulation.com/002-brands/armaflex.html?file=armaflex
I am at a loss to understand why the suffix "?file=armaflex" is added The following code is inserted at the top of the file ...
RewriteEngine On redirect html pages to the root domain RewriteRule ^index.html$ / [NC,R,L] Force www. prefix in URLs and redirect non-www to www RewriteCond %{http_host} ^just-insulation.com [NC]
RewriteRule ^(.*)$ http://www.just-insulation.com/ [R=301,NC] Any advice would be most welcome.0 -
Rel Canonical ? please help again!
Hi, I have been looking at the on page section and the grading. And I have noticed on nearly all of my pages an error. No More Than One Canonical URL Tag Moderate fix <dl> <dt>Number of Canonical tags</dt> <dd>2</dd> <dt>Explanation</dt> <dd>The canonical URL tag is meant to be employed only a single time on an individual URL (much like the title element or meta description). To ensure the search engines properly parse the canonical source, employ only a single version of this tag.</dd> <dt>Recommendation</dt> <dd>Remove all but a single canonical URL tag</dd> </dl> <a class="more expanded">Minimize</a> Please how do I make sure these canonicals are working properly, My rankings are getting worst fro long tail and short tail keywords. I am not even ranking for the main keywords "Probate" at all now! Our site is probate, we sell probate, we talk aout probate and now we are out of the top 200??? http://www.finalduties.co.uk Kind Regards Elissa HAyes
Technical SEO | | Chris__Chris0 -
Rel Canonical ? please help
Can some one please answer a question for me, I have a crawl error stating that I have [#### Rel Canonical 326](http://pro.seomoz.org/campaigns/243472/issues/18) Can you please advise me on how serious these Errors are? I was told by one person not to worry but It seems far to many to me. thanks
Technical SEO | | Chris__Chris0 -
301 Redirects
Last year we merged 3 websites into 1 website and launched the new site in February. When developing the new site I created 301 redirects for all the pages from the old sites to the new site. Unfortunately when the new website was created the URLs were not optimised for search engines. I now need to optimised the page URLs. In theory I need to create new 301 redirects from this existing pages to the new optimised URLS. I am concerned that in a few years I might end up with a string of 301 redirects and if I break some links I might loose some ranking. How many redirects will link juice work for? I hope I'm clear here, if not I've attached a image showing what I'm doing. Thank you. unledfh.jpg
Technical SEO | | Seaward-Group0