+

The 7 deadly sins of wordpress

 

1. Hi, My name is Admin:

When you’re setting up a new WordPress site, you’re given the choice to select your username. The username may be pre-populated with “admin”, but you should select another username, as the admin username is the most easily hacked. If you already use admin as your username you can change it with the following SQL

UPDATE wp_users SET user_login = 'Your New Username' WHERE user_login = 'admin';

You will need to login to you host cpanel and go to MySQL. Find the correct database and open it. Once the database is loaded copy the above line into the SQL area. Remember to set your new username before doing the change.

If you don’t feel like playing with sql commands then you can always use this plugin: WPVN

2. Default URL

The default urls on WP is http://www.yoursite.com/?p=120. This makes sense to WP but it doesn’t mean anything to your users or the search engines.

www.yoursite.com/buy-me-a-beer (*hint) means more to your users and it’s great for your SEO.

You can set your url via the settings -> permalinks.

Please note: You never, ever put your site url in the permalinks slot. You can use one of the following or combinations of them.

%year%

The year of the post, four digits, for example 2010

%monthnum%

Month of the year, for example 01

%day%

Day of the month, for example 11

%hour%

Hour of the day, for example 10

%minute%

Minute of the hour, for example 43

%second%

Second of the minute, for example 33

%postname%

A sanitized version of the title

%post_id%

The unique ID # of the post, for example 423

%category%

A sanitized version of the category name

%tag%

A sanitized version of the tag name (tag slug field on New/Edit Tag panel).

%author%

A sanitized version of the author name.

3. Comments from hell.

Comments should be very easy to use but still keep the spammers outs. So how do you do that, certainly not with using captchas. The easiest way is to activate Akismet, this will get rid of most of you spam for you. The plugin comes bundled with WP. All that you will need is a API key which you can get from here

4. Flying without backup

So your site is running without any backup?

So what happens if your site decides to go to the host in the sky, what will happen with you content? Will you have a copy somewhere and all your post comments? All gone. But it doesn’t have to end like that , you can still save your site. Simply install and setup WP-DB-Backup
With this plugin you can schedule a site backup when you want and you can even mail that backup to your email.

5. Hello Im wordpress 2.8.

Normally wordpress shows the version number in the header of your site, removing this is something that can help to make your site more secure. No need to be al flashy and broadcast your version number. The reason being is that if somebody feels like taking a shot at your site and they know which version it is they can easily lookup any vulnerabilities and get into your site. Here’s how you can remove it yourself. Add this to your theme’s functions.php file:

remove_action('wp_head', 'wp_generator');

Or, if you’d rather install a plugin, check out WP Remove WordPress Generator Meta Tag.

6.  Thou shall not speak to search engine.

To help you site be better SEO optimized I would recommend that you use the following plugins:

All in One SEO pack
Simple Google Sitemap XML

 

7. Slow site

How many times have you hit the back button while waiting for a site to load because it took too long to load? To stop this from happing to you, simply use these tools:

Use a site cache like W3 Total cache .

Optimize images for the web using WP Smush.it

You can check you sites loading time with Pingdom tools . This will show you which files are loading slow and also the file size of each.

Tagged with:

Leave a Comment

Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let us have a personal and meaningful conversation instead.