shrine19 Posted May 20, 2013 Share Posted May 20, 2013 Hi, this is a weird issue: We have installed Prestashop on a sub domain "http://giftshop.shrineofstbernadette.com", when we do not have our wildcard ssl enabled everything functions perfectly, however, when we have the wildcard ssl enabled the back office functions perfectly (https://) but when you go to checkout from the front end the page that loads is the index page from the primary domain but the url in the address bar is "https://giftshop.shrineofstbernadette.com/index.php?controller=order"(which is the correct url). You can see the primary domain index page at "http://shrineofstbernadette.com" or "https://shrineofstbernadette.com" to verify that its the index page to the primary domain. We have contacted our hosting company and we have made sure that the .htaccess file is correct. In addition, we have 2 other subdomains that do not have prestashop installed and they both load correctly with the wildcard ssl. "https://shrine.shrineofstbernadette.com" and "https://parish.shrineofstbernadette.com" Any ideas what to do? Thank you. Greg Link to comment Share on other sites More sharing options...
pchristy Posted July 7, 2013 Share Posted July 7, 2013 I am having the same issue with my Wildcard SSL. I feel like it has to be a rewrite issue as my site works the exact same, perfect when the SSL is off, and redirects me to my home index.php when the SSL is on (and I go to the shopping cart). Have you resolved your issue yet? My site is at store.ducatidetroit.com Link to comment Share on other sites More sharing options...
Dh42 Posted July 7, 2013 Share Posted July 7, 2013 Look in your htaccess file and make sure it is correctly redirecting your secure portions to the subdomain of the site. Link to comment Share on other sites More sharing options...
pchristy Posted July 7, 2013 Share Posted July 7, 2013 I am using bluehost.com, they had a form post telling me to do this... RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ RewriteCond %{REQUEST_URI} !^/store/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /store/$1 RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ RewriteRule ^(/)?$ store/index.php [L] Link to comment Share on other sites More sharing options...
Dh42 Posted July 7, 2013 Share Posted July 7, 2013 What happens when you change this line RewriteRule ^(/)?$ store/index.php [L] to RewriteRule ^(/)?$ index.php [L] Link to comment Share on other sites More sharing options...
pchristy Posted July 7, 2013 Share Posted July 7, 2013 Changed it, getting the same issue. Link to comment Share on other sites More sharing options...
Dh42 Posted July 7, 2013 Share Posted July 7, 2013 Do you have a link to the site so I can see what is happening? What version of Prestashop also. Link to comment Share on other sites More sharing options...
pchristy Posted July 7, 2013 Share Posted July 7, 2013 Yes, https://store.ducatidetroit.com I don't know if this will help, but this is the entire htacess file # Use PHP5 Single php.ini as default AddHandler application/x-httpd-php5s .php # ~~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:Authorization} ^(.*) RewriteRule . - [E=HTTP_AUTHORIZATION:%1] RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^store.ducatidetroit.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} ^store.ducatidetroit.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} ^store.ducatidetroit.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} ^store.ducatidetroit.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} ^store.ducatidetroit.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} ^store.ducatidetroit.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} ^store.ducatidetroit.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} ^store.ducatidetroit.com$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ 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 RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] RewriteCond %{HTTP_HOST} ^ducatidetroit.com/store$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^ducatidetroit.com/store$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^ducatidetroit.com/store$ 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} ^ducatidetroit.com/store$ 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} ^ducatidetroit.com/store$ 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} ^ducatidetroit.com/store$ 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} ^ducatidetroit.com/store$ 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} ^ducatidetroit.com/store$ 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} ^ducatidetroit.com/store$ 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} ^ducatidetroit.com/store$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^ducatidetroit.com/store$ RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteCond %{HTTP_HOST} ^ducatidetroit.com/store$ 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 RewriteCond %{HTTP_HOST} ^ducatidetroit.com/store$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^ducatidetroit.com/store$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" </IfModule> FileETag INode MTime Size <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript </IfModule> </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 RewriteCond %{HTTP_REFERER} !^http://birminghamducati.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://birminghamducati.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://detroit-ducati.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://detroit-ducati.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://detroitducati.org/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://detroitducati.org$ [NC] RewriteCond %{HTTP_REFERER} !^http://ducati-detroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://ducati-detroit.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://ducatidetroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://ducatidetroit.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://ducatiofdetroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://ducatiofdetroit.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://facebook.ducatidetroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://facebook.ducatidetroit.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://michiganducati.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://michiganducati.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://store.ducatidetroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://store.ducatidetroit.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.birminghamducati.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.birminghamducati.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.detroit-ducati.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.detroit-ducati.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.detroitducati.org/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.detroitducati.org$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.ducati-detroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.ducati-detroit.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.ducatidetroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.ducatidetroit.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.ducatiofdetroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.ducatiofdetroit.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.facebook.ducatidetroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.facebook.ducatidetroit.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.michiganducati.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.michiganducati.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.store.ducatidetroit.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.store.ducatidetroit.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] # BlueHost.com #.htaccess WildCard SSL RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ RewriteCond %{REQUEST_URI} !^/store/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /store/$1 RewriteCond %{HTTP_HOST} ^store.ducatidetroit.com$ RewriteRule ^(/)?$ /store/index.php [L] Link to comment Share on other sites More sharing options...
Dh42 Posted July 7, 2013 Share Posted July 7, 2013 Can you screen shot what you have in your SEO and urls for the ssl domain and base url. Link to comment Share on other sites More sharing options...
pchristy Posted July 7, 2013 Share Posted July 7, 2013 Here you go. Link to comment Share on other sites More sharing options...
Dh42 Posted July 7, 2013 Share Posted July 7, 2013 Does it work when you turn friendly url off? Link to comment Share on other sites More sharing options...
pchristy Posted July 7, 2013 Share Posted July 7, 2013 No, now it adds the index.php at the end and redirects the subdomain to the domain, making store.ducatidetroit.com/index.php. I left it up for you to see. Link to comment Share on other sites More sharing options...
Dh42 Posted July 7, 2013 Share Posted July 7, 2013 What version of prestashop are you using? Also, have you tried setting the the domain to shop.com and base url to /store/ Link to comment Share on other sites More sharing options...
pchristy Posted July 7, 2013 Share Posted July 7, 2013 v1.5.4.1 I changed the base URLs and the htaccess file to set it up as /store. Now I am getting redirect errors. Says the website has a redirect loop. Link to comment Share on other sites More sharing options...
pchristy Posted July 7, 2013 Share Posted July 7, 2013 Ok this is strange, I turned off the conical redirecting and it works as the /store Link to comment Share on other sites More sharing options...
nanopresta Posted October 14, 2013 Share Posted October 14, 2013 (edited) I am having the same issue, any help would be great. I am currently using 1.5.4.1 I set Shop domain = shop.mysite.com SSL domain = shop.mysite.com Base URI = / when I set the URI to /shop click save then set the URI to / then it works for a while but I can not turn cache setting on in performance backend or it the break will happen again. Edited October 14, 2013 by nanopresta (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