30Jun/100
How to force your visitors to goto your website domain without www as a prefix with mod_rewrite in Apache
Actually this is quite simple, you need to create a .htaccess file into your public_html / httpdocs directory and add the following piece of code:
Force non-www
# Force non-www RewriteEngine On RewriteCond %{HTTP_HOST} !^kitara.nl RewriteRule (.*) http://kitara.nl/$1 [R=301,L]
Force www
# Force www RewriteCond %{HTTP_HOST} !^www.kitara.nl RewriteRule (.*) http://www.kitara.nl/$1 [R=301,L]
Of course you need to modify this to match your own domain name
24Mar/100
How to make a Flash movie redirect with ActionScript3 from your timeline
You can use the following code to simply redirect from a key in your timeline.
I used this to redirect after my preloader finished.
var url:String = "home.html"; var request:URLRequest = new URLRequest(url); try { navigateToURL(request, "_self"); } catch (e:Error) { trace("Error occurred!"); }




