What is Robots.txt & What Can You Do With It

Поделиться
HTML-код
  • Опубликовано: 13 июл 2024
  • Want to block certain file types or restrict search engine crawlers from crawling certain parts of your website? That’s what a robots.txt file is for & through this video tutorial you will learn how to use robots.txt file like an expert. rankmath.com/kb/how-to-edit-r...
    Note: If you do not see the "Edit robots.txt" feature in Rank Math's General Settings, make sure to use the "Advanced Mode" of Rank Math, which can be found at the top-right corner of Rank Math's Dashboard.
    Chapters (Timestamps):
    00:00 - Introduction
    01:25 - Several Use Cases of Robots.txt
    03:03 - Language Of Search Engines
    03:16 - User-Agent
    03:44 - Disallow Rule
    03:57 - Allow Rule
    04:25 - Crawl-Delay Rule
    04:34 - Sitemap Directory
    04:44 - Robots.txt syntax
    05:43 - The Location Of Your Robots.txt
    06:20 - Managing Robots.txt with Rank Math
    07:04 - Default Robots.txt Rules
    07:31 - The Structure of a Robots.txt File
    08:29 - Block Filters and Sorting Pages
    09:44 - Block Internal Search Pages
    11:20 - Blocking Certain Paths of Your Website
    11:45 - Block Certain File Types On Your Website
    12:41 - Block All Web Crawlers Except One
    13:06 - How To Debug Robots.txt Errors
    14:39 - Outro
    List Of Search Engine Crawlers And Their Associated Names:
    ► www.robotstxt.org/db.html
    Robots.txt Testing Tool By Google:
    ► www.google.com/webmasters/too...
    We hope to have made this Robots.txt tutorial simple and easy for you to understand and follow. It can seem intimidating at first, but it becomes rather easy if you take some time to understand it. All you need is just to understand the language search engines are speaking.
    Anyway, don’t forget to subscribe to our channel if you want to learn more about how to beat your competitors on search engines:
    ► ​​ruclips.net/user/RankMathvi...
    Rank Math, the Swiss Army Knife of WordPress SEO, can take your SEO game to the next level. Rank Math already goes above and beyond other top-rated SEO plugins. Do you want to see the magic unfold for your website?
    ► Visit Rank Math today: rankmath.com
    Here's are 40+ unique features that set Rank Math apart:
    ► rankmath.com/blog/unique-rank...
    Rank Math Links:
    ► Knowledge Base: rankmath.com/kb/wordpress/seo...
    ► Support: rankmath.com/support/
    Connect with Rank Math:
    ► / rankmathseopluginwordp...
    ► / rankmathseo
    ► / rankmath
  • ХоббиХобби

