J'ai modifié mon .htaccess comme indiqué :
- Code: Tout sélectionner
DirectoryIndex index.html index.htm portal.php index.php
RewriteCond %{HTTP_HOST} ^nomdedomaine\.com$ [NC]
RewriteRule ^(.*) http://www.nondedomaine.com/$1 [QSA,L,R=301]
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# CATEGORIES
RewriteRule ^cat([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forum([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forum([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^topic([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^topic([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
# PROFILES
RewriteRule ^membre([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################
Si je fais mon sitemap.php, j'obtiens des liens xml et si je fais un copié collé d'un de ces liens xml dans un navigateur, ça ne trouve rien. Est-ce normal ? Idem si je fais sitemap.xml au lieu de sitemap.php ça ne fonctionne pas non plus.

Français |
Anglais

