Support » Plugin: Redirection » Redirect / www
Redirect / www
-
Morning!
Just noticed a new behavior that didn’t happen before: Whenever my redirected links include www (e.g., ‘www.easiercast.com/29’), they land on the admin login page. But, when they have no www, or they include https://, the redirect works properly (e.g., https://easiercast.com/29).
Any idea what could be causing this?
-
This topic was modified 4 years, 9 months ago by
amichaelwagner.
-
This topic was modified 4 years, 9 months ago by
-
Yes I’d like to troubleshoot it if I can. I don’t use Facebook, but can be contacted at https://redirection.me/contact/
I’ve turned Force HTTPS back on.
I figured it’d be easier to chat (instead of messaging back and forth on here). Do you have a tool you prefer?
Ok, these are the URLs I’ve tested and the resulting redirect:
http://www.easiercast.com/29 => /learn-to-tell-amazing-stories-with-these-13-tips
https://www.easiercast.com/29 => /learn-to-tell-amazing-stories-with-these-13-tips
http://easiercast.com/29 => /learn-to-tell-amazing-stories-with-these-13-tips
https://easiercast.com/29 => /learn-to-tell-amazing-stories-with-these-13-tips
http://www.easiercast.com/27 => /use-social-media-to-boost-your-business-w-shelbi-moore-2
https://www.easiercast.com/27 => /use-social-media-to-boost-your-business-w-shelbi-moore-2
http://easiercast.com/27 => /use-social-media-to-boost-your-business-w-shelbi-moore-2
https://easiercast.com/27 => /use-social-media-to-boost-your-business-w-shelbi-moore-2
Assuming the option is enabled then everything seems ok for me.
Have you tried when not logged in?
What are your URLs on the Settings > General page?
Did you try them without http://? It only happens when a URL is entered with www. (and not http://). Just want to confirm that.
Example:
www.easiercast.com/28
I always test in an incognito window, and it happens there. I also just tried on my phone: same result.
-
This reply was modified 4 years, 9 months ago by
amichaelwagner.
Also, by the way, I have every number from /1 to /31 set as a redirect. Feel free to test with any of those pages, too.
As I mentioned before, there is no such thing as a URL without http:// – a URL either has http:// or https://, and your browser will auto-add one of those if you don’t.
So yes, I have tested both variants of http and https, with and without www.
Based on this the problem seems to be local to you, for some reason.
My guess is that it’s a cache somewhere.
I understand that every URL has to have HTTP or HTTPS, but this is the way I am able to replicate the problem.
As I’ve said, I’ve tried it across a number of devices and it still occurs. It’s not possible that it’s local to me. I even just remoted into my work server (yes, the server) and tried it from there. It still occurred. It’s not possible that it’s occurring locally.
-
This reply was modified 4 years, 9 months ago by
amichaelwagner.
-
This reply was modified 4 years, 9 months ago by
amichaelwagner.
Have you at least tried entering the URL the way I explained?
It really makes no difference – it’s still the same as a
http://
request.However, I have been able to reproduce the
/wp-admin/
redirect problem by following the path one step further.The issue isn’t with the original URL. For example,
http://www.easiercast.com/29
is being correctly redirected to/learn-to-tell-amazing-stories-with-these-13-tips
with Redirection.The problem is with
http://www.easiercast.com//learn-to-tell-amazing-stories-with-these-13-tips
itself – this is redirecting tohttps://easiercast.com/wp-admin/
, and it’s not caused by Redirection.Can you tell me what your URL settings are on Settings > General?
Both are set to
https://easiercast.com
The problem only happens with this:
http://www.easiercast.com/learn-to-tell-amazing-stories-with-these-13-tips
That is, the protocol is
http
andwww
is added. Do you have any other redirect for thewww
? For example, in your.htaccess
?There’s a good chance that Bluehost added redirects. I’ll check.
# BEGIN WordPress AddHandler application/x-httpd-ea-php70 .php <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 6 hours" ExpiresByType image/jpeg "access plus 6 hours" ExpiresByType image/gif "access plus 6 hours" ExpiresByType image/png "access plus 6 hours" ExpiresByType text/css "access plus 6 hours" ExpiresByType application/pdf "access plus 1 week" ExpiresByType text/javascript "access plus 6 hours" ExpiresByType text/html "access plus 10 minutes" ExpiresByType image/x-icon "access plus 1 year" ExpiresDefault "access plus 3 hours" </IfModule> <ifModule mod_headers.c> Header set X-Endurance-Cache-Level "2" </ifModule> <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
I don’t see any, but this isn’t my area of expertise.
Yeah, nothing there. It’s possible this redirect is happening at a higher level.
I’m still not sure what’s going on, but there’s a few extra clues there and I can try and reproduce a
www
setup, or even get a site on bluehost. For the moment I’d switch ‘force https’ off.I’ll report back here if I find any more info. Thanks for all the debugging time!
It could be related to the SSL cert that Bluehost set up for me. If you do go the route of getting a site there, ask their support to set up the cert for you. Or, at least, ask how they would. Might provide clues.
Let me know if you need anything else!
Feel free to email me directly if you prefer: amichaelwagner@gmail.com
Noting that this problem should be fixed in 4.1.1
-
This reply was modified 4 years, 9 months ago by
- The topic ‘Redirect / www’ is closed to new replies.