Swichida Posted September 15, 2015 Share Posted September 15, 2015 Bonjours/Bonsoir, Tout est dans le titre !, j'ai souhaité migré mon presta d'un domaine à un autre en suivant une procédure à la lettre (modification du domaine SSL ainsi que le domaine de la boutique). J'ai up ma BDD afin de retrouver mon site à son état initial (comme sur l'ancien domaine) Sauf que problème, tout mes liens sont mort, erreur 404 Quelqu'un aurait-il une idée, j'ai farfouillé un peu partout mais je n'ai pas réussi à résoudre mon problème, je m'en remet donc à vous Link to comment Share on other sites More sharing options...
Baba deCode Posted September 15, 2015 Share Posted September 15, 2015 (edited) Bonjour, Regenere ton .htaccess Vas dans ton backoffice, rubrique SEO désactive l'url rewrtting et réactive le. CDT Edited September 17, 2015 by Alexandre-KM (see edit history) Link to comment Share on other sites More sharing options...
Swichida Posted September 16, 2015 Author Share Posted September 16, 2015 Merci de ta réponse, lorsque je désactive l'url rewrtting, je peux effectivement voir mes catégories/produits etc, lorsque je le réactive ça ne fonctionne plus. Une idée ? Link to comment Share on other sites More sharing options...
Baba deCode Posted September 16, 2015 Share Posted September 16, 2015 Peut être un problème de cache, fais des recherches c'est courant. Link to comment Share on other sites More sharing options...
Swichida Posted September 17, 2015 Author Share Posted September 17, 2015 (edited) Honnêtement je n'ai pas l'impression que le problème vienne de la après plusieurs recherches. Le problème vient effectivement de la réécriture d'URL car lorsque je la désactive je peux consulter la totalité de mes pages. Le cache a été vidé. J'ai tenté de régénérer le .htaccess, sans succès. J'ai ce message sur le BO: Le mode de réécriture d'URL (mod_rewrite) n'est pas activé sur votre serveur, ou il est impossible de vérifier la configuration. Pour utiliser les URL réécrites, vous devez activer ce mode. Dans mon .htaccess, je vois pourtant bien: RewriteEngine on Une idée ? Edited September 17, 2015 by Swichida (see edit history) Link to comment Share on other sites More sharing options...
prestasafe Posted September 17, 2015 Share Posted September 17, 2015 Problème de droits d'écriture peut être ? Le .htaccess est bien à la racine du site ? Link to comment Share on other sites More sharing options...
Swichida Posted September 17, 2015 Author Share Posted September 17, 2015 (edited) Le .htaccess est à la racine du site et est bien en 666 oui. 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: www.madeinchampeyroux.com RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,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 /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 Edited September 17, 2015 by Swichida (see edit history) 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