Skip to content
Mc Starters Main Logo Circle
  • Home
  • CompanyExpand
    • About Us
    • Meet with Team
    • Media Assets
    • We’re Hiring
    • Contact Us
  • Top CategoriesExpand
    • WooCommerce
    • Elementor
    • Webflow
    • Divi
    • WordPress
    • SEO
    • Payoneer Guides
    • Shopify Tutorials
    • Squarespace
    • Weebly
    • Wix
    • Website Builders
    • CRM
    • Payment
  • Tips and TricksExpand
    • AI
    • Business
    • Insurance
    • Resources
    • Review
    • Science and Technology
    • Windows 10
    • Windows 11
  • ServicesExpand
    • WordPress Web Design
    • Elementor Expert
    • Divi Theme Experts
    • Blog Setup
    • WordPress Customization
    • E-Commerce Websites
    • Crocoblock Expert
    • Hire Webflow Expert
  • Free TemplatesExpand
    • Elementor Templates
    • Elementor Header
    • Elementor Footer
    • Elementor Single Post Templates
    • Elementor Mega Menu
    • Divi Templates
    • Divi Header Layouts
    • Divi Footer Layout
  • Tools
  • Guest Posts

Lifetime Pro Access to Elementor & Divi Templates

Grab deal
Mc Starters Main Logo Circle
Home / SEO / Four Steps to Create a Robots txt File for Your Website

Four Steps to Create a Robots txt File for Your Website

Published By :Mudassar Shakeel January 15, 2022March 15, 2024 SEO, WordPress
Create a Robots txt File step by step

Most newcomers don’t know how to create a robots txt for the website. Today, We will show you four steps to Create a Robots txt File.

Robots.txt is a simple text file to guide google robots on how to crawl site posts and pages on their website. The robots.txt file is also known as the robots exclusion protocol.

You Might Also Like: Free Keyword Research Tools

Four Steps to Create a Robots txt File

Step 1: Copy the below lines of snippet

User-Agent: *
Allow: /?display=wide
Disallow: /readme.html
Disallow: /refer/
Disallow: /wp-admin/
Disallow: /wp-login.php
Disallow: /cgi-bin/
Disallow: /trackback/
Disallow: /comments/
Disallow: /xmlrpc.php
Allow: /wp-admin/admin-ajax.php

User-agent: NinjaBot
Allow: /

User-agent: Mediapartners-Google*
Allow: /

User-agent: Googlebot-Image
Allow: /wp-content/uploads/

User-agent: Adsbot-Google
Allow: /
 
User-agent: Googlebot-Mobile
Allow: /

Sitemap: https://example.com/post-sitemap.xml

Step 2: Open notepad and paste the above code and save the file with the name “robots.txt”. Last, you must just change the sitemap URL according to your own website sitemap URL.

Create a Robots txt File

Step 3: Install and Activate File Manager plugin

Install and Activate File Manager

Step 4: Now you should go to file manager and upload the robots.txt file into the root directory. Make sure this is placed outside the “wp-content” if you are using WordPress.

File Manager Upload Robots txt File
upload robots.txt file into root directory

Watch Video

4 Steps to Create a Robots txt File for Your Website

How do I Create a Robots txt File?

Step 1: Copy the below lines of snippet
Step 2: Open notepad and paste
Step 3: Upload robots.txt file into the root directory

Is robot txt necessary?

No, a robots.txt file is not required for a website.

You Might Also Like Cheap WordPress Design services for business.

See also  How to Fix Divi Jumping Header
Post Tags: #robots txt file#Website builder

Best VPN Services Cheapest Hosting converkit convertkit Create Custom Header Credit Cards CRM Software customization tips Customize Elementor Styles Detailed Comparison divi guide divi tips Elementor Error Elementor Guide Elementor mega menu Elementor Pro Elementor Templates Elementor tips email marketing tools Hosting service Insurance Industry integrate Elementor Form Managed hosting Marketing tools comparsions mega menu design NordVPN payment tips Shopify speed optimization tips & trick tools for small business Top CRM System webflow guide Webflow Tips Website builder Website navigations Woocommerce tips WordPress wordpress developer WordPress developer USA Wordpress guide wordpress guides WordPress Maintenance services WordPress plugin Wordpress support

Facebook FacebookTwitter TwitterInstagram InstagramPinterest PinterestYouTube YouTube

© 2025 Mc Starters Blog

  • Guest Posts
  • HTML Sitemap
  • XML Sitemap
  • Affiliate Disclosure
Scroll to top
  • Home
  • Company
    • About Us
    • Meet with Team
    • Media Assets
    • We’re Hiring
    • Contact Us
  • Top Categories
    • WooCommerce
    • Elementor
    • Webflow
    • Divi
    • WordPress
    • SEO
    • Payoneer Guides
    • Shopify Tutorials
    • Squarespace
    • Weebly
    • Wix
    • Website Builders
    • CRM
    • Payment
  • Tips and Tricks
    • AI
    • Business
    • Insurance
    • Resources
    • Review
    • Science and Technology
    • Windows 10
    • Windows 11
  • Services
    • WordPress Web Design
    • Elementor Expert
    • Divi Theme Experts
    • Blog Setup
    • WordPress Customization
    • E-Commerce Websites
    • Crocoblock Expert
    • Hire Webflow Expert
  • Free Templates
    • Elementor Templates
    • Elementor Header
    • Elementor Footer
    • Elementor Single Post Templates
    • Elementor Mega Menu
    • Divi Templates
    • Divi Header Layouts
    • Divi Footer Layout
  • Tools
  • Guest Posts
Facebook X Instagram YouTube Pinterest
Search