chrisking Posted December 16, 2011 Share Posted December 16, 2011 I recently clicked the "url friendly" checkbox in back office, after which the site lost all of its formatting and javascript functionality, both front and back office. After numerous Google searches it occurred to me that the problem might be with the .htaccess file. So I copied and pasted so correction code into .htaccess. Now I can no longer login to back office, and my site appears broken. My mistake was I should have checked with my hosting provider before activating url friendly. It was stupid. I really need to get my site back online again as it is a client project that is important to me. Anything you can do to help me repair this would be appreciated. If necessary, I will copy all the critical files via ftp to my hard drive so I can reinstall Prestashop. But as my connection is slow, I would prefer any alternative. The site address is: wrapitpersonally.com Link to comment Share on other sites More sharing options...
tomerg3 Posted December 16, 2011 Share Posted December 16, 2011 If you turn off friendly URL and the site is not back to normal, it means that you had some code that your server requires inside the .htaccess file, and when you had PS generate a new one (for friendly URLs), it overwrote the old file. A new install would not do you any good here. If you have a backup of your site, try to get the .htaccess file from there, if you don't (shame on you...), try to contact your host and ask them if there's anything needed for a .htaccess file. Link to comment Share on other sites More sharing options...
chrisking Posted December 20, 2011 Author Share Posted December 20, 2011 Thanks Tomerg, Thanks for the tip. Unfortunately I reinstalled. It took a darn long time. Wish I'd waited for your response. I'm a slow learner Anyways. Couple more questions: 1. Can you tell me how to activate "url friendly" the proper way, so I don't cause the same problem again? It turns out my site is hosted on Apache servers. It seems like URL friendly is necessary if I want to be recognized by Google. 2. With a slow internet connection, what would be the best way to back up my site? Are there just a few key files/folders? Thanks. Your help is greatly appreciated Link to comment Share on other sites More sharing options...
chrisking Posted December 29, 2011 Author Share Posted December 29, 2011 Hi Tomerg3, If you have a moment can you please respond to my previous post? Thanks for all your help. Link to comment Share on other sites More sharing options...
tomerg3 Posted December 29, 2011 Share Posted December 29, 2011 1) Keep a copy of your .htaccess file. If there is any code in there, you need to copy it, ans paste it after PS generates the .htaccess file. 2) Turn on friendly URLs in Preferences->SEO 3) Go to Tools->Generators and create .htaccess file (see what I wrote in step #1) You can use a backup module like http://www.presto-changeo.com/en/prestashop-modules/37-automatic-prestashop-backup.html it lets you keep a backup on your server, sent via email, or saved on Amazon S3 Cloud server. As long as your host has a good connection, backup should be pretty fast. Link to comment Share on other sites More sharing options...
claybourg Posted February 15, 2012 Share Posted February 15, 2012 1) Keep a copy of your .htaccess file. If there is any code in there, you need to copy it, ans paste it after PS generates the .htaccess file. 2) Turn on friendly URLs in Preferences->SEO 3) Go to Tools->Generators and create .htaccess file (see what I wrote in step #1) You can use a backup module like http://www.presto-ch...hop-backup.html it lets you keep a backup on your server, sent via email, or saved on Amazon S3 Cloud server. As long as your host has a good connection, backup should be pretty fast. I had the same problem but realized that I actually did not have an .htaccess file at all, just when friendly url was turned on in the Preferences section all the links where broken. All needed to be done, at least for me, was to have Prestashop create an .htaccess file Tools --> Generator, tick the "Friendly URL" option and "Optimisation" too then click on "Generate .htaccess file" button. 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