thegreatdanton
Member
Posted 1 year ago #
Hi, I'm receiving a internal server error message on my WordPress site (http://www.wavescafe.ie/). the home page is fine but if you click on any of the other pages then you get the error message.
I checked the error logs on my control panel and they're saying:
"Request exceeded the limit of 10 internal redirects due to probable configuration error."
I deactivated all plugins but still getting the error message. Can anyone please advise? Thank you
thegreatdanton
Member
Posted 1 year ago #
I have fixed it. There was a problem in the .htaccess file. It has the incorrect code. Everything seems to be ok now. New code is:
# 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
I clicked a few of your pages, but I'm not seeing an error message.
thegreatdanton
Member
Posted 1 year ago #
Thanks Bryan for replying. I fixed it. For some reason I had the following code in my .htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
# 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
Cool, nice work. (Please mark this topic as resolved.)