How to Fix Internal Server Error in Your WordPress Blog

error500HTTP 500 or Internal Server Error is one of the most common errors that blog users, especially beginners put in panic. If this happens to your site, don’t panic, relax, take a deep breath and I’m sure if you read this post, you’ll get your site running in no time.

But before we do that, let’s understand what is HTTP 500. HTTP 500 or Internal Server Error does not just happen to your site, but in the server you are at as well. It is one of the least helpful error because it won’t explain what brought you the error and what are its possible fixes.

Causes of 500 Internal Server Error in WordPress

  • PHP memory limit
  • Corrupted .htaccess file
  • plugin error
  • Corrupted WordPress core files
  • Internal Server Error When Accessing the administrator area

Increase PHP Memory Limit for WordPress

500 internal server error in WordPress can occur by exhausting your PHP memory limit. You can increase your PHP memory limit by editing your wp-config.php file inside your WordPress directory.

  • From your hosting control panel, Open the wp-config.php (or download wp-config.php using FTP client then open it using a code editor)
  • Add the following code just above the line that says /* That’s all, stop editing! Happy blogging. */
  • Save the changes(save and upload wp-config.php to your WordPress directory). Reload your site to see if this solution fixes the 500 internal server error.

Renaming .htaccess

.htaccess is a configuration file used by Apache-based web servers to help control how your visitors interact with your website. Rename your existing .htaccess file and see whether 500 internal server error on your site is due to a corrupted .htaccess file.

  • Open your FTP program and connect to your hosting account.(or go to File Manager tool from your hosting control panel)
  • locate your .htaccess file( You can find this file in your WordPress root directory).
  • Right click the file and select Rename. Rename your .htaccess file to something like .htaccess_old:
  • After renaming your .htaccess file, reload your site to see if this solution fixes the 500 internal server error.
  • If you still see the internal server error, change .htaccess_old back to .htaccess and try other solutions.
  • If you can no longer see the internal server error, recreate .htaccess File from WordPress admin dashboard( Login to WordPress admin dashboard, navigate to Settings -> Permalinks and click the Save button at the bottom of the screen) and check if the error persists.

Disable faulty plugin or two conflicting plugins

The WordPress 500 internal server error can be the result of a faulty plugin or two conflicting plugins.

  • Login to your WordPress admin dashboard >> Plugins and deactivate all of them first.
  • Reload your site to see if this solution fixes the internal server error. If so, it’s time to eliminate the problematic plugin.
  • Next, activate your plugins one by one while refreshing your site each time until the error reappears.
  • Just delete the responsible plugin via FTP and notify the developer of the error.

Repair your WordPress core files

The 500 internal server error in WordPress can cause by corrupted WordPress core files. To repair your WordPress core files, you must upload fresh versions of wp-admin and wp-includes folders.

  • Go to WordPress.org and download a fresh version of WordPress. Extract files from the WordPress .ZIP archive.
  • Upload(overwriting the older versions)the new wp-admin and wp-includes folders to WordPress directory via FTP.
  • Refresh your site to see if this fixes the error.

Internal Server Error When Accessing Admin Area

If you see the 500 internal server error only when you try to upload an image or login to your WordPress admin area, you can fix this by increasing the memory limit using following these steps:

  • Using preferred text editor, create a new file and add this code in there: memory=64MB
    Save the file as php.ini.
  • Ensure you get the extension (.ini) right by choosing All types in the Save as type field:
  • Upload this file to the wp-admin sub-folder within your WordPress directory using FTP.

More Interesing Articles for you!










How to Duplicate a WordPress Database Quickly

Duplicating a WordPress database makes you WordPress blog more flexible. Either you duplicate because you need a backup or you want to set up a development site for your themes or features, duplicating makes it hassle free.

A common duplicating method is to export a copy then re-import it into a new database on the same server. This is probably the easiest way before but things have changed.

Now we have an even better way to duplicate our WordPress database as quickly as possible.

This tip is based on phpMyAdmin operations so if your host is using a different way to manage databases, this is not for you.

Read the rest of the post here: http://wpmu.org/copy-wordpress-database/

More Interesing Articles for you!










How to Make a Command Line in Your WordPress Blog

commandlineIf you are a WordPress pro use, chances are you can get away with almost anything. Even the administrator panel seems to sluggish for you. Wouldn’t it be great if you can create an entirely new approach to your WordPress dashboard? Why not use a command line in it? Impossible? Not.

To have a command line in your WordPress, all you need is a code editor, a method to compress folders to .zip extension, your WordPress site with the ability to upload and activate plugins in the back-end.

What is great about it is you don’t have to code the entire thing from scratch.

Read the rest of the tutorial here: http://wpmu.org/wordpress-command-line/

More Interesing Articles for you!










How to Remove URL Field Form in WordPress Comments

removeurlfieldSpammers are attracted to WordPress blogs if in your comment section has a URL field in it. Having that field is not necessary to build interesting comments, spammers take advantage of it. If you have auto approval turned on, you might be surprised to ton of nonsense comments either to promote their website, or promote a brand. Getting rid of it is a harsh and tedious job.

