Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Netherlord Posted September 14, 2015 Posted September 14, 2015 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.
Adlago Posted September 14, 2015 Posted September 14, 2015 Start by posting example link.What is your htaccess content?
Netherlord Posted September 14, 2015 Author Posted September 14, 2015 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>
Adlago Posted September 14, 2015 Posted September 14, 2015 Link here. http://www.conspiracyoutpost.comSeveral 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/EohMOzXL2. Do errors in html5 code - see the validation https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.conspiracyoutpost.com%2F
Netherlord Posted September 14, 2015 Author Posted September 14, 2015 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/EohMOzXL2. 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
Netherlord Posted September 14, 2015 Author Posted September 14, 2015 Links applied by screen not working and im not exactly sure what that is.
Adlago Posted September 14, 2015 Posted September 14, 2015 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 properlyFirefox 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.
Netherlord Posted September 14, 2015 Author Posted September 14, 2015 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 properlyFirefox 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.
Netherlord Posted September 14, 2015 Author Posted September 14, 2015 Try without Rewrite URLs. Tested - no more redirect loop with that disabled. But i re-enabled it because links went ugly.
Adlago Posted September 14, 2015 Posted September 14, 2015 I think most good you make consultation with the host company. They find what you lack in htaccess file.
Netherlord Posted September 14, 2015 Author Posted September 14, 2015 I think most good you make consultation with the host company. They find what you lack in htaccess file.Ok. I'll do that.
Netherlord Posted September 14, 2015 Author Posted September 14, 2015 contacted host they have no idea. So dont know whats next!
chilihead Posted September 14, 2015 Posted September 14, 2015 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.
Adlago Posted September 14, 2015 Posted September 14, 2015 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>
Netherlord Posted September 19, 2015 Author Posted September 19, 2015 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!
Netherlord Posted September 19, 2015 Author Posted September 19, 2015 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.