{"id":46671,"date":"2015-04-13T02:10:29","date_gmt":"2015-04-13T06:10:29","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=46671"},"modified":"2017-07-10T06:02:00","modified_gmt":"2017-07-10T10:02:00","slug":"prestashop-1-6-x-how-to-regenerate-htaccess-file","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-1-6-x-how-to-regenerate-htaccess-file.html","title":{"rendered":"PrestaShop 1.6.x. How to regenerate .htaccess file"},"content":{"rendered":"<p>\r\n<p>The following tutorial will show you how to regenerate .htaccess file in your PrestaShop 1.6.x store.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=3rS66DD8KLc?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to regenerate .htaccess file <\/a><\/p>\r\n<p class=\"attention\">NOTE: <strong>.htaccess<\/strong> is a special configuration file which is used on web servers running on the Apache web server software.  It is located in your store root directory and enables some environment variables. Without .htaccess it will not be possible to turn on pretty urls (url &#8211; rewriting rules etc.), disable access to some directories, actions, etc.<\/p>\r\n<h3 class=\"custom\">Why is regenerating .htaccess file required?<\/h3>\r\n<p>Sometimes it is necessary to regenerate htaccess file. After some changes in <strong>SEO &#038; URL&#8217;s<\/strong> settings, after adding image types into <strong>Preferences -> Images<\/strong> section, after activating and modifying the multistore some features may not work properly in your PrestaShop front office. In this case you must regenerate .htaccess file.<\/p>\r\n<h3 class=\"custom\"> Removing file from your root directory<\/h3>\r\n<ol>\r\n<li>\r\n<p>Enter your website server via FTP or cPanel File manager. <\/p>\r\n<\/li>\r\n<li>\r\n<p>Navigate to your store root directory. <\/p>\r\n<\/li>\r\n<li>\r\n<p> Download .htaccess file to your computer to back it up. <\/p>\r\n<\/li>\r\n<li>\r\n<p> Select the file on your server and click <strong>Delete<\/strong> button: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess1-300x168.jpg\" alt=\"prestashop_1_6_how_to_regenerate_htaccess1\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-46675\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess1-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess1-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<\/ol>\r\n<h3 class=\"custom\">Regenerate using SEO URLs<\/h3>\r\n<ol>\r\n<li>\r\n<p> Log into your PrestaShop admin panel. <\/p>\r\n<\/li>\r\n<li>\r\n<p> Navigate to <strong>Preferences -> SEO and URLs<\/strong>. <\/p>\r\n<\/li>\r\n<li>\r\n<p> Set <strong>Friendly URL<\/strong> option to <strong>No<\/strong> and click <strong>Save<\/strong> button: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess2-300x168.jpg\" alt=\"prestashop_1_6_how_to_regenerate_htaccess2\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-46676\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess2-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p> Enable <strong>Friendly URL<\/strong> back and save the changes. <\/p>\r\n<\/li>\r\n<li>\r\n<p> .htaccess should be successfully regenerated in your store. <\/p>\r\n<\/li>\r\n<\/ol>\r\n<h3 class=\"custom\">Regenerate if you are using multistore<\/h3>\r\n<ol>\r\n<li>\r\n<p> Log into your PrestaShop admin panel. <\/p>\r\n<\/li>\r\n<li>\r\n<p>  Navigate to <strong> Preferences -> General<\/strong>. <\/p>\r\n<\/li>\r\n<li>\r\n<p> Turn the multistore feature off and save changes.<\/p>\r\n<\/li>\r\n<li>\r\n<p> Enable Multistore back and save the configuration: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess3-300x168.jpg\" alt=\"prestashop_1_6_how_to_regenerate_htaccess3\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-46677\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess3-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/prestashop_1_6_how_to_regenerate_htaccess3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p> Your htaccess file will be regenerated properly.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>That is the end of the tutorial. Now you know how to regenerate .htaccess file in your PrestaShop 1.6.x store. <\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=3rS66DD8KLc?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to regenerate .htaccess file <\/a><\/p>\r\n<!-- MailChimp for WordPress v4.1.5 - https:\/\/wordpress.org\/plugins\/mailchimp-for-wp\/ --><form id=\"mc4wp-form-1\" class=\"mc4wp-form mc4wp-form-81747 mc4wp-form-theme mc4wp-form-theme-green\" method=\"post\" data-id=\"81747\" data-name=\"PrestaShop Store Marketing - Beginner&#039;s Guide\" ><div class=\"mc4wp-form-fields\"><h4 >PrestaShop Store Marketing - Beginner's Guide [Free eBook]<\/h4>\r\n<p>\r\n\t<input type=\"email\" name=\"EMAIL\" placeholder=\"Your email address\" required \/>\r\n<\/p>\r\n\r\n<p>\r\n\t<input type=\"submit\" value=\"Download\" \/>\r\n<\/p><div style=\"display: none;\"><input type=\"text\" name=\"_mc4wp_honeypot\" value=\"\" tabindex=\"-1\" autocomplete=\"off\" \/><\/div><input type=\"hidden\" name=\"_mc4wp_timestamp\" value=\"1785051323\" \/><input type=\"hidden\" name=\"_mc4wp_form_id\" value=\"81747\" \/><input type=\"hidden\" name=\"_mc4wp_form_element_id\" value=\"mc4wp-form-1\" \/><\/div><div class=\"mc4wp-response\"><\/div><\/form><!-- \/ MailChimp for WordPress Plugin -->","protected":false},"excerpt":{"rendered":"<p>The following tutorial will show you how to regenerate .htaccess file in your PrestaShop 1.6.x store.<\/p>\n","protected":false},"author":49,"featured_media":46674,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[1929,918,552,1930],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46671"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=46671"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46671\/revisions"}],"predecessor-version":[{"id":81753,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46671\/revisions\/81753"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/46674"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=46671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=46671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=46671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}