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.
Artiste : tutorial php Titre de la vidéo : .htaccess tip - Force www. in dynamic php mysql flash web site tutorial Catégories : PHP Vues : 352 Ajouté par : admin