Description
I am a senior at my local public high school. I have taken computer related classes throughout my high school career and have completed the AP Computer Science curriculum (A and AB). While I do meet the requirements for helping out with coding related tasks, I chose to start with this simple yet interesting task because this is my first time contributing to a large open source project. I found this interesting because I do not know how to complete the task described above but would like to learn how to do this. I hope to accomplish this quickly and move on to other more challenging tasks. I have used a lot of things created by the open source community and I am glad to finally have the opportunity to give something back.Read information on the No-WWW website to learn why it's important to not
use the WWW portion of a domain name.
Explain how to use an .htaccess redirect command to redirect all
http://www.example.com traffic to example.com using this code (instructing the
reader to replace example.com with their domain name.)
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^example.com [nc]
rewriterule ^(.*)$ http://www.example.com/$1 [r=301,nc]
Note: This .htaccess method of redirection requires Apache Mod-Rewrite
module enabled.
Finally, example how to define 'preferred domain' using Google Web Master
Tools and why that matters.
I do not have any questions because this task is very straightforward.
Google Task
[me=AmyStephen]Changed subject slightly for sorting all threads to match against Google resource [/me]