ilan316 Posted December 1, 2013 Share Posted December 1, 2013 How to redirect PrestaShop to open through www ? i have opened .htaccess , but it too difficult for me to know what to add or remove without causing a mistake Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 to learn how to update and keep your .htaccess updates read here http://www.prestashop.com/forums/topic/2131[spam-filter]tip-15-and-custom-htaccess/ here is the redirect: (also you should update your shop url's with www in back office-->pref-->seo & urls <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] </IfModule> Link to comment Share on other sites More sharing options...
vekia Posted December 1, 2013 Share Posted December 1, 2013 also check El Patrons offer, he has got great & cheap addon, it is worth to post this url http://www.etiendas.co/en/42-prestashop-15-customize-htaccess.html Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 to learn how to update and keep your .htaccess updates read here http://www.prestashop.com/forums/topic/2131[spam-filter]tip-15-and-custom-htaccess/ here is the redirect: (also you should update your shop url's with www in back office-->pref-->seo & urls <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] </IfModule> Sorry guys for disturbing but do i need to write the code above the line - # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again ??? Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 Sorry guys for disturbing but do i need to write the code above the line - # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again ??? jajaja...yes interrupting us poor moderators... yes above that line Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 ok did that, but now all images are missing and products redirected to 404 page what am i missing? Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 try in this order (did you do as mentioned above? i.e. seo & urls)? try clearing your browser cache...the revisit front office if continued issue turn off save and turn on save friendly urls, to rengenerate new .htaccess Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 In BO seo & urls Shop domain - www.mydomin.com SSL domain - www.mydomin.com Base URI - / is it ok ? Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 In BO seo & urls Shop domain - www.mydomin.com SSL domain - www.mydomin.com Base URI - / is it ok ? that would be my 'suggested' setting...this is only important so you don't lose products in cart etc, i.e. ps will use non www cookie and www cookie...so this avoid that issue Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 it worked thank you. 1 Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 it worked thank you. you are most welcome..make sure to test new registration, logging in with existing registered and cart through check out. Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 cant log on with exiting account, cant add items to cart. Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 what is your url? Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 paywithless.com Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 try clearing your 'browser' cookies. I just added to cart, created new order and made it to paypal without any problem. http://screencast.com/t/9Ey4aciWxl Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 Yes worked, But interesting, when im trying to log out from my account, page somewhat freezes. can you check if its the same on your side? Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 Yes worked, But interesting, when im trying to log out from my account, page somewhat freezes. can you check if its the same on your side? logout worked perfectly...also, you have a beautiful shop! Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 ok maybe problem on my chrome. thank you sir im trying to make it work. Link to comment Share on other sites More sharing options...
El Patron Posted December 1, 2013 Share Posted December 1, 2013 I just logged in and logged off using chrome..without issue...all the way to paypal... and it was nice because I had originally tested using firefox...when I logged on using chrome it rebuild my cart with the one product from firefox... so A ok from here Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 Thank you 1 Link to comment Share on other sites More sharing options...
stottycabanas Posted December 1, 2013 Share Posted December 1, 2013 ilan316, a bit off-topic but you may want to correct the spelling mistakes in your slider images. Should be 'Voucher' in one and 'Accessories' in the other. Cheers, Dave 1 Link to comment Share on other sites More sharing options...
ilan316 Posted December 1, 2013 Author Share Posted December 1, 2013 thank you dave 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