If you’ve upgraded to WordPress 2.5 already, you’ve probably noticed a slightly improved look to your login screen. While improved, how sweet would it be to have a custom login screen for your weblog?
If you’re interested in checking out how to do this, Just Creative Design has written up a great tutorial on how to accomplish this, and it is surprisingly easy to accomplish. You can see their login screen here as an example.
As a follow up to yesterday’s post about WordPress permalink structure (where a good discussion took place in the comments), I decided today that I would dedicate a post to showing you how to switch your blog’s permalink structure without creating any invalid URL’s.
The easiest way to accomplish this is to grab the Permalink Redirect plugin (my plugin review here) and activate it. Once activated, when you go into the Settings panel you should find a new tab called Permalink Redirect. Scroll down to the bottom of the page and you should see this:
In the old permalink structures box, you can paste your current permalink structure there (depending on which you choose, something like /%year%/%monthnum%/%day%/%postname%/). If you are unsure what exactly to type, please refer to the permalink page on the WordPress Codex.
Now save and go to the Permalinks tab. Select the custom field and type /%postname%/, then save.
Now go to an old URL and it should automatically redirect you to the same post’s new URL. The search engines will see the 301 redirect and update accordingly!
Any questions? Feel free to comment below!
One of the great things about using WordPress is the built-in SEO advantages that this software gives you over building static pages or other blogging software. You have an advantage from the start over others not using WordPress! With that said, there are a lot of SEO techniques that need to be set up or applied by the user. The permalink structure is one of these that you can easily set up when creating your blog and then forget about it.
By default, your WordPress Dashboard gives you a 3 choices to choose from. The default permalink structure is a terrible option from an SEO standpoint and the other two aren’t bad, but they aren’t your best option. According to Matt Cutts at WordCamp 2007 (Matt is the lead guy for the Google Search team), the best permalink structure you can use is just the post title with hyphens. According to Matt:
- Don’t put your blog at the root of your domain.
- Name your directory “blog” instead of “WordPress”.
- In URLs, no spaces are worst, underscore are better, dashes or hyphens are best.
- Use alt tags on images: not only is it good accessibility, it is good SEO.
- Include keywords naturally in your posts.
- Make your post dates easy to find.
- Check your blog on a cell phone and/or iPhone.
- Use partial-text feeds if you want more page views; use full-text feeds if you want more loyal readers.
- Blogs should do standard pings.
- Standardize backlinks (don’t mix and match www with non-www).
- Use a permanent redirect (301) when moving to a new host.
- Don’t include the post date in your URL.
For WordPress users, this is easy to set up. Go into your blog’s Options panel and click on the Permalinks tab. You should see the following:
Click the custom radio button and type /%postname%/ into the field. This is the most ideal setup for your WordPress blog.
If you already have an established blog using another structure, you can easily use the Permalink Redirect WordPress plugin to redirect your posts to the new structure.
So, you have an established WordPress blog, but you’ve seen the pro bloggers doing it and now you want to turn that blog into a Content Management System (CMS)? Many people probably weren’t aware of this trick (including many web developers), but one neat feature added with WordPress 2.1 was the ability to have a different home and blog page without needing to install WordPress on a completely new directory.
In order to accomplish this, you first need to make sure that the page that you want to be your blog’s homepage is named home.php. This will be the page displayed at the root of your domain.
Next, you’ll want to create a new file named blog.php and place the following code within the file:
<?php
/*
Template Name: Blog
*/
// Which page of the blog are we on?
$paged = get_query_var('paged');
query_posts('cat=-0&paged='.$paged);
// make posts print only the first part with a link to rest of the post.
global $more;
$more = 0;
//load index to show blog
load_template(TEMPLATEPATH . '/index.php');
?>
That is all you need for code in that file. Upload it to your theme. This code creates a loop of your index.php file in your theme (commonly used as the single post page) and displays it as a typical blog homepage. Because this page will pull from your index.php file, going forward, any changes you make to your index.php file will update on this page as well.
Now, go into your dashboard and create a new page called Blog. Then select the Blog file you just created in the Page Template drop-down menu in the right sidebar.
Once that is done, the last thing you need to do is go over to your permalink structure page (under Manage) and add /blog/ to your custom permalink structure. This means if you are using an optimal permalink structure, you would want to use a custom structure of /blog/%postname%/. If you are doing this to an established blog, you can easily use the Permalink Redirect plugin to redirect your old permalink structure to the new one.
To see this in action, you can check out my personal blog, Kyle Eslick dot com. If you have any questions, feel free to post them below and I’ll do my best to answer them.
Edit: This was written for WordPress 2.1 through WordPress 2.3.3. It appears that a slight adjustment has been made for WordPress 2.5+. Readers have confirmed that you can find the information you for a WordPress 2.5+ install in this post.










