Jump to content

Endless redirect loops.


Netherlord

Recommended Posts

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>

 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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>

 

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...