pidev Posted January 31, 2017 Share Posted January 31, 2017 Type d’installe : MigrationVersion de PS :URL du site concerné : www.breaktime-lille.frThème (défaut/perso) : LeoFrozenCode (original/modifié) : OrginalHébergement : OVH Bonjour, Aprés avoir fini le site internet qui était en production dans un sous dossier de mon FTP, (www/prod-v1), je souhaite le mettre en ligne. J'ai changer le dossier racine qui était www (dans multisite d'ovh), je l'ai remplacé par www/prod-v1. Et il m'affiche une erreur 404. J'ai appelé ovh, et ils me disent que c'est une erreur du htaccess. Le voici : # ~~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 #Domain: breaktime-lille.fr RewriteRule . - [E=REWRITEBASE:/prod-v1/] 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/x-font-woff .woff <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /prod-v1/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 Je ne vois pas l'erreur, pouvez-vous me diriger ? merci Link to comment Share on other sites More sharing options...
Mediacom87 Posted January 31, 2017 Share Posted January 31, 2017 Bonjour, modifiez l'url de votre boutique dans la configuration du backoffice en retirant la référence au sous dossier. Link to comment Share on other sites More sharing options...
doekia Posted January 31, 2017 Share Posted January 31, 2017 Remplace RewriteRule . - [E=REWRITEBASE:/prod-v1/] Par RewriteRule . - [E=REWRITEBASE:/] Ensuite change les paramètres dans SEO&URL 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