Comment on WordPress Autoblog Plugins by SEO Gold Services.

Http to Https Htaccess 301 Redirect Rules It should always be the www version OR the non-www version.

In your example you will always want the www version, so as you say no matter what URL you load it loads https://www.example.com/.

On my SEO Gold site I want the non-www version, so I always want the https://seo-gold.com/ version.

So that part is as you want.

It does look like the 301 redirect checker is saying you’ve got a two stage redirect. Suggests something is wrong.

The URL http://example.com/ first 301 redirects to https://example.com/ which then 301 redirects to https://www.example.com/ which reports a 200 header (as it should).

Which redirect checker are you using?

A basic .htaccess 301 redirect rule set like you posted (and I use) wouldn’t result in a 301 checker ‘knowing’ the .htaccess rule is in two parts.

If you run http://www.seo-gold.com/ through a 301 redirect checker or a header checker it reports a 301 redirect to https://seo-gold.com/ even though in my .htaccess rules it’s redirected in two stages.

Basically the .htaccess rules are run behind the scene, so all the 301 redirect checker/header checker gets is the starting URL and the end URL, the middle bit is ‘hidden’ on your server.

This suggests you’ve got something else causing the behavior outside the standard .htaccess rules.

I did a big SEO review on a site called “Languagenut” a while back and it had a weird redirect setup related to multilingual version of the site (see Languagenut Website for the relevant part of the review).

I didn’t have access to the server or any information from Languagenut, so don’t know for sure how they messed it up. Even now the PageSpeed Insights tool reports “Avoid landing page redirects” for the Languagenut home page: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.languagenut.com%2F

Try your site in the PageSpeed Insights Tool to see if it reports a similar issue. If it does check your HTML source for a meta refresh that’s redirecting AFTER the webpage loads.

You can see with this checker http://www.redirect-checker.org/ the Languagenut site when loaded via the http non-www version http://languagenut.com/ it reports a double redirect.

– http://languagenut.com/
302 Found
– https://languagenut.com/
302 Found
– https://www.languagenut.com/
301 Moved Permanently
– https://www.languagenut.com/global/
200 OK

This checker http://redirectcheck.com/ reports:

– https://www.languagenut.com/
HTTP/1.1 301 Moved Permanently

– https://www.languagenut.com/global/
HTTP/1.1 301 Moved Permanently

– https://www.languagenut.com/en-us/
HTTP/1.1 200 OK

So one reports 302 the other a 301 which is similar to what you describe for your site.

Maybe you have a weird setup like Languagenut that’s adding an extra layer to the redirect.

Languagenut’s problems are related to a poorly implemented multilingual setup, looks like they check the users IP address and if it matches a country they have a language section for it 302 redirects to https://www.languagenut.com/global/ which 301 redirects to the relevant country specific section.

The Languagenut setup was so poor if you accessed their home page from a Chinese IP address there’s no redirect, you’d see the home page which wasn’t supposed to load!

David Law