Forcez le www à votre site (htaccess) Force the www to your site (htaccess)
www.monsite.com
monsite.com
www.monsite.com/index.php www.monsite.com / index.php
…
La page c’est toujours la même mais google va attribuer un pagerank différent pour chacune selon les liens qui pointe verte ce site. The page is still the same but will assign a google pagerank different for each according to the links pointing green this site.
C’est conseillé donc de choisir un méthode d’accès unique pour gagner un pagerank meilleur, et généralement le site doit etre accessible sous la forme : www.monsite.com . It is therefore advisable to choose a single access method to win a pagerank better, and generally the site should be accessible in the form www.monsite.com.
Pour forcer le www dans les site, créer un fichier . htaccess dans la racine de votre site et insérer le code suivant dedans: To force the www in the site, create a file. Htaccess in the root of your site and insert the following code inside:
Options FollowSymlinks Options FollowSymlinks
RewriteEngine on RewriteEngine on
rewritecond %{http_host} ^monsite.com [nc] rewritecond% () http_host monsite.com ^ [n]
rewriterule ^(.*)$ http://www.monsite.com/$1 [r=301,nc] rewriterule ^(.*)$ http://www.monsite.com/ $ 1 [r = 301, nc]
N’oubliez pas de remplacer ‘monsite’ par le nom de votre site. Remember to replace 'monsite' by the name of your site.
Partager cet article Share this article
February 18th, 2008 - Posté en: Google , Référencement & SEO | | February 18th, 2008 - Posted in: Google, Web & SEO | |
Leave a reply Leave a reply
Vous devez s'identifier pour poster. You must identify themselves to post.



