How modify the file robot.txt???

Hi, is there the posibility to modify the file robot.txt??

Now my file is like this:


User-agent: *
Disallow: /

and i want permit all...

Thanks

16,314 Views
Message 1 of 44
Report
1 Best Answer

Best Answer

Hi Tony!

I know you found the answer to your question, but just so anyone else reading is clear...

Weebly automatically creates a blank robots.txt file for your site. If you look at your robots.txt file (www.yourdomainhere.com/robots.txt), you'll see text similar to this:

User-agent: *
Disallow: /ajax/
Disallow: /apps/

The user-agent: * means that the rules in this file applies to all robots. The "Disallow: /ajax/" and "Disallow: /apps/ " lines mean that robots cannot index any files you've uploaded to your store to sell (this is a default setting, so you'll see this line even if you're not using the Weebly store features). If nothing else is listed, it means that nothing else on your site is disallowed. If there were anything being blocked, it would show up after the second "disallow" but as long as that is blank, none of your pages are blocked and search engines can find your site.

If you want to change this and block search engines from indexing your site, go to Settings > SEO and select "Hide site from search engines." Then Save and Publish.

The robots.txt file for a site that is completely hidden from search would look like this:

User-agent: *
Disallow: /

Let us know if there are any other questions!

View Best Answer >

16,303 Views
Message 3 of 44
Report
43 REPLIES 43
Square


@LisaM wrote:

Hi I am having an issue when I search my site in Google it says it doesn not contain more info because of the robot txt setting. I want to make sure that info about my site is showing in a Google search not simply the link.


It looks like Google is displayed outdated, cached info for your site.  They should update this automatically when they re-crawl your site again, although if you've verified your site with Google you can use Google's "Fetch as Google" option to try and speed that up.

http://hc.weebly.com/hc/en-us/articles/201723433-Verify-Site-with-Search-Engines

https://support.google.com/webmasters/answer/6065812?hl=en

8,408 Views
Message 21 of 44
Report

Sitemap: http://www.medisinfo2u.com/sitemap.xml

User-agent: *
Disallow: /

my website show this , but still there is no description come out when i search my site on google. 

please advice

thanks

Lv

Tags (1)
5,876 Views
Message 23 of 44
Report

Same problem. No matter how many times I update, it just won't change. I am also unable to verify on google webmaster.

5,809 Views
Message 23 of 44
Report
Square

What site are you having trouble with, @JasonS, and what kind of changes are you making that aren't showing up with your robots.txt file?

5,806 Views
Message 23 of 44
Report

SO YOU are telling me I need to Slide over the button to the (RIGHT)so it is highlighted dark blue in color to block my site from search engines? (has anyone heard of on or off Smiley Happy) That does not make sense at all. Please reply and let me know if I am understanding you. If I am please rename the name of the button. I am an ecommerce site and common sense would tell me I would never want to hide my site from search engines.

Help me fix these errors. Thanks in advance. Desperate weebly user
5,781 Views
Message 23 of 44
Report

