Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @akhtarjan,

    Thanks for using the Yoast SEO plugin.

    When you create a robots.txt file with the Yoast SEO plugin, it should have default directives as shown in this screenshot. It’s strange that yours is empty unless the contents were previously removed.

    I checked your virtual robots.txt file, created by WordPress, and it has the directives. You can copy those directives to the one created by Yoast SEO and save changes.

    Furthermore, it’s not every setting in the crawl optimization feature that’s meant to add a directive to your robots.txt file. For instance, the first three buttons you toggled ON are to remove unwanted URLs. To confirm they worked, view the page source and search for shortlink and it should not be there.

    If you toggle the buttons for the Internal site search cleanup, extra directives such as Disallow: /?s= Disallow: /page/*/?s= Disallow: /search/ will be added to the virtual file.

    One of your screenshots also shows /feed/ URLs. You should check out the Disable unwanted content formats feature. I highly recommend reading what each setting does before actually toggling the buttons – Yoast SEO settings: Crawl Optimization.

    Do let me know how it goes.

    • This reply was modified 1 year ago by Maybellyne.
    Thread Starter Akhtar Nawaz

    (@akhtarjan)

    Hi thanks for your feedback, If i add new text to the robots.txt file from Yoast SEO plugin. So it will be replaced right?

    The website URL is https://www.lisarichmondphotography.com/blog/

    Furthermore, i have wrote a text from chatgpt using your crawl optimization pormpt. can you take a look if it’s good.

    https://tinyurl.com/yqr5rlf8

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove unwanted URL’s’ is closed to new replies.