Jump to content

[Solved] where I have to put the robots.txt file?


Recommended Posts

I am on PS 1.6.0.8, my shop is installed into /shop/ directory of my domain. I tried to put a empty robots.txt file into the root and into the /shop/ but in both cases if I go to seo & urls page, at the bottom I do not see any "generate robots.txt" button.

 

why? :)

Link to comment
Share on other sites

hi it has to be in your folder  /shop/

then give it 777 rights

you can try also the 666 rights but most times he doesn't generate it 

 

it works with 777, thank you.

Can I also put another robots.txt into the root of the domain in order to block some other directories?

 

for instance my root is:

 

/dir01/

/dir/02

/shop/

robots.txt

 

and I want to block dir01 and dir02.

Link to comment
Share on other sites

hi great it worked for you  :)

well if i'm right the robot.txt in your folder /shop/

will only show the info from your folder /shop/ 

so not from the other folders

you can check it to open your created robot.txt 

 

only the robot.txt in your root can when you add the folders 

 

Edit : i marked this topic as Solved

Edited by maconl (see edit history)
Link to comment
Share on other sites

yes ofcourse is this possible

only not in one folder  :-)

and prestashop does only create the robot.txt in the folder or root where it is installed

 

if you place an robot text in your root or /dir01/ etc

 

then you can say in google where to find the robot.txt for your site and shop etc

Link to comment
Share on other sites

×
×
  • Create New...