Once again, I am back with trick which will be beneficial for bloggers. I suppose if you are a blogger, you must have used WordPress once. We hare previously covered few WordPress articles including some of below.
Today, We will learn a trick that will make our website more SEO Friendly. Well this leads to a new word SEO which is actually not a new word in current scenario. Search Engine Optimization is a process of making your website search engine friendly so that you can maximize the reach via search engine and increase the performance of your website. A typical WordPress blog has options to choose from following permalink structure.
As you can see, We have set our website to create URL structure of Domain Name + Slash + Category Name + Slash + Postname + .html extension. You can customize whatever you want but by giving category in permalink your website pages are displayed in search engine as breadcrumbs. Lets make it clear with below screenshot.
But with the Permalink structure as we defined in Screenshot 1 is like below.
We see here Category also, but this is unwanted, we will love it it was without category, like below.
Now, All you have to do is need a help of plugin rather than messing with source code. I have mentioned earlier that it is also beneficial for better SEO.
Now, I assume, you have already installed SEO plugin. Plugins in WordPress are small to large piece of PHP code which can seamlessly work with WordPress and you need not to extra effort.
WordPress SEO by Yoast is one of the most used and most featured complete SEO management plugin for WordPress. We will take help of this plugin to get our job done. This plugin manages all kind of required META tags, Social META tags for Open Graph, Focus Keyword and like many features which do not require you to install or learn more complex SEO courses.
Now steps for Removing Base Category Slug from WordPress URL
Step 1: If earlier not installed, install WordPress SEO by Yoast plugin directly from WordPress plugin page or by downloading from above link and uploading. Then activate the plugin.
Step 2: You will see a SEO menu just below Settings menu in left panel of WordPress admin, hover on SEO and Choose Advanced. You can click on SEO to expand and then click on Advanced option too. Both are similar and open same page.
Step 3: Click on Permalink tab of Advanced options page.
Step 4: Now enable check-box in first option that says “Strip the category base (usually /category/ ) from the category URL” and Click on Save Changes button at the bottom of options page.
Great, you have done customizing. You have successfully completed all steps for remove category base slug from WordPress URL. Now lets have look at category links.
We will be back with lot more on WordPress and other topics, till then keep reading and provide feedback on out articles.