Hierarchical vs Flat sitemap

I want to create a sitemap for my e-commerce website.

On the home page, there is a multi-level menu like this:

enter image description here

User can click on any of the following links from the Home Page:

  1. Fashion: enter fashion department
  2. Fashion > *Women: enter the Women‘s sub-department under Fashion
  3. Fashion > women > Shoes -> enter shoes unit under women

There are also pages link Help and About Us that use can navigate to from Home Page.

With respect to SEO, which is the better way to create a site-map?

enter image description here

So user have 2 ways to navigate to Women‘s sub-department, either directly through Home page or by navigating from Home to Fashion and then to Women page.

Are tabs and/or steps in a wizard displayed as separate boxes in a sitemap diagram?

I’m creating a sitemap for an enterprise application.

For one section in the application, there is an edit calendar feature. Once clicked on, there are three sections/or different types of calendars to set up.

  1. Start/end dates for the entire project
  2. Blocked-out dates (holidays and nonworking days, etc.)
  3. Start/end dates for specific tasks within the project

We currently use a step wizard to edit the calendar so the user has to set up the dates in that order.

In my sitemap, do I draw out each step as a separate box, or would that go in a separate user flow diagram?

Sitemap sketch

Have custom post type posts show under regular posts in sitemap (Yoast)

I have a custom post type called FAQs, and I’m using Yoast SEO to generate a sitemap. The sitemap gets generated like it should, but it creates a completely separate sitemap for the FAQ post type, so example.com/faq-sitemap.xml. That makes sense, but I’m wondering if there’s a way I could keep the custom post type of FAQ but have the FAQ posts show up under the example.com/post-sitemap.xml instead, and then example.com/faq-sitemap.xml wouldn’t even exist anymore.

Here’s the code to create the custom post type.

function create_faq_post_type() { // Set UI labels for Custom Post Type $  labels = array(     'name'                => _x( 'FAQs', 'Post Type General Name' ),     'singular_name'       => _x( 'FAQ', 'Post Type Singular Name' ),     'menu_name'           => __( 'FAQs' ),     'parent_item_colon'   => __( 'Parent FAQ' ),     'all_items'           => __( 'All FAQs' ),     'view_item'           => __( 'View FAQ' ),     'add_new_item'        => __( 'Add New FAQ' ),     'add_new'             => __( 'Add New' ),     'edit_item'           => __( 'Edit FAQ' ),     'update_item'         => __( 'Update FAQ' ),     'search_items'        => __( 'Search FAQ' ),     'not_found'           => __( 'Not Found' ),     'not_found_in_trash'  => __( 'Not found in Trash' ) );  // Set other options for Custom Post Type $  args = array(     'label'               => __( 'faqs' ),     'description'         => __( 'frequently asked questions' ),     'labels'              => $  labels,     // Features this CPT supports in Post Editor     'supports'            => array( 'title', 'editor', 'thumbnail', 'author', 'comments', 'custom-fields' ),     'hierarchical'        => true,     'public'              => true,     'show_ui'             => true,     'show_in_menu'        => true,     'show_in_nav_menus'   => true,     'show_in_admin_bar'   => true,     'menu_position'       => 5,     'can_export'          => true,     'has_archive'         => true,     'exclude_from_search' => false,     'publicly_queryable'  => true,     'taxonomies'  => array( 'category', 'post_tag' ),     'rewrite' => array('slug' => '%category%') );  // Registering faq custom post type register_post_type( 'faq', $  args ); }  // Hooking up the faq custom post type function to theme setup add_action( 'init', 'create_faq_post_type', 0 ); 

Kind of a weird request, but that’s what the SEO is wanting to do unfortunately.

Google Search Console – Adding Domain/Subdomain and sitemap for each

I have a WP website http://testexample.com and created a new subdomain with separate content and URL http://subdomain.testexample.com and I need to register both sites in Google Search Console now. The idea is that both sites are visible on Google and to be SEO optimized for different content they have. What is the best way to do this:

1) Add a new property type (Domain) of a testexample.com (without http and www) and after that just to submit both sitemaps (http://testexample.com/sitemap.xml and http://subdomain.testexample.com/sitemap.xml)

2) Add a new property type (URL Prefix) for both sites (http://testexample.com and http://subdomain.testexample.com) and a separate XML file for both sites in the correct property where they belong.

3) Or some other way?


How do I update the sitemap in D7?

I want to exclude some pages from the sitemap.

I go to these pages/nodes, edit them, then go to the XML sitemap tab and set it to ‘Exclude’.

I then save and clear cache.

But when I look at my sitemap.xml file nothing is changed – the page URLs are still present.

How do I remove them?

Removed Sitemap, Search Console errors still there

I recently removed an old sitemap from Search Console because it was full of duplicates and pages that no longer exist – and we already have a new, more up to date sitemap. However when I look at coverage errors in Search Console I’m still seeing all the errors that were caused by the old sitemap. A lot of these are 404s for pages that no longer exist and therefore should not be crawled.

I now know that Search Console doesn’t forget about these errors just because the old sitemap is gone, but how am I supposed to resolve these errors? Will Google keep crawling these error pages even without the old sitemap? And how am I supposed to stop it from crawling 404 pages – it’s not like I can NoIndex or 301 Redirect a page that doesn’t exist!
Help would be greatly appreciated.