Disable Static Blocks Url - by extrim25 - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 7 years, 9 months ago ago by Olga Barlow

  • Avatar: extrim25
    extrim25
    Participant
    March 26, 2017 at 18:22

    Good day,

    I need to disable direct access to page domain.com/staticblocks (it adds pages to Google, that I dont want to index (also cant disable it in Yoast Sitemap)).

    As I understand, I need to change ‘public’ => false at post-types.php of et-core-plugin? Or there is another method?

    Thanks in advance!

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 29, 2017 at 13:36

    Hello,

    Unfortunately, there is no option to hide that path. Use robots.txt file to disallow indexing

    https://torquemag.io/2015/04/wordpress-robots-txt-seo/

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.