WordPress.org

Support

Support » Miscellaneous » get rid of brokrn links

get rid of brokrn links

  • Hi
    I have few post url’s, i dont want google to crawl those url’s which resulted in broken links.
    Please suggest a solution.

    I thought of 301 redirects, is it a best and last solution

Viewing 1 replies (of 1 total)
  • You just want to prevent the pages from being picked up by search engines? A simple robots.txt in the root directory should take care of that:

    User-agent: *
    Disallow:
    Disallow: /path/to/file.html
    Disallow: /wordpress/2013/04/02/broken-links/

    Why not just fix the broken links, or am I misunderstanding something?

Viewing 1 replies (of 1 total)
  • The topic ‘get rid of brokrn links’ is closed to new replies.