Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
500 Internal Server Error
#1
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?
Manager of a manufacturing workshop.
Reply
#2
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
My Github Repos: Github
Website: DigiMute
Reply
#3
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.
Manager of a manufacturing workshop.
Reply
#4
Use this in your htaccess file:

RewriteBase /

not

RewriteBase /cupboardsandcabinets.co.za/
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#5
Mr. Cagle Sir,

You are one big fat legend! Thanks! Works uh treayut!
Manager of a manufacturing workshop.
Reply
#6
Is there any way to make the non-www redirect to the www version, BTW?
Manager of a manufacturing workshop.
Reply
#7
Not a problem, glad to help. This should get you well on your way http://get-simple.info/forum/topic/286/f...-htaccess/
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#8
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.
Manager of a manufacturing workshop.
Reply
#9
There's a plugin for blog/news: http://get-simple.info/extend/plugin/dom...ognews/45/
Reply
#10
Sweet. Will check it out. Thanks!
Manager of a manufacturing workshop.
Reply
#11
Thanks for information. I am newbie in this forum and glad to join
Safety Training Odessa Texas
Reply




Users browsing this thread: 1 Guest(s)