The post How to Create XML Sitemaps with SEO Plugins Like Yoast, All-In-One, and Rank Math appeared first on PluginsForWP.
]]>Although sitemaps are vital in increasing your chances of ranking higher on search engines, new WordPress users often dismiss them because they think it’s a complex process to generate them.
This article will show you how to create XML sitemaps using the most popular WordPress SEO plugins: Yoast, All in One, and RankMath.
XML sitemaps are essential for web admins to help search engines crawl and index their websites efficiently.
They are files to help understand the structure and content of your website, making it easier for search engines to discover and index your web pages.
Here are some of the many benefits of generating a sitemap:
Now that you understand the use and importance of sitemaps, let’s learn how to create them in different ways.
Yoast is one of the most popular WordPress SEO plugins used by millions.

It’s easy to use, has many features, and is well-coded.
By default, Yoast will create an XML file after activating it for the first time, and you can view it using this link:
https://sample.com/sitemap_index.xml
Make sure to replace sample.com with your actual domain name.
If you can’t access the sitemap, it’s easy to make it yourself.
Follow these steps to generate XML sitemaps with Yoast quickly:
Activate the Yoast SEO plugin.
Navigate into the Settings -> General -> Site features screen and scroll to the bottom of the page to the APIs section.
Enable the XML feature by turning the toggle on.
Click on the View the XML sitemap button to visit its page.
Once the sitemap page loaded successfully, click the different links to ensure it works properly.

Yoast is one of many great SEO plugins. Keep reading if you use a different one, such as AIOSEO or RankMath.
Like the other SEO plugins, the All-In-One plugin will generate an XML sitemap page by default after activating it, and you can find it here:
https://sample.com/sitemap.xml
Again, please replace sample.com with your actual domain name.
If you can’t see the page or it doesn’t exist, create the XML sitemaps yourself.
Follow the steps below to generate an XML sitemap with the All-In-One SEO plugin:



The sitemap page will be populated with links to your pages, posts, custom post types, and taxonomies.

If RankMath is the SEO plugin of your choice rather than AIO, read the following section.
Rank Math is another powerful SEO plugin for WordPress. Like the other two above, this also enables the sitemap feature by default.

To view the XML sitemap page made by Rank Math, follow this link:
https://sample.com/sitemap_index.xml
Remember to replace the sample.com with your actual domain name.
You can also use Rank Math to create the sitemap page yourself by following these steps:


In addition, I highly recommend you enable the breadcrumbs option as well.
Like the Yoast and AIO plugins, this XML sitemap page will also be filled with structural links to your website.

The three SEO plugins we covered above have the sitemap as an option out of many others. Use an SEO plugin to improve all aspects of your website, like content, images, link building, and more.
However, check the few options below if you only want to add a sitemap to your website without using a full-blown SEO plugin.
There are many tactics and strategies to improve the SEO of a website, and the plugins above will tackle it from every possible angle.
However, those plugins may be overwhelming if you only want to add a simple XML sitemap to your WordPress website.
Instead, you can install simpler plugins that will do this task only. In this section, we will explore a couple of the options.
This plugin will generate a sitemap page for your website with various links to the different pages.

By default, activating the plugin will create the sitemap page, and you’re not required to take any further actions.
However, you can access its Settings page to modify and control which pages will be linked.
For example, if you want to add custom post-type pages to your sitemap, navigate to Settings -> XML-Sitemap and enable the box under the content section.

After updating the options, visit your sitemap page by adding sitemap.xml to your domain name.
The WP Sitemap Page is another excellent option to choose from.

The significant advantage of this plugin is the option to name your sitemap page however you prefer.
Once you activate the plugin, please create a new page for your website and name it Sitemap (or any other name).
Then, add the [wp_sitemap_page] shortcode into the page builder or Gutenberg shortcode block, and click publish.

Then, visit the new sitemap page to ensure the shortcode generated the content.

