http://domain.com >> http://www.domain.com
I have huge problem. I'm getting this error:
Error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "http://www.atari.lt/site/js/jquery.js Line: 19"]
Source File: http://www.atari.lt/site/js/jquery.js
Line: 19
..in FIREFOX when i'm accessing page via atari.lt Everything is fine, when I go via www.atari.lt. I'm thinking maybe there is a way to change url from atari.lt to www.atari.lt right after submiting url in browser window. Or maybe there is another way to solve this problem.
decibel.places posted this at 16:22 — 5th February 2009.
He has: 1,494 posts
Joined: Jun 2008
in .htaccess add this code to redirect atari.lt to www.atari.lt
RewriteEngine On
RewriteCond %{HTTP_HOST} ^atari.lt
RewriteRule (.*) http://www.atari.lt/$1 [R=301,L]
however, I am not seeing any error on either url
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.