hi to all
i tested many open cart demo 2.2.x on themeforest.
and i found this :
if i write the shop address : http://test.com (without www form) , add to cart button work. ist OKEY.
but with www. form add to cart button doenst work. then i see erorr Windows.
please check it. and what is it? how can i solve?
on all demo and on many different server. i think this is not because of server..
thnaks for your info
i tested many open cart demo 2.2.x on themeforest.
and i found this :
if i write the shop address : http://test.com (without www form) , add to cart button work. ist OKEY.
but with www. form add to cart button doenst work. then i see erorr Windows.
please check it. and what is it? how can i solve?
on all demo and on many different server. i think this is not because of server..
thnaks for your info
Last edited by i2Paq on Mon Jun 27, 2016 2:26 pm, edited 1 time in total.
Reason: Title adjusted
Reason: Title adjusted
Removed first solution: User confirms not working for this topic.
A secondary solution: http://www.opencartaz.com/opencart/150- ... utton.html which leads to this post: http://forum.opencart.com/viewtopic.php ... 05#p202005
A secondary solution: http://www.opencartaz.com/opencart/150- ... utton.html which leads to this post: http://forum.opencart.com/viewtopic.php ... 05#p202005
Last edited by straightlight on Sun Jun 26, 2016 11:30 pm, edited 1 time in total.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
thanks for your info.
1. solution doenst work by me. i testet now.
no Redirect with following code 8 i changed sure with my address..
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule (.*) http://example.com/$1 [R=301,L]
i will try now second solutions. then i report here
1. solution doenst work by me. i testet now.
no Redirect with following code 8 i changed sure with my address..
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule (.*) http://example.com/$1 [R=301,L]
i will try now second solutions. then i report here
No problem. First solution removed. However, ensure to reboot your server after making the .htaccess change. Otherwise, no effect will be reflected.ssswisss wrote:thanks for your info.
1. solution doenst work by me. i testet now.
no Redirect with following code 8 i changed sure with my address..
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule (.*) http://example.com/$1 [R=301,L]
i will try now second solutions. then i report here
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Did you restarted the server after the changes made?ssswisss wrote:i dont understand second option with following codealso doenst work
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,NC]
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
SORRRYYYYYYY. I DID NOW
on my open cart directory should i rename htaccess.txt to .htaccess
then following code is working :
RewriteCond %{HTTP_HOST} ^www\.test\.com [NC]
RewriteRule ^(.*)$ http://test.com/$1 [L,R=301]
on my open cart directory should i rename htaccess.txt to .htaccess
then following code is working :
RewriteCond %{HTTP_HOST} ^www\.test\.com [NC]
RewriteRule ^(.*)$ http://test.com/$1 [L,R=301]
Yes, the file has to be renamed before you reboot the server.ssswisss wrote:SORRRYYYYYYY. I DID NOW
on my open cart directory should i rename htaccess.txt to .htaccess
then following code is working :
RewriteCond %{HTTP_HOST} ^www\.test\.com [NC]
RewriteRule ^(.*)$ http://test.com/$1 [L,R=301]
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Great, problem solved.ssswisss wrote:i didnt reboot my server, i added code and renamed then worked automaticly..
thanks for your help and info

Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 7 guests