.htaccess tip – Force www. in dynamic php mysql flash web site tutorial

Here is the code to copy and paste # Make all requests have the www. in them RewriteEngine on RewriteCond %{HTTP_HOST} ^websitename\.com RewriteRule ^(.*)$ www.websitename.com [R=permanent,L] In this quick web development tip Adam Khoury of Flash Building discusses the apache method of forcing script connection in case the www is missing from a URL that requires it for script connection.


Comments

6 Responses to “.htaccess tip – Force www. in dynamic php mysql flash web site tutorial”

  1. DadidiFTW on April 11th, 2009 6:11 pm

    very cool.

  2. ddoodm on April 11th, 2009 6:59 pm

    Oh sweet! Thanks man! Been looking for this for ages!

  3. DazMode on April 14th, 2009 12:05 pm

    Awersome. Love your explanations. So clear.

  4. carmonkeycasino on June 6th, 2009 7:26 pm

    Thanks, i tried it and i liked what i saw :-). Love your stuff man!!!!

  5. peaceluvalwayz on July 26th, 2009 4:13 pm

    Giving Thanks!

    Blessed, bredren

  6. PersonalComputerHelp on November 1st, 2009 3:12 am

    the old forum …

Powered by Yahoo! Answers