Jump to content

Cpanel redirect setup for image display


hughwu

Recommended Posts

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

屏幕截图 2024-08-08 094529.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...