Комментарии • 52

  • @shrimalmadushanka9163
    @shrimalmadushanka9163 Год назад +3

    Love the way you explained and it's really straightforward

    • @RankMath
      @RankMath  10 месяцев назад

      Hello, and thanks for your comment. Glad you liked our video. Feel free to get in touch if you have questions.

  • @KampalaEdgeTimes
    @KampalaEdgeTimes 11 месяцев назад

    Wow, thank you so much, Jack. I was hacked recently and experienced a serious drop in traffic. Your tips are helping me slowly climb back up. The best part is that these minute tweaks actually work.

    • @RankMath
      @RankMath  10 месяцев назад

      Hello and thank you for your comment.
      Glad that helped. We hope that your experience with plugin excels.
      Please feel free to reach out to us again in case you need any other assistance.

  • @laszlogyor6628
    @laszlogyor6628 8 месяцев назад

    It is a very useful video for me. Thank you. 👍

    • @RankMath
      @RankMath  8 месяцев назад

      Hello, and thanks for your comment. Glad you liked the video. Feel free to get in touch if you have questions.

  • @thetechreview369
    @thetechreview369 9 месяцев назад

    In-depth video explaining everything related to robot.txt! THANKS Mate🙌

    • @RankMath
      @RankMath  9 месяцев назад

      Hello, and thanks for your comment. Glad that helped. Feel free to get in touch if you have questions.

  • @valodkreslobochi7719
    @valodkreslobochi7719 Год назад +1

    I appreciate the information

    • @RankMath
      @RankMath  10 месяцев назад

      Hello, and thanks for your comment. Glad that helped. Feel free to get in touch if you have questions.

  • @Anikd_7
    @Anikd_7 8 месяцев назад

    Thanks, it was a very informative video

    • @RankMath
      @RankMath  8 месяцев назад

      Hello, and thanks for your comment. Glad that helped. Feel free to get in touch if you have questions.

  • @mrjaysahli
    @mrjaysahli Год назад +2

    Jack: May I suggest that you make a new video series about how to optimize rank math schema (I have already seen other existing videos which are hard to follow) in bulk for elementor pro ecommerce pages and sites with many pages? I love your videos and your clear, systematic concise explanations.

    • @RankMath
      @RankMath  Год назад

      Hello, Thank you for your comment.
      We have taken note of your topic suggestion.
      Thank you so much for the feedback and your valuable suggestions.
      We really appreciate them.

  • @riverainventions
    @riverainventions 4 месяца назад

    Thank you...

    • @RankMath
      @RankMath  4 месяца назад

      Hello, and thanks for your comment. Glad that helped. Feel free to get in touch if you have questions.

  • @mr.h_arab
    @mr.h_arab 6 месяцев назад +1

    thanks ❤❤❤

    • @RankMath
      @RankMath  6 месяцев назад +1

      Hello, and thanks for your comment. You are always welcome. Feel free to get in touch if you have questions.

  • @hitechclub
    @hitechclub Год назад

    But I could not understand if I use the wildcard (*) for User-agent, then it includes all bots, and why do I need to include another User-agent, msnbot, in the case as the video shows? I understand it's optional, but is there any use in adding another User-agent if I use a wildcard at the top?

    • @RankMath
      @RankMath  Год назад +1

      Hello, thank you for your comment.
      If you’re referring to the example shown at 3:35, the first rule (User-agent:* Disallow: /) will prevent all search engine crawlers from crawling your website.
      The next rule (User-agent:Googlebot Disallow: ) is specifically addressing Googlebot and mentioning there is no directory disallowed, and hence Googlebot can crawl the entire website.
      We don’t recommend blocking all search engine crawlers unless it is a test or staging site.
      You can also refer to more examples here: rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/
      Hope that helps, and please do not hesitate to let us know if you need our assistance with anything else.

  • @VideoNash
    @VideoNash 2 месяца назад

    thanks

    • @RankMath
      @RankMath  2 месяца назад

      Hello, and thanks for your comment. You are always welcome. Feel free to get in touch if you have questions.

  • @smeagoltheunrealdeviant9357
    @smeagoltheunrealdeviant9357 Год назад

    Thanks! This is helpful. Can you also make a video on 301, 302, 303, 304 errors? I struggle to understand the basics of these and how to fix them with Rankmath

    • @RankMath
      @RankMath  Год назад

      Hello and thank you for your comment.
      We do have a video discussing 301 & 302 Redirection here ruclips.net/video/yxmbcES_5CA/видео.html
      For 303 and 304 redirect types, you can refer to this article: www.contentkingapp.com/academy/http-status-codes/
      Hope that helps.
      Thank you.

    • @smeagoltheunrealdeviant9357
      @smeagoltheunrealdeviant9357 Год назад +1

      @@RankMath Thank you man! Appreciate it

    • @aliniabb4157
      @aliniabb4157 Год назад +1

      Awesome video , easy to understand

  • @elymanywebsite
    @elymanywebsite Год назад

    Nice

    • @RankMath
      @RankMath  10 месяцев назад +1

      Hello and thank you for your comment.
      Glad that helped. We hope that your experience with plugin excels.
      Please feel free to reach out to us again in case you need any other assistance.

  • @neutroware
    @neutroware Год назад

    Why do we need to disallow the files from crawlers? What's the disadvantage if they crawl anything and why should it be done??

    • @RankMath
      @RankMath  Год назад +2

      Hello, and thank you for your comment.
      The context in which files were disallowed in this tutorial is that they are supposed to be downloaded by the users after they fill out a form, typically subscription forms. If search engines were to crawl and index these file types, then these files would be available to download directly from search results, and users don't have to fill out the subscription forms.
      To answer your second question, if search engines were to crawl everything on the site, including the internal resources, then they would end up causing an increased load on the website's server. Similarly, crawlers do have limited resources for each website, and we want them to be utilized for the most valuable pages on the website instead of thin content or pages that aren't allowed to be indexed.
      Hope it helps!

  • @ShivaniSharma-mh1qw
    @ShivaniSharma-mh1qw 8 месяцев назад

    Need more information by using star with example and with all types of use of star and it will implement.

    • @RankMath
      @RankMath  8 месяцев назад

      Hello, and thanks for your comment,
      With Rank Math you can achieve the star rating for your website using the following Schemas:
      1. Book
      2. Course
      3. Event
      4. Movie
      5. Product
      6. Recipe
      7. Software Application
      Here is a guide for your reference:
      rankmath.com/kb/earning-star-ratings-in-serps/
      Hope this helps.

  • @mandjperfumecollection
    @mandjperfumecollection 2 месяца назад

    Hi, what if the robots.tx is not writable?

    • @RankMath
      @RankMath  2 месяца назад

      Hello, thank you for your comment,
      You can checkout our tutorial on about the topic: rankmath.com/kb/cant-edit-robots-txt/
      Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

  • @user-vv6un2nd2l
    @user-vv6un2nd2l Год назад

    User-agent: *
    Disallow: /wp-admin/
    Allow: /wp-admin/admin-ajax.php is causing a google error that robots.txt is blocking wp-admin/admin-ajax.php. How to fix this?

    • @RankMath
      @RankMath  Год назад

      Hello,
      Can you submit a support ticket here: rankmath.com/support/ so that our team can look into this closely?
      Looking forward to helping you

    • @user-vv6un2nd2l
      @user-vv6un2nd2l Год назад

      @@RankMath I submitted the ticket. Thank you.

  • @binumobiles
    @binumobiles Год назад

    Ok thanks
    To owner of
    Google has started validating your fix of Page indexing issues on your site. Specifically, we are checking for ‘Discovered - currently not indexed’, which currently affects 248 pages.
    Validation can take a few days; we will send you a message when the process is complete. You can monitor the progress of the test by following the link below.

    • @RankMath
      @RankMath  Год назад

      Hello, thank your for your comment,
      Sure let us know how it goes. If you need assistance, please feel free to open a support ticket so that our team can assist you in resolving this issue? Our support staff is available 24/7 to help you. rankmath.com/support/
      Looking forward to helping you.

  • @johnnwabuforudemezue1108
    @johnnwabuforudemezue1108 Год назад

    Thanks, my Feeds page have eaten me too deep

    • @RankMath
      @RankMath  10 месяцев назад

      Hello, and thanks for your comment. You are always welcome. Feel free to get in touch if you have questions.

  • @darenpearson4695
    @darenpearson4695 Год назад

    4:33

    • @RankMath
      @RankMath  10 месяцев назад

      Hello, and thanks for your comment. Feel free to get in touch if you have questions.

  • @user-l9v7xff567
    @user-l9v7xff567 Год назад

    I have no idea what you mean

    • @RankMath
      @RankMath  Год назад

      Hello, thank you for your comment,
      Do you have issues with robots.txt? Can you submit a support ticket here: rankmath.com/support/ so that our team can look into this closely?
      Looking forward to helping you

  • @bangladeshtourism
    @bangladeshtourism Год назад

    There is no " Edit robots.txt " option right now. It's really annoying to say I'm not satisfied with your plugin. I must deactivate the plugin. Poor Service and documentation also. shame!

    • @RankMath
      @RankMath  Год назад

      Hello, thank you for your comment,
      Can you please ensure you're using Rank Math in the Advanced Mode? Here is the tutorial: rankmath.com/kb/advanced-mode/
      In the mean time, you can submit a support ticket here: rankmath.com/support/ so that our team can look into this closely
      Looking forward to helping you.