Quantcast
Channel: Topic Tag: "internal server error" | WordPress.org
Viewing all articles
Browse latest Browse all 994

WP Own Directory, htaccess & Internal Server Errors

$
0
0

Hello all

I’ve followed, to the letter, the information provided here in order to install WP into its own directory.

I have made the necessary changes to the recommended htaccess file (i.e. domain and directory name).

The site loads as expected at our site but as soon as I make a post and try to view it, something goes wrong.

I contacted my host so they could check the logs and they advised me of the following –

jamieandmatt.uk [Sun Sep 10 22:45:24 2017] [error] [client 87.81.139.252:42986] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
jamieandmatt.uk [Sun Sep 10 22:48:30 2017] [error] [client 87.81.139.252:51959] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.

My htaccess file is as follows –

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?jamieandmatt.uk$
RewriteCond %{REQUEST_URI} !^/new-site/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /new-site/$1
RewriteCond %{HTTP_HOST} ^(www.)?jamieandmatt.uk$
RewriteRule ^(/)?$ new-site/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

Any ideas what’s wrong here? Thanks in advance.


Viewing all articles
Browse latest Browse all 994

Trending Articles