Build Your Own Business Website header image

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

Lesson 2 – Part 4 Creating the Permalinks and Category Structure

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects - ,

Applies to -

This video is part of our old WP eStore Course Go to our Updated WP eStore Course for current videos.

In this part of the lesson we’re going to set up our semantic URL structure via the permalink and our categories. We’re going to start off here by taking a look at  permalinks in WordPress. If we come back over here to our e-commerce website and look under Settings and Permalink, you can see now that the Default permalink setting creates a URL that looks just like this. That is it gives us our domain name, then a question mark, then the post id equals and then the post id number. For example if we go take a look at one of our pages, say if we look at Our Products page, you can see that this Permalink is actually estore2.byobtutorial.com/page_id=7, and from a search standpoint that sucks.

What you really want is a semantic URL here, a URL that gives people the idea of where they are in your e-commerce site. In our demonstration site here if we go over to one of our products, you can see that we have the thesisestore.com, and then our catalog and then our ebooks and this is the semantic URL structure versus this URL structure. We’re going to change those permalinks in WordPress. We select Change Permalink. Come down here and we’re going to use a Custom Structure but I want to populate that Custom Structure with something so I’m going to say Month and name first.  Next come down to the Custom Structure then take this monthnum and copy that and paste it over year and then in the monthnum place I’m going to type category. On our pages there won’t be a month number, there will just be a category and a post name. For our posts there will be a monthnum or month number, a category and our postname.

Date Numeric Element of the WordPress Permalink Structure

The reason why we keep this monthnum in in the permalink rather than just say having category and postname is because the way WordPress is set up. It makes indexing a large site more difficult if you don’t have some kind of a date numeric element to the permalink structure of a post. So you take a big performance hit on a large site if you don’t have some kind of a date element here. I chose to use monthnum because the date is not really important and so my customers don’t need to know that I posted this product in 2007 if I’m still selling the product today on my e-commerce site.

The 2007 bit probably doesn’t help them decide to buy it so I leave that out and only put in the month in which the post was posted. And actually this strategy is the strategy that I use on all my sites. I think the only reason why you wouldn’t do it this way is if there was some reason why the date of your posting is one of the principal elements in understanding and finding your site. And on an e-commerce website that’s not the case.

Then I’m going to save the changes in WordPress. Now that those changes are saved, we come back and refresh this and now you can see we have this opportunity to change this URL. I give the URL a page title of Our Products, a Custom Title Tag of Example Thesis Catalog Page and I don’t think “our” is really necessary here so I’m going to cut out “our” out of the URL. Now this page is called Products. That’s setting up the permalinks structure on our e-commerce site now let’s look at our categories.

Setting Up Categories

If we come back over here and we look at our example e-commerce website for just a moment and we look under Post, Categories you can see that I have a couple of post categories, that is Typical Posts and Fruit. Then I have product categories, that is Books, E Books, Software and Training. We’re going to create a Typical Post category and then we’re going to create these three categories in our new e-commerce website.

So let’s come back over here to our new e-commerce website and go over to Posts and Categories and the first one we’re going to create is a Typical Post in WordPress. It doesn’t have any parent so we can just say add the category. Then we’re going to create a product. If you need to you can add a description here. This is a product type, Add Category and then under our Product Types we’re going to add Books and now we pick a Parent for Product, add a category. And then we’ll do E-Books, pick our Parent, a Product and add the category. You can see we added these four types of posts. We have a Product, our E-Books and our Books and our Typical Post category.

That completes our lesson on setting up Permalinks and Category Structure in a WordPress based e-commerce website.

Save $200 on Membership Now!

Start learning today for as little as
$0.82 PER DAY!
THIS IS A LIMITED TIME OFFER!
Subscription Options
0 Comments… add one
0 comments… add one

Leave a Comment