Just moved a concrete5 installation. Getting 500 Internal error.

Permalink
Hi everyone,

I have just finished developing my website on localhost (windows) xampp environment I have moved the files and database across to my linux based hosting.

I'm now receiving a 500 internal server error on every page except the home - take a look here:http://willastonbarbershop.com/...

Any help appreciated!

 
hostco replied on at Permalink Best Answer Reply
hostco
Hello,

This is being caused by the code you have added to your .htaccess file.

If you add index.php to your links the pages resolve fine.

http://willastonbarbershop.com/index.php/services/...

If the code in your .htaccess file does not look like the default code below, try replacing what you have with it.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
Job replied on at Permalink Reply
Job
I generally just turn off pretty URLs while I'm developing locally and rename .htaccess - It only seems to cause issues.