I would download a fresh copy of WordPress.
Then, I would open your current wp-config.php and the downloaded “fresh” copy of wp-config.php and compare any differences.
I would also look at my .htaccess file; and see if there are any unnecessary redirects.
Thread Starter
rekmit
(@rekmit)
Thanks for replying! I compared a newly downloaded wp-config-sample.php with my wp-config.php and the only differences I can see are the filled-in database name, username and password, and the keys for AUTH_KEY, etc.
This is what my .htaccess looks like:
# BEGIN WordPress
<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
Thread Starter
rekmit
(@rekmit)
Anyone?
It now appears that the problem is also there when I don’t work in my site. Highly annoying…
Thread Starter
rekmit
(@rekmit)
In the meantime, I have ruled-out that my problem is theme-related.
Actually I was convinced that it was, therefore I completely rebuilt one of the websites this is occurring on using the Genesis / Executive Pro theme (which took me quite a long time) – only to find out that it still happens.
Any thoughts on a possible fix would be greatly appreciated.
Did you find a solution? I have the same issue with http://www.turnersports.nl
I’m using the Virtue theme on a just installed WordPress 2.9.3 setup and the %postname% permalink structure.
First, I reset my browser. Things work well at that point. To reproduce the issue, I just keep visiting the four menu items, until suddenly either a product detail page appears or the message “This webpage has a redirect loop” appears. For some reason, it’s always a random product detail page.
Very weird: if Chrome goes wrong, and I fire up FireFox, then FireFox just works properly for several clicks. Resetting a browser does result in the correct page to be displayed.
I checked the http traffic for the browsers. A 301 Moved Permanently response is returned. I then tried the same thing using telnet, but then a 200 OK message appears.
telnet www.turnersports.nl 80
Trying 87.236.100.120...
Connected to www.turnersports.nl.
Escape character is '^]'.
GET /over-ons/ HTTP/1.1
host:www.turnersports.nl
HTTP/1.1 200 OK
Date: Fri, 29 Aug 2014 22:25:34 GMT
Server: Apache
X-Pingback: http://www.turnersports.nl/xmlrpc.php
Link: <http://www.turnersports.nl/?p=13>; rel=shortlink
X-SATserver: S=CLN01B D=832290 uS
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
I fail to understand the 301 message: why is it showing on one browser and not the other. Why is it never showing in terminal. If resetting the browser temporarily solves the issue, it sure sounds like cache, but why the HTTP response? And how does the webserver know about the
What I tried:
* deleted .htaccess and let WordPress generate a new one by modifying the permalinks setting
* reviewed all slugs and made sure they’re unique
* reset permalinks to standard – no problems occur
* using a different template for those product detail pages. No change
* tried Twenty Fourteen theme instead. Cleared cache. Error reoccurred. Cleared cache again. Error does not return. Then moved to Twenty Twelve theme and finally to my Virtue theme. Cannot reproduce the errors with any browser after clearing the cache.
Now I’m really lost. Why does it seem to work properly now? I cannot trust my site this way.
Thread Starter
rekmit
(@rekmit)
Hi, no I haven’t found a solution yet. I’ve moved 1 of the 2 sites this is happening on to another hosting provider, and the problem is gone. So I am pretty sure the problem is server-related. My original hosting company will move the other site to one of their other servers today, hope that helps.
So I would contact your hosting company about this, please let me know if they find the cause!
Thread Starter
rekmit
(@rekmit)
Ha! I see your site is also hosted with InternetToday, correct? Then it really must be a problem at their servers! If you contact them, refer to my ticket no #EWM-185-15262!
Yes, I do have quite some WordPress sites with InternetToday / Oxxa, without problems. This is the first one experiencing this problem. I have looked for the http-logs as I wanted to know what happens exactly. Couldn’t find them.
But my problems magically disappeared after I switched to TwentyFourteen, Twenty Ten and then back to the Virtue theme I was using.
I will raise a ticket with them today and refer to your ticket. But I don’t have a strong case as the issue got solved by fiddling with the themes I’m afraid.
Thread Starter
rekmit
(@rekmit)
Strange because my issues remain after switching themes. They take a while to reoccur, btw. I also have a couple of sites working well, it is really strange.