To hide the
/feed/ URLs from Google Search Console, you can use the robots.txt file to block search engines from crawling those pages. Here are the steps:
- Open a text editor and create a new file named
- Add the following code to the
robots.txtfile to block search engines from crawling the
- Save the
robots.txtfile and upload it to the root directory of your website using FTP or your website’s file manager.
By adding this code to your
robots.txt file, you’re telling search engines not to crawl the
/feed/ URLs on your website. This will prevent these pages from being indexed in Google and other search engines, which can help improve the SEO of your website.
However, it’s important to note that this will not prevent users from accessing the
/feed/ URLs directly if they know the URL. If you want to completely hide the
/feed/ URLs from users, you may need to use other methods such as modifying your website’s .htaccess file to redirect requests for the
/feed/ URLs to another page.