• Resolved Oxygen89

    (@oxygen89)


    Hi All,

    I’ve created a html sitemap using a sitemap plugin by adding a shortcode to the sitemap page. When i view the sitemap page, at the bottom it also shows sitemap page. Why so?Am i doing something wrong?

    I’ve seen various sitemaps, where sitemap page is not shown.

    Could anyone suggest a solution to this.

    Site

Viewing 10 replies - 1 through 10 (of 10 total)
  • Well, your page called “sitemap” is a page like any other, so it seems reasonable that it should be in your sitemap. It’s at the end because it’s the last in the alphabet. You can suppress it with:

    .page_item.page-item-1761.current_page_item {
        display: none;
    }

    Thread Starter Oxygen89

    (@oxygen89)

    @electricfeet: But, i’ve seen so many sites without the sitemap page included in sitemap. Are they also suppress the sitemap page in sitemap or i’m doing something wrong with the creation html sitemap.

    Could you tell me is this the right way to create the sitemap. In my case, i used WP Sitemap Page plugin and included shortcode “[wp_sitemap_page]” in my sitemap page and published.

    Is this ok?

    Thanks

    Hello Oxgen,
    Actually excluding the sitemap page from your sitemap is quite easy.

    Step 1: Log into your admin and go to pages.
    Step 2: In your pages find the sitemap page, and if you rollover and look at the bottom left corner of your browser you’ll see the url for the page which will contain the post id for your sitemap page. Note the post id.
    ex : https://domain.com/wp-admin/post.php?post=35

    Step 3: Go into your settings option, click and open WP Sitemap Page options.
    Step 4: In the exclude pages input add the post id for your sitemap noted from step 2.
    Step 5: Save the changes and view your sitemap page on the website and its gone.

    Hope this helps. Please let me know if you were able to remove it.

    Warm Regards,

    Prasad.

    Thread Starter Oxygen89

    (@oxygen89)

    @prasad: Thanks for your response. I already removed sitemap link from my sitemap page, but, what i need to know is, is this the right way to approach for creating a html sitemap or should i go for a custom template?

    Thanks

    @oxygen89. thanks for letting me know. I am not sure i understand your question, you mean to ask, using a plugin to generate a sitemap is good or creating a custom template where you update the links using a widget or something is better? is that what you are asking? Personally, I feel the solution that you have right now, i mean, using a plugin and a shortcode is quite elegant and easy. But there are many much better experts out here who might be able to advise you correctly. I am pretty much a novice enthusiast trying to learn.

    Thanks.

    Thread Starter Oxygen89

    (@oxygen89)

    @prasad : My basic question is(it doesn’t matter right now what method we use to create a sitemap) whenever we create a sitemap, do we need to always suppress our sitemap link in sitemap page. Because in none of the sites, sitemap link is there in sitemap page.

    I hope i’m clear now.

    Thanks

    Please help correct me if you I am wrong, you mean that should the link to the sitemap page be there in the sitemap page or not isn’t it? Well, it’s a matter of aesthetic and common sense, because putting a link to sitemap page in the sitemap page is redundant and might confuse the user, so webmasters thinks it only obvious to omit the sitemap link from the sitemap page.

    Thanks.

    Thread Starter Oxygen89

    (@oxygen89)

    @prasad: Thanks man.

    @oxygen89: You are welcome sir.

    Thread Starter Oxygen89

    (@oxygen89)

    thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Sitemap’ is closed to new replies.