Jump to content

Htaccess error


Recommended Posts

Hi,

I have a 1and1 share hosting plan with a ecommerce website: BohemBohem.com

For the launching of our ecommerce, we installed a simple landing page with CMS Joomla.
People were subscribing to our newsletter.

We installed Joomla on this folder:
/clickandbuilds/Joomla/BohemBohem

During the launch campaign. We built the shop. we setup a prestashop ecommerce. We added products and images. We installed in this fodler:
/clickandbuilds/Joomla/BohemBohem/Prestashop

Homepage of website is bohembohem.com

And to access to prestashop was bohembohem.com/Prestashop


Launch is finished. We can now redirect our domain to the ecommerce:
/clickandbuilds/Joomla/BohemBohem/Prestashop

When domain name was redirected to /clickandbuilds/Joomla/BohemBohem/
Prestashop was working when we were opening bohembohem.com/prestashop
But now, it doesn't work anymore.There is an issue with the .htaccess which is here:

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>

RewriteEngine on

RewriteBase /
Domain: bohembohem.com
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api$ api/ [L]

RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
</IfModule>

AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/font-woff .woff
AddType font/woff2 .woff2
<IfModule mod_headers.c>
    <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
</IfModule>

#If rewrite mod isn't enabled
ErrorDocument 404 /Prestashop/index.php?controller=404

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again


Can you hemlp me please to fix my issue?

 

Thanks

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...