It is often a good idea to restrict search engine spiders or crawlers from accessing certain parts of your website. This is done with a file called a ROBOTS.TXT file. Fortunately, Prestashop 1.5 does this for you. The following tutorial will walk you through the process of getting the file created.
How to create a robots.txt file in Prestashop 1.5
The rest of the file includes the entries to keep the robot from going where it doesn't need to go. The most important part to take from this is that limiting the access helps to save BANDWIDTH and SERVER RESOURCES.
n/a Points
|
2014-06-06 11:41 pm
I´m working on Prestashop 1.6. Because I´m adding a shop to an existing page I have put prestashop into a subfolder = shop. I know the generated robots.txt file has to be moved to the root. But do I have to change the robots.txt lines in it to work from the root or does all these * in the file mean, that it will work from the root? From the generated file. # Private pages Disallow: /*controller=addresses
# Directories Disallow: */classes/Disallow: */config/ Kind regards Thomas |
Staff 17,314 Points
|
2014-06-07 2:18 am
Hello Thomas,
You just need to make sure that any specific paths are correct. The general references such as the ones you've listed above should work fine. Check out our tutorial called Using Robots.txt for more specific information on the commands. It also provides links for more detail information on the use of the robots.txt file. I hope that helps to answer your question. Please let us know if you require further assistance. Regards, Arnel C. |
n/a Points
|
2014-06-07 2:31 am
Hi Arnel. Thank you for your quick responce. ok, so the * simply is a message for all robots? The lines you saw in the first message is generated by prestashop.
So I will have to change the path to
# Private pages Disallow: /shop/controller=addresses (where to place the * )
# Directories (where to place the *) Disallow: /shop/classes/ Disallow: /shop/config/
Best Thomas |
Staff 17,314 Points
|
2014-06-07 2:35 am
Hello Thomas,
That is correct. The * indicates any robot (also called user agent). Regards, Arnel C. |
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: | 757-416-6627 | Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!