Categories
WordPress

How to Fix the 500 internal server error on WordPress

The 500 Internal Server error it is most common and general error, that will be shown when there’s a problem with the server or with the WordPress file system. It is the most unhelpful and nondescript bane of web developers everywhere. It’s a catchall error message that can literally mean anything.

500-Internal-Server-Error-PHP

Let’s have a look how to troubleshoot this error.

Backup your site

I am highly recommending to backup your site before proceeding this troubleshooting.  To find the core of the issue we will make changes in the root directory of the site. So if something will go wrong, you can always restore it.

 

Deactivate all your plugins

If you have access to your site from the back end, go to Plugins > All Plugins. Select all your plugins, choose “Deactivate” from Bulk Options and Apply changes.

Plugins Deactivate

Check if the 500 Internal Server error is gone from the front page. If it is gone, activate one plugin at the time to find out which one is causing this error.

If you don’t have access to the backend of your site, use FTP client of File Manager on your cPanel to access WordPress directory files.

Using FTP client

If you are already familiar with the FTP client, please skip this section.

If you are a PC user, please download FileZilla FTP Client from here.

For Mac Users try:

1.  Cyberduck; free FTP software designed for Macs
2.  Transmit – FTP software you purchase designed for Macs

Once you install FileZilla, use your domain name, username and password to access your host’s file manager.

And you are ready to go!

Access your site from the cPanel

First, log into cPanel. In the Files section, click on the File Manager icon.

cPanel > File ManagerClick to expand the public_html folder, nad you will see your WordPress site directory root.

 

Deactivate your plugins manually

Navigate to the /wp-content/plugins folder and rename the plugins folder to plugins.deactivate. All the plugins will be deactivated after this.

Check your front end if it is working, if it is working, if it is, rename back the plugins.deactivate to plugins. Open the plugins folder and start renaming each plugin folder one by one till the error disappears from your site. This will allow you to reactivate each plugin individually to isolate the offending plugin and resolve the 500 Internal Server Error.

 

Check the .htaccess file

Open your WordPress root directory in FileZilla or your preferred FTP client. This is typically called public_html. Locate the .htaccess file, download it to your computer to have a backup and delete it from your directory. Try to load your site again, if your site is back, congratulations!

Now, go into your WordPress admin area. Hover over Settings, and select Permalinks. Scroll down to the bottom of the page, and click Save Changes.

 

Increase your PHP Memory Limit

Sometimes this error can happen if you are exhausting your PHP memory limit.  To solve this issue, edit the wp-config.php file that is located in your WordPress directory, along with wp-admin and wp-include folders.

First, check if you have already the following code added:

define('WP_MEMORY_LIMIT', '64M');

if it already there changed the 64M to 256, if it is not, place the following line inside the file:

define('WP_MEMORY_LIMIT', '256M');

Save the file, and re-upload it to your root directory, overwriting the original file. Refresh the client, and refresh your site. If you still see the error, you are not having PHP memory limit issues. Remove the above code from the wp-config.php file on your computer, save it, and re-upload it to your root directory.

 

Ask your Hosting Provider

If nothing works, then you need to get in touch with your hosting provider. By looking at the server logs, they should be able to get to the bottom of things.

Categories
Blog

Firts look at Vienna [Photos] #wpmudevontour

Categories
Blog

How to start your own fashion blog

So, fashionistas, you wish to start a blog and have no clue what you need? Don’t worry, I am here to help you out!

First things first – make a plan!

So you have found your niche. However decide which topics you will cover; would it be an haute couture, a street fashion or a fashion gossip site?

Break your site into categories. This will help you to plan  and create your content. Here’s exactly what you need to do to plan an awesome blog:

  1. Start with a simple survey.
  2. Explore your topics.
  3. Know how often you can realistically publish.
  4. Plan your content.

 

Listen here to Helen Nugent, she has a point!

 

If you are also looking for more information about planning your blog, I really like this blog post ByRegina.com. It explains in detail how to plan your blog and set your goals.

Acquire a domain name!

If you are going to run a fashion blog, you gonna need a catchy name. Think of a name that will separate you from all the other fashion blog that are already online. The name needs to be small and rememberable.

At the same time, you need to find a domain name. Pick the perfect domain name that will represent your blog. Check the domain name availability at GoDaddy site.

For example, my domain name is nastia.rocks it is short, rememberable and with meaning 😉 .

Choose a hosting company

You can start small, choose a shared web hosting company.

Find a quality blog hosting company. Many hosting companies may be quite cheap, but you probably will regret that you spend your money on it, in the end. Your server will be down and your site will be loading slow most of the time.

My favorite is SiteGround, but of course, you can choose one of the WordPress most recommended.

Your site platform

And of course your blogging platform is going to be WordPress, you do not have to argue here, it is decided!

How your site will look like?

This is a very important step!  Statistically, your visitors will decide to read or not to read your content at first 3 seconds once they land on your site. 80% of your visitors will leave if they don’t like your site appearance.

There is a big amount of WordPress themes out there, you can choose free or a premium theme.

If you are low on budget, check out the WordPress theme directory. My favorite blog themes are Edge, Activello, Olsen & EasyBlog.

If you are curious, my site is built with the Upfront theme by WPMU DEV. Of course, there is a big gamma of premium themes, have a look at ThemeForest site for ideas.

Content

Always be original – that’s a law! Content matter the most and your site popularity is counting on it.

Break your content into smaller paragraphs so it’s easy to read (only 16% of people read posts word for word).

Instead of rushing through a post, follow these key moments to make a better post:

  1. Choose a topic.
  2. Write an opening line to draw more attention
  3. Separate your post to the points.
  4. Interact with your readers, create a call to action content to make your readers do something.
  5. Always check your post for mistakes. Spend some time fixing errors.
  6. Post blogs frequently, minimum once a week.

 

Have questions or you have something more to add? Post a comment below.