Having a great construction in your website makes it simpler for readers to search out your content material. That is why WordPress provides classes and tags to correctly manage your content material. To study extra about them try Classes vs Tags information. As your website develop, you would possibly discover a want to alter the identify of your classes and/or merge them with different classes. On this article, we are going to present you the best way to correctly rename classes in WordPress with out affecting your search engine marketing methods.
WordPress has a pleasant class administration space, positioned at Posts » Classes.
On this web page you possibly can handle WordPress classes, edit present classes, and delete undesirable classes. There are two methods to rename classes, the Fast Edit approach, which lets you change a class identify and slug shortly.
With fast edit you possibly can change class identify and slug however if you wish to add description to a class then it’s essential click on on Edit. This may take you to class edit web page the place you possibly can change a class identify, slug and outline. You too can select a mother or father class on this web page.
You too can merge and bulk edit your classes and tags. By merging you possibly can mix two or extra classes into one.
One factor that you may want to remember is that altering a class slug will change the class URL. So in case you are utilizing that URL in your WordPress menu then the hyperlink within the menu is not going to replace itself. You would wish to manually replace that hyperlink to the brand new class url.
After you have renamed your WordPress class, you’ll need to setup correct redirection for engines like google and customers. Use our tutorial on the best way to monitor 404 pages and redirect them in WordPress. This methodology means that you can redirect customers coming from different websites in addition to engines like google to the proper class URL.
WordPress additionally means that you can change the
/class/ prefix in class URLs. It’s referred to as class base. To alter it go to Setttings » Permalinks and scroll all the way down to Elective. There you will notice a type to alter class base and tag base. For instance you possibly can change http://www.instance.com/class/your-category-slug/ to http://www.instance.com/matters/your-category-slug/.
Utilizing proper key phrases in your class names can enhance your website’s search engine marketing rankings. It additionally permits customers to simply navigate by means of your website’s content material.