• Resolved semperaye

    (@semperaye)


    How can we disable the /sample-page created by this plugin? The issue is that it’s showing up on SERPS when what should really be showing up is the /directory page I’ve created for the plugin. I’m talking about the “sample page” like in the following thread:
    https://wordpress.org/support/topic/change-directory-button-from-sample-page/

    Using a no-index meta tag is not possible because the page doesn’t exist in the normal wordpress pages, however…I suppose I could try to create /sample-page that way the plugin would actually reference an editable page. I know I could use robots.txt or google webmasters tools as a last resort…but robots.txt would probably be best so other search engines are not indexing that page.

    Please advise. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter semperaye

    (@semperaye)

    FYI: creating an actual /sample-page my wordpress is not possible, it will change itself to /sample-page2 because the BDP plugin has already created that page in the background somehow. So whats the best option, robots.txt? or can this be disabled? I would highly recommend an update to this plugin to solve this.

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi @semperaye,

    Sorry that you ran into issues here!

    I’m not entirely sure what is going on since I haven’t seen your site’s configuration. Perhaps let’s start with that:
    – On what page is your shortcode [businessdirectory]?
    – are there any other pages with this shortcode?
    – Have you flushed you server and browser caches after the recent change from the other thread?
    – Have you tried refreshing the permalinks as well? (Visit the Permalinks section of your admin dashboard, make any change, save it, undo the change. Save it again. And then flush the cache)

    Here’s what I can tell you:
    – BD only pays attention to the page on which the shortcode is created (for the sake of example here, say you put it on a page called “Directory” with a slug of /directory). BD will use /directory on ALL links that it controls.
    – BD will not randomly generate additional pages with other links that do NOT have /directory in front of them

    It’s possible, given that you saw this before you moved the shortcode from the front page of your site, that this is an artifact of the “old setup” and it needs to be purged. How exactly, I’m not sure, because I don’t really know how things are setup…but that’s my guess.

    Thread Starter semperaye

    (@semperaye)

    – On what page is your shortcode [businessdirectory]? /directory

    – are there any other pages with this shortcode? no unless BDP put it on it’s own hidden /sample-page because I had the shortcode on the front page originally and at that time the /sample-page had already been permanently deleted.

    – Have you flushed you server and browser caches after the recent change from the other thread? Yes. Many times.

    – Have you tried refreshing the permalinks as well? (Visit the Permalinks section of your admin dashboard, make any change, save it, undo the change. Save it again. And then flush the cache) Just tried that…twice…followed by a flush of all cache server and browser, it didn’t fix the problem.

    Ya I think it’s an artifact of the old setup. https://businessdirectoryplugin.com/sample-page is not found so it must be only created if the shortcode is put on the front page. If BDP is creating a /sample-page for use with the plugin because I put the code on my home page like you guys said it does, then were is this /sample-page stored since it’s not in my wp pages? Can I delete it via the database somehow? Maybe delete the plugin the reinstall it? If I delete it will the database be deleted too? Suggestions?

    Thanks!

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    I can tell you that BD would not be creating /sample-page for it’s own use even on the front page of your site.

    Contact us here offline and we’ll continue the discussion. Please include a link to this forum thread: http://businessdirectoryplugin.com/contact/

    Thread Starter semperaye

    (@semperaye)

    It is because when I disable the plugin the /sample-page is an error 404 not found, but when I reactivate BD its active again lol. Will do. Thank you.

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi @semperaye,

    We got your email about this and sent a reply a couple of days ago. Let’s keep the conversation there to avoid confusion and expedite it.

    Respond when you can.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to disable the Sample Page?’ is closed to new replies.