You can also modify the default output to add or exclude links from your XML sitemap from the Settings -> WP Sitemap Page screen.
Remember to save the changes and revisit the page to verify that the changes are in effect.
Sitemaps are vital for every website, but generating them is only the first step out of two.
To maximize the benefit of the XML sitemaps, you’ll need to submit and notify Google about it.
First, navigate to Google Search Console to access your search console’s dashboard.
If you still need to, follow the video below and add your website as a new property.
Once you added and verified your domain name, click on the Sitemaps option in your dashboard.
Then, enter your sitemap URL address into the XML Sitemap field and click Submit.

Google will crawl the sitemap URL and will indicate if there are any issues accessing any of the links.
In addition, I recommend you add a link to the sitemap page by editing your site’s footer to be accessible for humans as well.
Ranking high on search engines is an evolving process involving many variables and tactics.
XML sitemaps are one of the most critical components that every website owner should prioritize. It guarantees every page on your website will be noticed and crawled.
This article showed you how to add an XML sitemap to your website and submit it to Google afterward.
The post How to Create XML Sitemaps with SEO Plugins Like Yoast, All-In-One, and Rank Math appeared first on PluginsForWP.
]]>The post How to Enable and Add Breadcrumbs in Rank Math Plugin appeared first on PluginsForWP.
]]>The breadcrumbs structure will list all the parent pages in a hierarchical order and position the current page at its end.
Each of the pages in the breadcrumb is a hypertext link for easier access to the top-level pages.
This article will teach you how to enable and display breadcrumbs with the Rank Math SEO plugin in WordPress.
Here are the steps to enable and display breadcrumbs with the Rank Math plugin.
To start using the breadcrumbs function, we will first need to enable it inside the Rank Math plugin.
Add the breadcrumbs to your website with a PHP function, shortcode, or an Elementor widget.
It’s possible to modify the default breadcrumbs settings, like changing the separator character or the homepage label.
The sections below will explain each of the steps in-depth.
Out of the box, the breadcrumbs function of Rank Math is disabled.
To start displaying the breadcrumbs on any page or a post, we must first enable that option.
Therefore, navigate to Rank Math -> General Settings -> Breadcrumbs and toggle the enable breadcrumbs option.

Once activated, you’ll be able to display the breadcrumbs by using a PHP function or a shortcode.
Displaying breadcrumbs with Rank Math is easy, and you can do it in multiple ways:
We will explore all options, and let’s start with the function.
You can insert the following breadcrumbs function inside your WordPress template files or within the loop.
<?php if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); ?>
Use an FTP account to access your core files or from inside the native file editor at Appearance -> Theme file editor.

Tip: make sure to backup your website before modifying the core files.
Once saved, visit one of your posts or pages and verify that you can see the breadcrumbs.
My preferred method is to display the breadcrumbs with a shortcode because it does not require us to edit any file.
You can use the [rank_math_breadcrumb] shortcode to display the breadcrumbs in a template widget on a single page.
For example, to show the breadcrumbs on a single page or post, add the shortcode Gutenberg block and insert the shortcode.

Once saved, visit the page and verify that the shortcode was executed correctly.
If you’re using a custom post type instead, you won’t be able to use the Gutenberg editor. In that case, switch to the editor view and paste the shortcode there.

We can also use the shortcode option with the Elementor page builder plugin.
Elementor is probably one of the most popular page builder plugins for WordPress.
As we showed in the last section, you can use the Elementor shortcode widget to display breadcrumbs.
First, drag the shortcode widget to your desired position on the right and paste the shortcode.

Once applied and saved, you’ll see the breadcrumbs where you positioned them.
The pro version of Rank Math includes a dedicated widget that they developed specifically for Elementor users. You can get the pro version from the official website for the total price or from us for only $4.99.
Once you activate Rank Math Pro, open the Elementor editor screen and search for the breadcrumbs widget.