If you want to get rid of spam, the cheapest way possible, have a look at this blog which shows how you can remove the URL field from your WordPress comments.

Read the rest of the post here:  http://wpmu.org/remove-wordpress-comments-url/

More Interesing Articles for you!










How to Prevent Google From Indexing Your Images

Images are very rampant online that you can’t tell whether someone is using their own images or just “borrowing” these images from its direct creators. If you are one of those people that are annoyed by how bloggers use your images or you want to make your personal pictures become invisible online, you can do so by preventing Google from indexing your page using either the meta keyword or editing your Robots.txt file.

With these codes, your images are expected to not appear not only on Google but in other search engines as well. This does not cover the images that were manually grabbed by your visitors in your blog.

Read how it’s done here: http://wphacks.com/how-to-prevent-google-from-indexing-your-images/

More Interesing Articles for you!










How to Add a Store to Your WordPress Blog

Depending on your blog, you may run into thinking of setting up a small store in your blog. This is a great way to earn extra cash to cover your web hosting costs as well as providing readers with useful resources. If you think adding a store in your blog is difficult, think again. This WordPress hack will explain how you can use your blog to set-up a small store. You need to purchase a niche store software, and be an affiliate partner to most stores related to your niche like eBay.

Remember that this method is not fit for most blogs because if your blog is not in one of the most popular niche that people would like to buy from, you won’t generate enough funds to cover for your costs.

Read the rest of the story here: http://wphacks.com/how-to-adding-a-store-to-your-wordpress-blog/

More Interesing Articles for you!










How to Add Your Own Widget Area in WordPress

Sometimes, WordPress themes don’t have the right number of widgets placed in proper locations. This can be frustrating because you like the theme, but couldn’t use it well because it lacks the number of widgets you need. Well, don’t you worry now because you can add your own widget area in WordPress. All you need to do is to register a sidebar using the register_sidebar() function, then customize the theme as you see fit. You can use HTML5 for customization. After that, you can now add a sidebar to your chosen theme. Add the following snippet to your footer.php:

<div>
<?php
// Custom widget Area Start
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Custom Widget Area') ) : ?>
<?php endif;
// Custom widget Area End
?>
</div>

Read the rest of the article here: http://www.cheesetoast.co.uk/add-custom-widget-sidebar-area-wordpress/

More Interesing Articles for you!










How To Use WordPress as Your Home Page

Do you know that you can use WordPress to be your homepage? It is not only possible but also very easy. It just needs a few steps. Creating a new WordPress page is one, then create another page for your recent posts, but you don’t have to create a content in it. You also need to modify some setting in the settings panel of your WordPress, modify some changes, and there you have it. Your WordPress now becomes your home page. To make it look more seamless and beautiful, you might need to modify your pages menu.

Read the rest of the instructions here: http://bloggingexperiment.com/archives/wordpress-page-as-home-page.php

More Interesing Articles for you!










How to Add Comments Bubble in Your WordPress Titles

If you have seen some blogs  where a number of comments in that particular post is displayed right next to the post title in a bubble, then envy no more because this article explains how  you can do it. You will just need to open your functions.php in your child theme (make sure to have a backup of this file in case something happens). Once you have opened the file, you need to create a new function called, childtheme_override_postheader_posttitle(). This function will override the parent themes postheader_posttitle function, which is used to display the title for each post.

 

Read more about it in this link: http://www.cheesetoast.co.uk/comments-bubble-for-wordpress-titles/

More Interesing Articles for you!










How to Exclude Post Categories in a Blog Page

If you are designing WordPress themes and you want to keep it clean, you may want to exclude some categories in a page that may not be relevant, or too unnecessary to have that many categories in a page. If you think it is difficult, you are wrong because this is very easy to do. This article explains how you can exclude post categories in a blog page by editing your index.php (or whichever you use to edit your blog post), then adding a line of code right before the loop. You can also do advanced arguments in this lecture where you’ll only show categories on a specific time of the day.

 

Read full article here: http://www.cheesetoast.co.uk/exclude-include-category-wordpress-blog-page/

More Interesing Articles for you!










How to Limit the Number of Words in WordPress Excerpt

If you want to avoid listing the full contents of the article, WordPress has a feature which allows you to create an excerpt of the post as a summary of the content. In this article, you’ll learn how to create and control post excerpts to be displayed in your blog. The article will also teach you on how you can customize “read more”.

There are several ways where you can limit the content to be displayed in your blog. If you input the <!—more–> tag, WordPress will interpret it as a breakpoint; therefore, only the preceding content  will be displayed on the page.

 

Read full story here: http://www.cheesetoast.co.uk/limit-number-word-length-wordpress-excerpt/

More Interesing Articles for you!










How To – Convert WordPress Theme to HTML5

