hughwu Posted August 7, 2024 Share Posted August 7, 2024 Hi there, I am using PrestaShop version: 8.1.3. I accidentally deleted the redirect setup for my Prestashop website. The website can't display pictures of any product anymore. RewriteEngine on #Domain: www.gppackaging.com.au RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] RewriteRule ^upload/.+$ %{ENV:REWRITEBASE}index.php [QSA,L] # Images # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ %{ENV:REWRITEBASE}js/jquery/plugins/fancybox/images/$1.$2 [L] The above code is from the .htaccess file. Can someone tell me how I can add or regenerate the setup again on the redirect section of the Cpanel (according to the .htaccess file)? I appreciate it. Hugh Link to comment Share on other sites More sharing options...
Prestashop Addict Posted August 8, 2024 Share Posted August 8, 2024 Regenerate .htaccess with SEO & url setting save 1 Link to comment Share on other sites More sharing options...
hughwu Posted August 8, 2024 Author Share Posted August 8, 2024 You are my angel. Thank you very much. Problem fixed. Link to comment Share on other sites More sharing options...
hughwu Posted August 8, 2024 Author Share Posted August 8, 2024 57 minutes ago, Prestashop Addict said: Regenerate .htaccess with SEO & url setting save You are my angel. Thank you very much. Problem fixed. 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