WordPress.org

Support

Support » Plugins and Hacks » WP Realtime Sitemap » [Resolved] [Plugin: WP Realtime Sitemap] Excluding

[Resolved] [Plugin: WP Realtime Sitemap] Excluding

Viewing 15 replies - 1 through 15 (of 33 total)
  • Plugin Author Rincewind

    @rincewind

    There isn’t no, how do you hide them at the moment ? by category ? or by individual id’s ?

    kiralyandras

    @kiralyandras

    I do not hide them at the moment. This is exactly what i would like to do and i don’t mind the way to do it (just the result). Those pages are not hidden because i need them but not in the sitemap.

    Plugin Author Rincewind

    @rincewind

    Sorry what I meant was are they currently showing in the navigation on your site as it stands at the moment, ? disregarding what is showing in the sitemap created by my plugin.

    If they are showing and you dont wish this, why dont you change the visibility of the pages to private ? this will remove them from the sitemap created by my plugin, and it will also remove them from the navigation on your site, you will still be able to view these pages if you know there path, they just wont be in the navigation.

    Hope this helps, if not please say.

    kiralyandras

    @kiralyandras

    The navigation is custom made and therefore contains only the elements what i need. At first i thought hiding is not a solution, because in that case the functionality will break, but i tested it and i can say it is a real solution. For example i have a blank prepared page for the result list of Google custom search which is hidden now and the searching still works, so now i am happy.

    Thanks for the idea!

    Plugin Author Rincewind

    @rincewind

    No worries glad its working for you.

    I tried setting the pages I wanted to exclude to private, but then I get an error that they are not found when I navigate to them. The pages are payment cancellation confirmation and payment success confirmation (thank you) pages after a visitor pays with PayPal. When PayPal goes back to the page (which is just the URL), the “Sorry this page is not found” page is displayed with the search box (if I set them to Private).

    I would like to exclude them from the sitemap.

    Thanks,
    Karen

    Plugin Author Rincewind

    @rincewind

    Hi Karen,

    This is a problem you have with WordPress itself and not my plugin, however can you confirm that each page you dont wish to be shown on the site is :-

    a) has its status set to “published”.
    b) has its visibility set to “private”.

    If both these are true, then its a problem with WordPress and unfortunately I am unable to help any further, if there not true, then please correct this and you will find it will work just like it does for the other user above.

    I too needed to generate a sitemap that only displays the pages that are actually in use on the site. I made a small modifictaion to the plugin to use wp_nav_menu instead of wp_list_pages and that seems to work. However, it would be nice if that were an option, since the nav menu actually has a list of pages that are in use.

    Plugin Author Rincewind

    @rincewind

    If a page is not in use then should this page not be either deleted or have its status set to draft, at which point it will no longer appear on the sitemap.

    Sorry,

    I did not see the first two replies for some reason.

    The pages are public pages and have to be; however, they only display when a user follows a specific path: either making a successful payment from PayPal or cancelling their payment from PayPal. Thus, these pages are not linked to any pages within the site except the PayPal buttons themselves. These pages must be published and they must be public so that they will display, and without a password requirement when the user either successfully completes a payment or cancels a payment.

    Since these pages do not make sense for a user in any other context, I would like to exclude them from the sitemap.

    Thanks,
    Karen

    Plugin Author Rincewind

    @rincewind

    Hi Karen,

    I have already explained to you how to do this.

    My plugin will only show pages/posts that have a status of published, therefore if my plugin is showing these pages then you have them as published on your blog and therefore they should be shown, if this is not what you want then you need to change the pages/posts to be private.

    The status should be set to published first, then change the visibility from public to private, when you have done this wordpress itself will change the status to privately published, and my plugin will no longer display the pages/posts that are set like this on the sitemap.

    Okay,

    Thanks for the explanation again; however, as I said these pages must remain public. I’ll just have to leave them in the sitemap.

    Thanks,
    Karen

    Hi Rincewind.

    Thanks for the reply.

    Perhaps I should have worded it differently.

    For example: I may have pages where the content is being pulled from a page, but not linked anywhere on the site. I may have Page’s listed in the footer nav that aren’t part of the main site’s navigation that I don’t want to appear in the Sitemap. I have pages that make up for the shortcomings in Custom Post Types that I don’t want to appear in the site map, but they are actually in use. It seems a little odd to force every page on the site to appear in the Sitemap when there’s already a function that displays only the pages that are part of the site’s navigation.

    Plugin Author Rincewind

    @rincewind

    Hi Karen,

    You dont seem to understand what it is that I am trying to explain, the pages themselves are still public and will not require a password or anything like that for them to be viewable.

    They can be viewed by anyone that knows the url to the pages, so will work perfectly fine for you as paypal will be redirecting the user to the urls and the page will load perfectly fine.

    Why dont you just try it and you will see what I mean.

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘[Resolved] [Plugin: WP Realtime Sitemap] Excluding’ is closed to new replies.
Skip to toolbar