pauloric97 Posted August 23, 2014 Share Posted August 23, 2014 Sorry for bad english, I'm using google translator. Just move the installation of prestashop 1.6 to my new domain, but it is still redirecting to the old. The domain is http://200.143.178.146/~g4gam615/ (not yet propagated the new dns domain). Link to comment Share on other sites More sharing options...
Programmers Direct Posted August 23, 2014 Share Posted August 23, 2014 change it in admin backoffice Link to comment Share on other sites More sharing options...
pauloric97 Posted August 23, 2014 Author Share Posted August 23, 2014 (edited) My new domain is g4games.com.br - I changed the URL in the database in ps_shop_url and ps_configuration -> PS_SHOP_DOMAIN but still does not work. Now the images do not appear.. The backoffice does not work right. I suspect it's something in .htaccess - see: # ~~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/forumsSetEnv HTTP_MOD_REWRITE OnRewriteEngine onRewriteRule . - [E=REWRITEBASE:/loja2/]RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]# ImagesRewriteRule ^([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 fancyboxRewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]# DispatcherRewriteCond %{REQUEST_FILENAME} -s [OR]RewriteCond %{REQUEST_FILENAME} -l [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteRule ^.*$ - [NC,L]RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]AddType application/vnd.ms-fontobject .eotAddType font/ttf .ttfAddType font/otf .otfAddType application/x-font-woff .woff#If rewrite mod isn't enabledErrorDocument 404 /loja2/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 August 23, 2014 by pauloric97 (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted August 23, 2014 Share Posted August 23, 2014 turn off or on friendly url's, this will regenerate the .htaccess file then clear browser cache Link to comment Share on other sites More sharing options...
pauloric97 Posted August 23, 2014 Author Share Posted August 23, 2014 It did not work, the images are not appearing. Link to comment Share on other sites More sharing options...
El Patron Posted August 23, 2014 Share Posted August 23, 2014 I get 404 when I visit your shop using the url or ip. Link to comment Share on other sites More sharing options...
pauloric97 Posted August 23, 2014 Author Share Posted August 23, 2014 Problem solved, for lack of a "/" in shop_url table was not working. thanks to everyone for their willingness to help. 1 Link to comment Share on other sites More sharing options...
Recommended Posts