GetSimple Support Forum

Full Version: 500 Internal Server Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I recently built a site with this fantastic CMS: http://www.cupboardsandcabinets.co.za/

I wanted to use the .htaccess file to redirect the non-www version of the site to the www version.
I made the necessary changes to the htaccess file and uploaded it, but it crashed the site. No problem. I just uploaded the original htaccess file, but alas, the site still gives a 500 Internal Server Error message, even with the original htaccess file.

Now, the home page displays fine. It's when you click on links to the other pages that it throws out this error.

Here's the current htaccess code:

AddDefaultCharset UTF-8
RewriteEngine on

RewriteBase /cupboardsandcabinets.co.za/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [QSA,L]

I enabled debug mode, but I suspect this won't help solve the issue, right?
Site is working fine with fancy urls's turned off.

Is mod_rewrite enabled?

Turn it off in settings and see if everything works.

I can browse not problem to

http://www.cupboardsandcabinets.co.za/in...p?id=about
http://www.cupboardsandcabinets.co.za/in...id=contact
Hi n00dles101,

Thanks for the reply.

OK, I turned off mod_rewrite, and it works. But is there a way to make it work with SEF URLs? I much prefer it to be pretty.

Thanks again for the reply :-) Really appreciated.
Use this in your htaccess file:

RewriteBase /

not

RewriteBase /cupboardsandcabinets.co.za/
Mr. Cagle Sir,

You are one big fat legend! Thanks! Works uh treayut!
Is there any way to make the non-www redirect to the www version, BTW?
Not a problem, glad to help. This should get you well on your way http://get-simple.info/forum/topic/286/f...-htaccess/
Thanks! Worked! This is a fantastic little system. Pity it doesn't have a blog, else I'd use it for my own sites too.
Sweet. Will check it out. Thanks!
Thanks for information. I am newbie in this forum and glad to join
Safety Training Odessa Texas