Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

I keep getting error code 500 internal server error WordPress

  • SOLVED

Hi,
I'm getting recurring error 500, internel server error.
It only happens when my posts are too long, so I have to shorten them and then they're ok and when I try to add custom headers (my other 6 custom headers have vanished completely, strange)
I haven't done anything apart from try a few different plugins yesterday to make an app for my site - but now I have deleted them.
I am a complete novice, so bear that in mind before taking the question on.
I am on free hosting.com so this may be the problem.


Thanks

Answers (5)

2012-07-15

Agus Setiawan answers:

delete .htaccess in your root (public_html) folder.


Agus Setiawan comments:

just delete .htaccess on your root folder :) hope that help.


jacksonja1 comments:

Can I just delete it without any side effects, or do I need to back something up, it is showing 0 bytes, does this mean it's empty?


Agus Setiawan comments:

let me help you to fix this


Agus Setiawan comments:

open up .htaccess, and put this code

# 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

that will resolve your problem


jacksonja1 comments:

What do you mean?


Agus Setiawan comments:

open up .htaccess, and put this code

# 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

that will resolve your problem


jacksonja1 comments:

Sorry, I wrote 'what do you mean after you wrote 'let me help you fix this', didnt see 2nd part.

Thanks


Agus Setiawan comments:

i mean, with your permission, please give me an access to your ftp / wp dashboard, i'll try to fix the problem.


jacksonja1 comments:

Yes no problem, I just asked Daniel Yoen the same thing, what do you need


Agus Setiawan comments:

i need an access to your ftp / wp dashboard


jacksonja1 comments:

do you have email? and if you sort the initial problem, would you be happy with $10 on top of the $30, I am fed up of the error code and really dont want to lose even a single piece of info I have put on the site.


Agus Setiawan comments:

this is my email : [email protected]

thank you.


Agus Setiawan comments:

"would you be happy with $10 on top of the $30" <~~ it's okay for me

2012-07-15

Manoj Raj answers:

More details please

2012-07-15

Arnav Joy answers:

talk to you hosting provider and ask them to provide log , you may get some understanding what is causing problem


jacksonja1 comments:

I am with free hosting.com and they have a rubbish Customer Service, it would take a week for a reply.
Thats a question for another time.


Arnav Joy comments:

try to disable all the plugins like "Daniel Yoen" said but remember there are some of the plugins which loses information when you reactivate them , so remember all the settings you made when the plugin is activated.


Arnav Joy comments:

can show header.php , single.php and other custom headers code.

2012-07-15

Daniel Yoen answers:

try to disable all plugins, and enable one by one, while you check.

or delete .htaccess file in root folder


jacksonja1 comments:

If I disable plugins, do all settings stay the same when I re-enable them? I have deleted all the ones I'm not using.
If that doesn't work I just delete the .htaccess file? is there any consequences to doing this?
Thanks for the rapid reply


Daniel Yoen comments:

you can rename .htaccess file, or back up before delete


Daniel Yoen comments:

you can disable plugins associated with the core, like a cache plugin or database plugin


jacksonja1 comments:

Sorry for my stupidness, so what you are saying is just rename the .htacess file in root and not delete it?


Daniel Yoen comments:

yes, just rename :)


jacksonja1 comments:

My .htaccess file is empty, well its showing 0 bytes. I renamed it (to htacces, missed the s off), but now I have .htaccess and .htacces files both showing 0 bytes. (picture attached)
I have now tried to add custom images but still get error code.
Thanks