belius Posted November 7, 2012 Share Posted November 7, 2012 (edited) Hola a todos! Pues tengo ese problema. Si pongo en el dominio www.lachucheencasa.com la página va perfecta pero si pongo lachucheencasa.com no aparecen las imágenes de los productos (el resto si). He intentado modificar el .htaccess pero todas las modificaciones que realizo terminan en error o en no cargar la página. También he visto por los fotos que hay que regenerar ese documento, pero no he sabido donde hacerlo dando a un boton como proponen en la version 1.5.2. Me gustaría que puseiras las www. o no las pusieras, siempre te redirija a www.lachucheencasa.com Dominio de la tienda Dominio SSL Base URI Este es el contenido de mi .htaccess # ~~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> RewriteEngine on RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ 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] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ 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] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ 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] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ 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] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ 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] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ 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] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ RewriteRule ^c/([a-zA-Z-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^www.lachucheencasa.com$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </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 Muchas gracias! Edited November 12, 2012 by belius (see edit history) Link to comment Share on other sites More sharing options...
belius Posted November 12, 2012 Author Share Posted November 12, 2012 Alguien me podria ayudar? Link to comment Share on other sites More sharing options...
belius Posted November 12, 2012 Author Share Posted November 12, 2012 (edited) A lo mejor este mensaje que me sale al entrar en el panel de administracion ayuda: [sOLUCIONADO]: Tan sencillo como activar en SEO y URLs -> "Automáticamente redirigifdos a la URL canónica" Edited November 12, 2012 by belius (see edit history) Link to comment Share on other sites More sharing options...
Ron morales Posted February 12, 2013 Share Posted February 12, 2013 auto ayudado y me a ido bien a mi también, no me funcionaba en el htacces hay que ponerlo todas las direcciones que aparecen con 3w y poner url canónica especifico por si a alguien le pasa, mi server es 1and1 y funciona bien así Link to comment Share on other sites More sharing options...
Recommended Posts