Once you dragged it to the desired position on the right, style and customized it like any other widget using the Style and Advanced tabs.

Once finished, make sure to save the changes and revisit the page.
Keep it if you’re satisfied with your breadcrumbs’ structure behavior and look. However, you do have the option to change it to fit your website’s needs better.
For example, you can change the default separator character from a dash (—) to an arrow. By navigating to the breadcrumbs tab and selecting your favorite character, you can do that.

Another exciting option is to show all ancestor categories for the child category. By default, this option is disabled, but you can change it by enabling that option.

Once enabled, the breadcrumbs will show all categories of a blog post. For example, if one of your website’s posts teaches how to make pasta, the child category Italian will be displayed in addition to the parent category Food.
Feel free to read more about displaying category descriptions and different ways to remove categories from URLs in WordPress.
After making any changes, scroll to the bottom of the page and click on the save settings button.
This article taught you to enable and display breadcrumbs with the Rank Math SEO WordPress plugin.
Please leave us a comment and tell us which one of the ways above you used to achieve this task.
The post How to Enable and Add Breadcrumbs in Rank Math Plugin appeared first on PluginsForWP.
]]>The post How to Remove the Category from WordPress URL (3 Methods) appeared first on PluginsForWP.
]]>Including the category name in the URL will help your users and search engines better understand and index your website.
The URL structure indicates what the post and the category are about to the readers.
Moreover, because every WordPress category has its archive page, the category name in the URL simplifies the navigation into that specific archive page.
However, some will say, and for a good reason, that a cleaner URL is more user-friendly and will benefit the overall SEO of your website.
Therefore, this article will teach you how to remove the category from the URL in every possible way.
There are many good reasons why to remove the category name from the URL, and here are only some of them:
Now that you know in which cases you should remove the category base from the URL, let’s move on and learn how to do it.
You can remove the category name from WordPress URL in three different methods:
All the methods that I’ll show you are simple and easy to follow and will initially do the same thing.
Please remember to create a 301 redirect rule for your blog posts after changing the link structure of your website.
It doesn’t require installing any plugin or using any codes because we will do it from the native WordPress dashboard.
This is the easiest way to remove the category from the link and, therefore, my preferred method.
Navigate to setting -> permalink and choose the custom structure option.
Add the category variable to the left of the URL slug and fill the category base field with a dot.
Save the changes and visit one of your blog posts to verify the new link structure.
No configuration is required when using the Remove Category URL plugin, making it another excellent option.
From your WordPress dashboard, navigate to plugins -> add new and search for Remove Category URL.

Activating the plugin is the only thing you’ll need to do to make it work.
Once activated, the plugin will remove ‘/category‘ from your category permalinks. (e.g. `/category/my-category/` to `/my-category/`).
Please note: deactivating the plugin will revert this process and the URL structure to what it used to be before the changes.
Here is another excellent method to remove the category from the URL structure because most of us already use an SEO plugin.
In this part, we will strip the category base from the URL with Yoast or RankMath plugins.
If you have Yoast activated on your WordPress website, you’re in luck.
Navigate to SEO -> search Appearance and enter into the taxonomies tab.

There, scroll to the bottom of the page and enable the ‘remove the categories prefix‘ option.

Enabling this feature will remove that /category/ prefix for categories only.
RankMath is another popular SEO plugin that quickly strips the category from the URL.
Once activated the plugin on your WordPress website, navigate to the Rank Math -> general settings screen.
There, toggle the Strip Category Base option to save the changes.

Just like we did earlier, enter one of your categories archive pages and verify that the category was removed from the URL successfully.
In this article, you learned how to remove the category from WordPress URL in every possible way.
Removing the category base from the URL is an excellent way to optimize your taxonomies pages. To take it a step further, learn how to display the category description in WordPress.
Leave us a comment and tell us which method you used to achieve this task.
The post How to Remove the Category from WordPress URL (3 Methods) appeared first on PluginsForWP.
]]>