Jump to content

Endless redirect loops.

Featured Replies

Posted

For some reason, pages on my site that dont exist any longer or just never did exist cause a redirect loop if you try to enter them. Does anyone know how to fix such an issue. I dont know where to begin.

Start by posting example link.
What is your htaccess content?

  • Author

Start by posting example link.
What is your htakes content?

Link here.

http://www.conspiracyoutpost.com 

htaccess is here

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) - [L,NC,R=404]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

 

Several disturbing things your site:

1. "The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 4 request(s) and 2.4KiB."

Find out in this test: https://gtmetrix.com/reports/www.conspiracyoutpost.com/EohMOzXL

2. Do errors in html5 code - see the validation

https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.conspiracyoutpost.com%2F

 

Links applied by screen not working

link1.thumb.png.695cfd2b6a2e50bad1c63200

link2.thumb.png.8ba50afa327cab3966ac51e3

  • Author

Several disturbing things your site:

1. "The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 4 request(s) and 2.4KiB."

Find out in this test: https://gtmetrix.com/reports/www.conspiracyoutpost.com/EohMOzXL

2. Do errors in html5 code - see the validation

https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.conspiracyoutpost.com%2F

 

Yeh im yet to go through and fix all the errors and other reports. Been working on new things lately. Its next on my to do list after i fix this redirect issue. Or is this whats causing it?

And i think those consitent URL's are for adsense ads. So i cant change what they serve.

Start by posting example link.
What is your htaccess content?

direct example link for loop.

http://www.conspiracyoutpost.com/wdwqd <-- domain with made up bit on end. causes a loop

  • Author

Links applied by screen not working

link1.thumb.png.695cfd2b6a2e50bad1c63200

link2.thumb.png.8ba50afa327cab3966ac51e3

and im not exactly sure what that is.

and im not exactly sure what that is.

This is shown by WebPagetest : http://www.webpagetest.org/result/150914_4V_13NC/1/details/

For your problem with redirecting page nonexistent - I guess that is reason use "cloudflare-nginx" server.

Your request goes all cloudflare servers and then there is a message:

"The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

Probably a bug ips4 work "cloudflare-nginx''...

In Apache server has no such problem.

I do not know nginx - will not help you.

  • Author

This is shown by WebPagetest : http://www.webpagetest.org/result/150914_4V_13NC/1/details/

For your problem with redirecting page nonexistent - I guess that is reason use "cloudflare-nginx" server.

Your request goes all cloudflare servers and then there is a message:

"The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

Probably a bug ips4 work "cloudflare-nginx''...

In Apache server has no such problem.

I do not know nginx - will not help you.

aww ok. So you believe it might be a bug with ips4 then.

Try without  Rewrite URLs. 

  • Author

Try without  Rewrite URLs. 

Tested - no more redirect loop with that disabled. But i re-enabled it because links went ugly.

I think most good you make consultation with the host company. They find what you lack in htaccess file.

  • Author

I think most good you make consultation with the host company. They find what you lack in htaccess file.

Ok. I'll do that.

  • Author

contacted host they have no idea. So dont know whats next!

If you have a redirect of www to non-www http:// in htaccess, remove it. I had this problem, IPS already does this and it causes the loop error.

contacted host they have no idea. So dont know whats next!

 Try this htaccess- should reflect the presence of WWW in your domain

<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) - [L,NC,R=404]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

 

  • Author
On 14/09/2015, Adlago said:

Try this htaccess- should reflect the presence of WWW in your domain


<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) - [L,NC,R=404]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

 

Still showing a loop bah!

  • Author

Seems to have fixed itself. I had to redo all my custom pages today due to some issues. All went well but had to go and do the articles page again. so did away with the default one. The second it was deleted my loop issues ceased. Must have been a glitch. Strange.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.