build-website-header
spacer-image
 

 

SEO Friendly Page and Post Names


When using WordPress as a website/website+blog as opposed to a blog you will mainly be creating pages and not posts.

 Pages and Posts are named differently and so we will look at them separately.

Page Names

The Page name consists of two parts:

Path to page + page name

It is possible to place a page under another page to form a hierarchy just as you do in a standard website. The page at the top of the hierarchy is the parent page.

The name of the parent page becomes part of the filename and so if we have a parent page called Widgets and two pages underneath this page; one called redwidgets and the other bluewidgets. Then the name for these pages would be:

  • widgets/redwidgets
  • widgets/bluewidgets

The Page name itself i.e. redwidgets is derived from the page title/and or page slug. You should always use a page slug and not just leave it to WordPress to create the name from the page title.

To make it Search engine friendly the page slug should contain your page keywords.

Post Names

Posts appear in several locations and so they have multiple names.

The name of a specific blog entry is called the permalink, which is defined as a URL that points to a specific blogging entry even after the entry has passed from the front page into the blog archives.-- Wikipedia

WordPress offers the ability to configure permalinks in a variety of ways.

The default option uses date and post name, which although it is widely supported, it isn't search engine or user friendly.

 If you are creating web pages then it is normal, and from a search engine and user perspective beneficial, to include the keywords in the page name,

Following the same logic, what is required in blog posts is that the blog page has the keywords in the post page name. To accomplish this you need to change the default permalink configuration.

Changing The Permalink Structure

This should  be done when setting up a new blog or for blogs that are relatively new and don't have many incoming links to old posts.

You need to choose Options>Permalinks from the admin control panel and you will see a list of options. The one I use results in post names like:

http://blog.copeconsulting.co.uk/ppc/adwords-keyword-tool/

which as you can see includes the post keywords (highlighted). The name of the post includes the post category and the post name and is accomplished by setting the Custom option to:

/%category%/%postname%/

as shown in the screenshot below:

 

wordpress permalinks

Once set you need to click the Update Permalink structure for this to take effect.

You should note that for the above to work WordPress needs to be able to edit the .htaccess file. If you don't have access to this file on your server then the method above won't work for you.

The WordPress documentation states that if WordPress can't access the .htaccess file it will display the changes on the screen so you can do it manually.

When working on my WordPress install it didn't do it for me. If you need to manually edit it this is what it should contain .

If you don't have access to the .htaccess file then you can still use a similar format to the above but you will need to proceed your custom tags with index.php.

So that the above would be

index.php/%category%/%postname%/

e.g.

http://blog.copeconsulting.co.uk/index.php/ppc/adwords-keyword-tool/

this is the so called pathinfo method. The structure seems strange and I find the links appear strange but it is search engine friendly.

 



Course Index              Next lesson