HTML5 offers a lot of features and customization options you won’t find in HTML4.01. Why stick to outdated features when you can have the convenience of using HTML5 in your WordPress blog or website? This tutorial covers the things you have to do to convert your HTML4.01 WordPress theme to HTML5. You may find it as a long and tedious process than just using other themes that are built for HTML5 but if you already have created your own brand online, changing a theme is not recommended. Before changing to HTML5, you have to know that despite the features and powerful customization options, it is not yet fully supported on most browsers.

 

Read the tutorial here: http://skyje.com/how-to-convert-wordpress-theme-to-html5/

More Interesing Articles for you!










Include Stylesheets the Safe Way Using WordPress

There are several ways you can include files in the header. One way is to add the this code:  <script src=”…”></script> to your header but the better way you can do it is to use the WordPress function:  wp_enqueue_script(). In this way, you can safely include stylesheets in your WordPress and prevent you from starting over again just because there are errors in the header file. You can safely isolate these scripts and prevent ruining your page because it loads scripts that are dependent on another WordPress script where in this case: JQuery. Moreover, you can make use of this technique for other functions.

 

Read how to do it here: http://www.cheesetoast.co.uk/safely-include-scripts-style-files-wordpress-header/

More Interesing Articles for you!










How to Disable RSS Feeds in WordPress

WordPress RSS feeds help readers to your blog keep you updated. But if you are creating a business site without blogging feature, you won’t be needing RSS. RSS or Rich Site Summary or often dubbed Really Simple Syndication is a web format in which it is used to publish frequently updated works. Landing pages, static pages, and other non-blog pages don’t require RSS feeds. You might want to disable it or visitors might subscribe to your feed even if there is no feed to subscribe to, therefore leading people into false syndcation which might hurt your website.

 

Read the full article and the code in removing RSS in your website here: http://www.wprecipes.com/how-to-disable-rss-feeds-on-your-wordpress-blog

More Interesing Articles for you!










How to Add Responsive Slideshow to Your WordPress Theme

Creating a slideshow that will look good in either a computer or a mobile phone can be a daunting task. The good thing is that you can create a responsive slideshow to your WordPress theme using this trick. If you want to allure your customers with pictures and featured posts, then it is definitely recommended to use a slideshow in your theme. This method is an open-source solution which works well with mobile devices and can add options that you can customize to time the effects. Responsive slideshow by Codrops is a perfect code to deliver results the way you want it to be.

 

Read full story here: http://www.cheesetoast.co.uk/add-responsive-slideshow-wordpress-theme/

More Interesing Articles for you!










Use CSS to Write a Call to Action Button

Gone are the days where you have to create your own call to action button from scratch because with just a few lines of code, and some modifications to match your website’s design, you can do so by employing CSS codes. This is the advantage of CSS3 is that you can make buttons even without uploading images, designing a button, which means CTA button designers are not required. It can all be done with a few lines of codes, some modifications; however, you need to be knowledgeable in hexadecimal colors but there are tools which can help you visualize these colors without memorizing any hex colors.

 

Read full article here: http://www.cheesetoast.co.uk/css-call-action-button/

More Interesing Articles for you!










How to Create a Custom Thumbnail for Your WordPress Post

To make your blog more appealing to look at, use the post’s featured image as a thumbnail beside your latest post. Sometimes, WordPress’s default thumbnail sizes don’t fit the bill so this procedure will also help create sizes to any size you want. All you need to do is to edit a snippet that is located in your WordPress functions.php, add a few lines of code. Then attach an image of your post using featured images plugin.

After that, you need to edit a few lines of code into your index.php file or into single.php file if you want the posts to appear on the full articles.

 

Read full instructions here: http://www.cheesetoast.co.uk/create-custom-thumbnail-size-wordpress-posts/

More Interesing Articles for you!










How You Can Tweak WordPress For ECommerce

WordPress has now become the favorite of eCommerce sites because it is easy to setup, and quick to configure. If you don’t know, you don’t need to use any software to set up an eCommerce site in WordPress because with some tweaks, it can be a decent ecommerce platform out-of-the-box. Here are some suggestions that can tweak WordPress for eCommerce. Suggestions like updating your WordPress, managing permalinks, and using an ecommerce software that is a match in every element in your website. If you are like me, who needs to sell products but don’t have the time to tweak and configure it, read this post.

 

Know how you can tweak it here: http://wphacks.com/how-to-tweak-wordpress-ecommerce/

More Interesing Articles for you!










How to Build a WordPress Network Navigation Menu

WordPress allows their users to host multiple independent site. This feature is called ‘Multisite’ and it also allows WordPress users to share settings, content, and code between websites in your network.

When you want your readers help navigate through your network of sites, your in tough luck because MultiSite does not offer such feature. You either get a plugin to do it for you, or better yet make your own WordPress navigation menu by just copying and pasting this code snippet in  the functions.php of your WordPress file. It’s faster, easier, moreover, you will know what this code actually does.

 

Read full article here: http://www.wprecipes.com/wordpress-hack-how-to-build-a-network-navigation-menu

More Interesing Articles for you!