Thread: Marketing
View Single Post
Old 12th July 2008
hunteronline hunteronline is offline
Fdisk Soldier
 
Join Date: Jul 2008
Posts: 52
Default SE Marketing

Let's start with the very basics, bots only know what they are told eg:

http://www.daemonforums.org HTTP Status Code: HTTP/1.1 200 OK

http://daemonforums.org HTTP Status Code: HTTP/1.1 200 OK

http://daemonforums.org/index.php HTTP Status Code: HTTP/1.1 200 OK

http://www.daemonforums.org/index.php HTTP Status Code: HTTP/1.1 200 OK

The "Forum" must decide which url it's wants as it's root/home page and 301 the other 3 variation to the root.

Please try these two very basic rewrites in the .htaccess file

# If you want the site to be accessed WITH the www:
RewriteCond %{HTTP_HOST} !^www\.example.com [NC]
RewriteRule .* http://www.example.com/$1 [L,R=301]


RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.(php|htm|asp|aspx|hmtl)\ HTTP/
RewriteRule ^(([^/]+/)*)index\.(php|htm|asp|aspx|hmtl)$ /? [NC,R=301,L]

Re: bsdforum.net

If this domain is available there is nothing wrong with getting it and using a 301 redirect to daemonforums.org.
Reply With Quote