I am really confused... I have an ecommerce store.  With 1500 plus blocked resources on google search console.  blocks several that look like this:  /ajax/api/JsonRPC/Commerce/?Commerce[Checkout::getMiniCart,Product::isInStock,Product::isInStock,Product::isInStock,Product::isInStock,Product::isInStock,Product::isInStock,Product::isInStock,Product::isInStock,Product::i. 

SO YOU are telling me I need to Slide over the button to the (RIGHT)so it is highlighted dark blue in color to block my site from search engines?  (has anyone heard of on or off Smiley Happy) That does not make sense at all.  Please reply and let me know if I am understanding you.  If I am please rename the name of the button.  I am an ecommerce site and common sense would tell me I would  never want to hide my site from search engines.

Help me fix these errors.  Thanks in advance.  Desperate weebly user

5,782 Views
Message 23 of 44
Report
Square

Yes, you want it to look like this if you want your site indexed by Google:

image

Also, anything in /ajax will be blocked regardless of that because it's backend scripting, and not the actual URLs of your products.

5,777 Views
Message 23 of 44
Report

thank you.  OK so I just leave all of the errors then right?  and now google says my sitemap is blocking them from crawling it.  do I just need to wait 

5,762 Views
Message 23 of 44
Report

It (sitemap) looks nothing like it did before....
5,761 Views
Message 23 of 44
Report
Square

What's the address of your site, @weeblyjbkfan? It might help for me to see it myself.

3,672 Views
Message 23 of 44
Report

Hi Adam,

I've a problem with my robot.txt file of the website https://www.erasmustrainingcourses.com

Among the many lines (that I want) there as well the following ones that I do not want (since those page do not even existany more) and that I cannot delete, can you help?

Disallow: /ict-and-new-technologies.html

Disallow: /http://www.erasmustrainingcourses.com/teachers-and-adult-education-staff-support.html

Disallow: /inclusion-and-diversity.html

Disallow: /innovative-teaching-methods1.html

Disallow: /internationalisation-and-languages.html

Disallow: /soft-skills.html

3,127 Views
Message 23 of 44
Report
Square

Just to clarify, these were pages you had and had blocked from indexing, but then deleted the pages? It doesn't really hurt anything to have those in your robots.txt file, although you could make new pages with the same names, leave the option to block indexing for each unchecked, publish, then delete the pages. That should update the robots.txt file to remove those lines.

2,589 Views
Message 23 of 44
Report

if the site is not seen on the search engine does this not mean the searchers can not find you?
is not the whole purpouse of the page for people to find you then you finding them?

there must be a way to write a JS code to overcome this problem example:

find robot.txt for this weebly page 

up on finding the tobot text /* blank all data

divert to new location (x) 

provide this entry as the Robot text to your search engine.

I am not someone that writes code but I am sure some of you can write something along this lines 

the internet is no more than on off switches example type the word "orange" and everything that is not a colour or a fruit that represents an orange is blocked, right so now you are left with 2 items a color or a fruit right?

then you add a description that may read a drink for early in the morning, fruit at 1/2 time or a pigment to paint the wall etc the indexing based on the descrition can determine if one is looking for the fruit or the color paint. thus in this way I think the overright may do the same if the item is blocked what is the second option? 

the internet was more basic back in the 80s we had one word back then "PORN"     LMAO Smiley Happy

2,975 Views
Message 34 of 44
Report

Wouldn't you want google to index your store pages for items that you are going to sell? Why would you disallow ajax and apps for that reason? Can it be changed?

2,600 Views
Message 35 of 44
Report

Hi there!

I have a similar issue, I would like my website to be crawled and indexed in Google and for this I'd like to change my robots.txt because it is currently showing:

User-agent: *
Disallow: / 

However on my page settings > SEO, I have not hidden the page form search engines. 

I found this page https://www.weebly.com/app/help/us/en/topics/verify-your-site-with-search-engines very useful to link my site to GSC but nothing about robots.txt...

Thanks for your help,

Marie

2,355 Views
Message 36 of 44
Report
Square

Thanks for your post, @Marier. Open your site in the website editor and go to Settings > SEO. It looks like you've probably checked the option to hide the site from search engines. Uncheck that, then publish your site again and it will update your .htaccess file.

2,355 Views
Message 36 of 44
Report

Hi @Adam,

Thank you for your quick answer.

 imageimageI actually unticked that box from the beginning ... Is there something else I am missing? 

2,351 Views
Message 36 of 44
Report
Square

It looks like you are looking at the option for individual pages, rather than the for the whole website. Go to the Settings tab using the link at the top of the editor, then go to the SEO section and look for the option there.

2,350 Views
Message 36 of 44
Report

Great, thank you!

2,345 Views
Message 36 of 44
Report
Square

Not a problem!

1,910 Views
Message 36 of 44
Report

Hello,

I have a similar issue,  my robots.txt  is currently showing:

User-agent: Nerdybot
Disallow: / 

I've tried hiding in SEO and showing again, but nothing changes. The pages I explicitly want to hide are hidden on page level, but other pages which should get indexed are refused in Google search console.

https://www.digitale-infodagen.be/ 

Thank you in advance!

Philippe Vermeersch

1,845 Views
Message 36 of 44
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.