Too many redirects

Since the start of last December when my web provider Easyspace moved my Rapidweaver site to a new server because I requested a move to PHP7 I have been having dreadful problems with redirect messages. Safari is particularly bad but Chrome seems to cope a lot better but will eventually fail. I have three directories in my site antiquemaps.com, antiquemaps.com/prints and antique maps.com/maps2. The home page of antiquemaps.com is where the errors seems to occur as once I get into other pages on that directory I can move around from page to page ok.

Numerous messages have passed between Easyspace over the past month and they rewrote my htaccess file for me. Getting back to them today after the holidays I have had this reply

I have checked this again for you and can see that somewhere within your site there are other redirects which are conflicting against each other and causing this issue.

There may be plugins that you have active that will be causing this. You would have to disable these in order for the redirect to go through normally.

All this started when they moved me to the new server which I have reminded them about. No changes had been made to the website which has been working well for years.

Any ideas please to help me get some sleep at night.

Richard

I would check your .htaccess file as a first step and see if there are conflicting 301 redirects in there.

I didn’t get any errors on the homepage? If I understand what you’re saying you getting some sort of error when you first go to the home page.

Could you

  • show the error message (screenshots)
  • give us your htaccess file (include in the post just mark as code)
  • does the host have any other way to offer redirects

@Teefers Thanks for your reply. My htaccess file reads

#RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

RewriteEngine On

START WWW & HTTPS

ensure www.

RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

ensure https

RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

ErrorDocument 404 https://www.antiquemaps.com/maps/errors/404/index.html

redirect

Since my message I realised I had another directory antiquemapscom/guide. In trying to cure the problem I had changed the links to to all the other directories appearing in the menus which were using the redirect stack to a page having a linked button. Just changed the guide page from the redirect stack to a page with a link button and I am now unable to get the redirect error.

If I type in a spurious page url I do not get my 404 error page but the too many directs error as attached.

Richard

your error page is actually here: https://www.antiquemaps.com/errors/404/index.html

in the .htaccess it is:https://www.antiquemaps.com/maps/errors/404/index.html

3 Likes

@Scott_Williams

Thank you so much. I mentioned Easyspace had rewritten my htaccess file for me and they must have made this error. I am starting to believe I can have a normal life again and love Rapidweaver and my site again. It does concern me about the Redirect Stack so will have to look into that.

Richard

4 Likes