Zen Follower
- Join Date:
- Apr 2010
- Posts:
- 149
- Plugin Contributions:
- 0
.htaccess help!
Hi. I am trying to re direct my URLS to one particular one.
In order to do this i need to use a 301 redirect. i tried changing my .htaccess file.
Contents of .htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^gamenet.net.au/?$ "http://gamenet.net.au/" [R=301,L]
redirect 301 http://gamenet.net.au/ http://www.gamenet.net.au/
I tried adding the bottom line of code to redirect http://gamenet.net.au/ to http://www.gamenet.net.au/ however when i type in the first url it does not re-direct my to the latter.
I am not sure that i used the correct code. could someone please help me out? it would be greatly appreciated. Thanks!