chris2407 Posted August 3, 2011 Share Posted August 3, 2011 Hello, always when i visit my prestashop in Internet explorer and type the domain without "www" i get this JQuery error. How can i fix this problem so the error will not be shown? I also have some different domain names and want them to work without any error... I also found this problem on the prestashop bug tracker...: http://forge.prestashop.com/browse/PSCFI-2323 Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C) Zeitstempel: Wed, 3 Aug 2011 16:29:41 UTC Meldung: Zugriff verweigert Zeile: 138 Zeichen: 355 Code: 0 URI: http://mydomain.de/js/jquery/jquery-1.4.4.min.js Meldung: Zugriff verweigert Zeile: 138 Zeichen: 355 Code: 0 URI: http://mydomain.de/js/jquery/jquery-1.4.4.min.js many thanks, chris Link to comment Share on other sites More sharing options...
chris2407 Posted August 4, 2011 Author Share Posted August 4, 2011 Can somebody please help me on this? I need to find a solution for this error... i also have different domain names and i dont want the site to show any error when customers visit the shop from a different domain... many thanks Link to comment Share on other sites More sharing options...
Mike Kranzler Posted August 4, 2011 Share Posted August 4, 2011 Hi Chris, As I'm sure you saw in the bug report you linked, this is not a PrestaShop issue, but an issue with IE's security configurations. The easiest way to fix this is to set up a redirect in .htaccess so that www.yoursite.com and yoursite.com (with no www) both resolve to www.yoursite.com. Hope this helps! Link to comment Share on other sites More sharing options...
tomerg3 Posted August 4, 2011 Share Posted August 4, 2011 It's also the best practice for SEO (use one URL, with or without www and redirect to the other). You can see an example in http://www.presto-changeo.com/en/content/6-prestashopseotips (Pick a default URL) Link to comment Share on other sites More sharing options...
chris2407 Posted August 4, 2011 Author Share Posted August 4, 2011 Thanks guys you really helped me out. And my other domain names that i have, all have to be redirected to the one default domain right? Link to comment Share on other sites More sharing options...
tomerg3 Posted August 4, 2011 Share Posted August 4, 2011 If the plan is to have then open up the same site then yes, that's the best option. (to avoid content duplication by search engines) Link to comment Share on other sites More sharing options...
chris2407 Posted August 5, 2011 Author Share Posted August 5, 2011 Ok many thanks. I did the modifications and its working fine now. Are the "Prevent Meta Tag Duplication" steps still required in Prestashop 1.4.017? I also have your duplicate url redirect module installed... thank you. Link to comment Share on other sites More sharing options...
tomerg3 Posted August 5, 2011 Share Posted August 5, 2011 The part about changing the page title for pagination (IE: ?p=2) are still needed, since search engine will see the same title to all the pagination pages. Link to comment Share on other sites More sharing options...
Recommended Posts