bogdanch Posted April 22, 2015 Share Posted April 22, 2015 We've identified that a certain line in the robots.txt that prestashop automatically generates is blocking our products from Google Shopping. the line in question is Disallow: /*n= The matched URL has some UTM tracking parameters used by Google Analytics. Example URL that matches the line in robots.txt: domain.com/page.html?utm_source=google&utm_medium=cpc&utm_campaign=shopping I'm trying to get FTP access to be able to edit the robots.txt manually, but I noticed that in the BO there's a button to automatically generate it again, so I'm afraid that someone might go in there, re-generate it and then we have to do the same thing over again... Is there a fail safe way to edit what goes into the default robots.txt file? Link to comment Share on other sites More sharing options...
deepee Posted April 22, 2015 Share Posted April 22, 2015 (edited) If you have cPanel based hosting, you could log in through there and use the built-in file manager. You can then browse to the file and right clicking on it gives you the option to edit or code edit (edit is sufficient for this text based file). Once you have saved your changes you can right click on the file again and change the permissions to read only. You'll need to remember that setting and change it if you want prestashop to regenerate your robots.txt in future. You could do the same via FTP but I find cPanel much more convenient. Edited April 23, 2015 by deepee (see edit history) Link to comment Share on other sites More sharing options...
bogdanch Posted April 23, 2015 Author Share Posted April 23, 2015 Thanks deepee, that's a good workaround. However I was looking for a way to edit the prestashop files or change settings inside of prestashop - I guess that's not possible? Link to comment Share on other sites More sharing options...
Zohaib-fk Posted July 26, 2015 Share Posted July 26, 2015 (edited) Hi, I have not seen any option in prestashop back-office to edit robot.txt file. PrestaShop Tutorials Videos [How to do Tasks] https://www.prestashop.com/forums/topic/907438-prestashop-tutorials-videos-how-to-do-tasks/ Edited June 23, 2021 by Zohaib-fk Post Updated (see edit history) Link to comment Share on other sites More sharing options...
deepee Posted July 27, 2015 Share Posted July 27, 2015 (edited) I have not seen any option in prestashop back-office to edit robot.txt file. There is no option in the back office admin but it's is easy to do in a normal text editor like notepad via FTP or in your cPanel's file manager edit tools. Edited July 27, 2015 by deepee (see edit history) 1 Link to comment Share on other sites More sharing options...
Zohaib-fk Posted July 27, 2015 Share Posted July 27, 2015 I am agree with you deepee. Link to comment Share on other sites More sharing options...
plum shop online Posted September 6, 2016 Share Posted September 6, 2016 Hi. I have the cloud version 1.6.1.3 from frestashop and I can not edit my robots.txt file from my ftp acces because it can not not find it there. Can someone please tell me how can I edit my robotos.txt file if i dont have access to it from my ftp? Pleaseee Link to comment Share on other sites More sharing options...
deepee Posted September 6, 2016 Share Posted September 6, 2016 Hi. I have the cloud version 1.6.1.3 from frestashop and I can not edit my robots.txt file from my ftp acces because it can not not find it there. Can someone please tell me how can I edit my robotos.txt file if i dont have access to it from my ftp? Pleaseee It's likely that your shop is on a cPanel hosted server. Open a browser and log in to your cPanel account. In the "Files" section click on "File Manager" Use it to browse your public_html folder where you will find your robots.txt file. Select the file and then click on the "Edit" button in the menu bar. You can edit and save your changes there. It's a good idea to first download your old robots.txt file as a backup before editing. In fact it's always good practice to do a full backup of your home folder and database before making any edits Link to comment Share on other sites More sharing options...
plum shop online Posted September 7, 2016 Share Posted September 7, 2016 It's likely that your shop is on a cPanel hosted server. Open a browser and log in to your cPanel account. In the "Files" section click on "File Manager" Use it to browse your public_html folder where you will find your robots.txt file. Select the file and then click on the "Edit" button in the menu bar. You can edit and save your changes there. It's a good idea to first download your old robots.txt file as a backup before editing. In fact it's always good practice to do a full backup of your home folder and database before making any edits Hi Deepee Thanks for your message. but i dont know where to find the "files" section as i mentioned to you before I have the Prestashop 1.6.1.3 CLOUD version and I only have haccess to my backoffice and my FTP but my ftp does now have any file with the name "files" Can you please just send me picture of a screenshoot about where can I go to find the "file manager seccion" to have acces to my public html I will really appreciate it. My email is [email protected] Please!!! Link to comment Share on other sites More sharing options...
plum shop online Posted September 7, 2016 Share Posted September 7, 2016 Hi Deepee Thanks for your message. but i dont know where to find the "files" section as i mentioned to you before I have the Prestashop 1.6.1.3 CLOUD version and I only have haccess to my backoffice and my FTP but my ftp does now have any file with the name "files" Can you please just send me picture of a screenshoot about where can I go to find the "file manager seccion" to have acces to my public html I will really appreciate it. My email is [email protected] Please!!! Link to comment Share on other sites More sharing options...
deepee Posted September 7, 2016 Share Posted September 7, 2016 Hi I missed the fact that you are on the CLOUD version. I've never used it so I don't know where you initially land in the file structure when you FTP into your site or what folders it allows you to access. Having a brief look at this support page it seems you are limited to only certain folders: http://doc.prestashop.com/display/CLOUD/Managing+FTP+users Sorry I can't be of more help. Link to comment Share on other sites More sharing options...
vahuca Posted October 3, 2016 Share Posted October 3, 2016 Hi. I have the cloud version 1.6.1.3 from frestashop and I can not edit my robots.txt file from my ftp acces because it can not not find it there. Can someone please tell me how can I edit my robotos.txt file if i dont have access to it from my ftp? Pleaseee I have same problem , did you get any solution? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now