Notifications
Clear all

wpForo 1.x.x [Closed] Want to disable sitemaps

2 Posts
2 Users
0 Reactions
801 Views
Posts: 10
Topic starter
(@chs2019)
Active Member
Joined: 6 years ago

My site is private, and I do not want search engines to access it or bots to know the file structure.  I followed the instructions in post-41787 (harveysamui) - I disabled the User Profile Page indexing options in Dashboard > Forums > Settings > Features admin page, and I added the text below to functions.php, then deleted the cache:

function custom_wpforo_seo_options($options){
   $options['topics_sitemap'] = 0;
        return $options;
   }
add_filter('wpforo_seo_options', 'custom_wpforo_seo_options');

Neither of these worked; I still have complete access to the sitemaps.  I am running wpForo 1.7.0.  Any other options?

Thank you.

1 Reply
Alvina
Posts: 1862
Moderator
(@alvina)
Member
Joined: 5 years ago

Hi @chs2019,

Please follow this support topic:  https://wpforo.com/community/how-to-and-troubleshooting-2/uploads-get-indexed-by-search-engines/#post-35509