WordPress.org

Ready to get started?Download WordPress

Forums

Why does my robots.txt file change after upload? (1 post)

  1. theprizeblog
    Member
    Posted 7 years ago #

    This might be an easy fix, but everytime I upload my robots.txt, it becomes kind of scrambled.

    I enter:
    User-Agent: Googlebot
    Disallow: /index.xml$
    Disallow: /excerpts.xml$
    Allow: /sitemap.xml$
    Disallow: /*view=rss$
    Disallow: /*?view=rss$
    Disallow: /*format=rss$
    Disallow: /*?format=rss$
    Sitemap: /sitemap.xml

    and the text changes to:
    {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf420
    {\fonttbl\f0\fswiss\fcharset77 Helvetica;}
    {\colortbl;\red255\green255\blue255;}
    \margl1440\margr1440\vieww9000\viewh8400\viewkind0
    \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

    \f0\fs24 \cf0 User-Agent: Googlebot\
    Disallow: /index.xml$\
    Disallow: /excerpts.xml$\
    Allow: /sitemap.xml$\
    Disallow: /*view=rss$\
    Disallow: /*?view=rss$\
    Disallow: /*format=rss$\
    Disallow: /*?format=rss$\
    Sitemap: /sitemap.xml}

Topic Closed

This topic has been closed to new replies.

About this Topic