Urls réécrites mais erreur 404 avec Premod3.0.7-PL1 [Résolu]

Le forum de support de la premod phpBB SEO pour phpBB3.
La premod inclus les trois solution de réécriture d'URL de phpBB SEO ainsi que différents mods d'optimisation du référencement pré-installés.

Modérateur: Modérateurs

Urls réécrites mais erreur 404 avec Premod3.0.7-PL1 [Résolu]

Messagede Princ7 » Lun Mar 08, 2010 2:02 pm

Bonjour,




Me revoilà x) Suite de ce sujet là : phpBB 3.0.7 (modifié) vers premod 3.0.7, possible ? [Résolu]

Informations :
    # Premod Référencement phpBB SEO V 3.0.7-PL1
    # phpBB 3.0.7-PL1 (modifié)
=> Le tout fusionné comme cela est dit sur mon précédent sujet ci-dessus :wink:
=> Installation + configuration et personnalisation :oops:
=> phpBB SEO Ultimate SEO URL Mode : Intermédiaire - 0.6.4
=> Puis mon .htaccess mis en ligne dans mon sous-dossier /phpBB/

Jusqu'ici tout allait bien..
Je met à "oui" : Activer la réécriture d’URLs

Mon forum reste accessible, toutes les urls qui devaient être réécrites le sont :D Mais dès que je vais sur une ça me met une erreur 404 :(
Et donc je peux accéder aux sujets seulement avec les anciennes urls :?

Mon .htaccess : (J'ai mis des XXXXXXXXX pour vous cacher des info's dans mes modifs au début :roll: )
Code: Tout sélectionner
#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>

######### Modif by Ibrinouw DEBUT

#
# Blocage provisoire
#
AuthUserFile /XXXXXXXXX/.htpasswd
AuthGroupFile /dev/null
AuthName "XXXXXXXXX"
AuthType basic
require valid-user
#

#####################################################
# Lines That should already be in your .htacess
#####################################################

<Files "config.php">
   Order Allow,Deny
   Deny from All
</Files>
<Files "common.php">
   Order Allow,Deny
   Deny from All
</Files>

#
# Mettre # si blocage provisoire On
#
# <Files "XXXXXXXXX">
# AuthUserFile /XXXXXXXXX/.htpasswd
# AuthGroupFile /dev/null
# AuthName "XXXXXXXXX"
# AuthType basic
# require valid-user
# </Files>
#

######### Modif by Ibrinouw FIN

# You may need to un-comment the following lines
# Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
# Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
# RewriteEngine On
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# REWRITE BASE
RewriteBase /phpBB/
# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
# RewriteCond %{HTTP_HOST} !^fr\.ibrinouw\.com$ [NC]
# RewriteRule ^(.*)$ http://fr.ibrinouw.com/phpBB/$1 [QSA,L,R=301]

# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
#####################################################
# PHPBB SEO REWRITE RULES ALL MODES
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^forum\.html$ index.php [QSA,L,NC]
# FORUM ALL MODES
RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ viewforum.php?f=$2&start=$4 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(sujet|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^annonces/(sujet|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?t=$2&start=$4 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^([a-z0-9_-]*)/?(sujet|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
# PHPBB FILES ALL MODES
RewriteRule ^ressources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ download/file.php?id=$2&t=$1 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^membre/([^/]+)/?$ memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^membre/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ALL MODES
RewriteRule ^(groupe|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^message([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^sujets-actifs(-([0-9]+))?\.html$ search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^sans-reponses(-([0-9]+))?\.html$ search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^nouveaux-messages(-([0-9]+))?\.html$ search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# UNREAD POSTS
RewriteRule ^non-lu(-([0-9]+))?\.html$ search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
# THE TEAM
RewriteRule ^equipe\.html$ memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

#####################################################
# GYM Sitemaps & RSS
# Global channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ gymrss.php?channels&$2&$4&$6 [QSA,L,NC]
# HTML Global news & maps
RewriteRule ^(news|maps)/?(page([0-9]+)\.html)?$ map.php?$1&start=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################

# FORUM WITHOUT ID & DELIM ALL MODES (SAME DELIM)
# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# FIX RELATIVE PATHS : FILES
RewriteRule ^.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ $1 [QSA,L,NC,R=301]
# FIX RELATIVE PATHS : IMAGES
RewriteRule ^.+/(styles/.*|images/.*)/$ $1 [QSA,L,NC,R=301]
# END PHPBB PAGES
#####################################################

#####################################################
# GYM Sitemaps & RSS
# HTML Module additional modes
RewriteRule ^(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$ map.php?$2=$4&$1&start=$6 [QSA,L,NC]
# Main feeds & channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]
# Module feeds
RewriteRule ^[a-z0-9_-]*-[a-z]{1,2}([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]
# Module feeds without ids
RewriteRule ^([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]
# Google SitemapIndex
RewriteRule ^sitemapindex\.xml(\.gz)?$ sitemap.php?gzip=$1 [QSA,L,NC]
# Module cat sitemaps
RewriteRule ^[a-z0-9_-]+-([a-z]{1,2})([0-9]+)\.xml(\.gz)?$ sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]
# Module sitemaps
RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ sitemap.php?$1=$2&gzip=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################


Ah oui, au passage j'ai été obligé d'activer :
Code: Tout sélectionner
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>

Sinon mon forum n'était plus du tout accessible :mrgreen:

Et j'ai aussi remplacé :
Code: Tout sélectionner
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On

Par :
Code: Tout sélectionner
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
# RewriteEngine On

Enfin je pense que ce n'est pas la peine de l'avoir en double, non ?
De toute façon j'ai essayé avec ou sans # et j'ai dans les 2 cas le même résultat ^^'
Idem concernant "# Options +FollowSymlinks"..


Bref que faire pour les 404 ? Parce que là du coup je ne sais pas.. =/




Merci d'avance.
(Edite : Petite mise à jour de mon .htaccess)
Dernière édition par Princ7 le Mar Mar 09, 2010 4:57 pm, édité 1 fois.
Avatar de l’utilisateur
Princ7
 
Messages: 30
Inscription: Mer Mar 03, 2010 3:47 pm
Localisation: France

Publicité

Re: Urls réécrites mais erreur 404 avec Premod3.0.7-PL1

Messagede dcz » Lun Mar 08, 2010 4:14 pm

Donc si ce .htaccess est bien dans phpBB/, il est censé marcher. Essayes de jouer avec les option de slashes (droit, puis gauche et les combinaisons).

Et comme dis dans l'installe, tu n'es pas obligé d'activer la réécriture pour tester ton .htaccess, il faut juste tester une url réécrite.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Messages: 21219
Inscription: Ven Avr 28, 2006 9:03 pm

Re: Urls réécrites mais erreur 404 avec Premod3.0.7-PL1

Messagede Princ7 » Lun Mar 08, 2010 6:44 pm

Bonsoir,


Hum je viens de tester les 3 sans activer la réécriture et sans succès :(

A moins que je n'ai pas testé les bonnes urls ? =/
J'ai testé :
    XXXX/phpBB/equipe.html
    XXXX/phpBB/message1.html
    XXXX/phpBB/post1.html
Mais vu que j'ai personnalisé "post" par "message" comme on peut voir dans mon .htaccess
Normalement c'est bon *.*

Bizarre :| ^^'

Au passage, concernant GymSitemap' est-il possible d'envoyer mon /phpBB/sitemap.php vers l'outil webmasters tools de Google ?
Parce que je n'ai rien vu à ce sujet dans l'install, il me semble *.*
Avatar de l’utilisateur
Princ7
 
Messages: 30
Inscription: Mer Mar 03, 2010 3:47 pm
Localisation: France

Re: Urls réécrites mais erreur 404 avec Premod3.0.7-PL1

Messagede dcz » Lun Mar 08, 2010 7:17 pm

mm, alors commence par ça : Tester si le mod_rewrite est activé
Pour être sûr que mod_rewrite est activé sur ton serveur.

Pour GYM, oui tu peux soumettre le sitemapindex, comme dit dans le sujet de mise à disposition : Module GYM Sitemaps & RSS 2.0.1

Mais attend que tout marche avant ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Messages: 21219
Inscription: Ven Avr 28, 2006 9:03 pm

Re: Urls réécrites mais erreur 404 avec Premod3.0.7-PL1

Messagede Princ7 » Lun Mar 08, 2010 9:20 pm

Re bonsoir,


J'ai fait un test similaire avec un dossier /test/ et un fichier trouve.html et ce .htaccess :
Code: Tout sélectionner
RewriteEngine On
RewriteBase /test/
RewriteRule ^cherche\.html$ trouve.html [QSA,L]

Et l'url :http://XXXX/test/cherche.html marche ! :D
Donc mod_rewrite est bien activé *.*

Je vais retenter avec mon .htaccess de phpBB, voir si je trouve pas the solution xD
Sinon bizarre ! =/

Merci pour ta réponse concernant le sitemap, je verrai ça après alors :)

***************************
Édite : J'ai trouvé la solution ! :D Et miracle tout marche sans exception :mrgreen:

Mon nouveau .htaccess : (J'ai mis des XXXXXXXXX pour vous cacher des info's dans mes modifs au début toujours :roll: )
Code: Tout sélectionner
#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
# <IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# </IfModule>

######### Modif by Ibrinouw DEBUT

#
# Blocage provisoire Off
#
# AuthUserFile /XXXXXXXXX/.htpasswd
# AuthGroupFile /dev/null
# AuthName "XXXXXXXXX"
# AuthType basic
# require valid-user
#

#####################################################
# Lines That should already be in your .htacess
#####################################################

<Files "config.php">
   Order Allow,Deny
   Deny from All
</Files>
<Files "common.php">
   Order Allow,Deny
   Deny from All
</Files>

#
# Mettre # si blocage provisoire On
#
<Files "XXXXXXXXX">
AuthUserFile /XXXXXXXXX/.htpasswd
AuthGroupFile /dev/null
AuthName "XXXXXXXXX"
AuthType basic
require valid-user
</Files>
#

######### Modif by Ibrinouw FIN

# You may need to un-comment the following lines
# Options +FollowSymlinks
# To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
# Options -MultiViews
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# REWRITE BASE
RewriteBase /phpBB/
# HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
# RewriteCond %{HTTP_HOST} !^fr\.ibrinouw\.com$ [NC]
# RewriteRule ^(.*)$ http://fr.ibrinouw.com/phpBB/$1 [QSA,L,R=301]

# DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
# RewriteCond %{REQUEST_FILENAME} -f
# RewriteCond %{REQUEST_FILENAME} -d
# RewriteRule . - [L]
#####################################################
# PHPBB SEO REWRITE RULES ALL MODES
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^forum\.html$ index.php [QSA,L,NC]
# FORUM ALL MODES
RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ viewforum.php?f=$2&start=$4 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(sujet|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^annonces/(sujet|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?t=$2&start=$4 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM ALL MODES
RewriteRule ^([a-z0-9_-]*)/?(sujet|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
# PHPBB FILES ALL MODES
RewriteRule ^ressources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ download/file.php?id=$2&t=$1 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^membre/([^/]+)/?$ memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^membre/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ALL MODES
RewriteRule ^(groupe|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
# POST
RewriteRule ^message([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^sujets-actifs(-([0-9]+))?\.html$ search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^sans-reponses(-([0-9]+))?\.html$ search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^nouveaux-messages(-([0-9]+))?\.html$ search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# UNREAD POSTS
RewriteRule ^non-lu(-([0-9]+))?\.html$ search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
# THE TEAM
RewriteRule ^equipe\.html$ memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

#####################################################
# GYM Sitemaps & RSS
# Global channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ gymrss.php?channels&$2&$4&$6 [QSA,L,NC]
# HTML Global news & maps
RewriteRule ^(news|maps)/?(page([0-9]+)\.html)?$ map.php?$1&start=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################

# FORUM WITHOUT ID & DELIM ALL MODES (SAME DELIM)
# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# FIX RELATIVE PATHS : FILES
RewriteRule ^.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ $1 [QSA,L,NC,R=301]
# FIX RELATIVE PATHS : IMAGES
RewriteRule ^.+/(styles/.*|images/.*)/$ $1 [QSA,L,NC,R=301]
# END PHPBB PAGES
#####################################################

#####################################################
# GYM Sitemaps & RSS
# HTML Module additional modes
RewriteRule ^(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$ map.php?$2=$4&$1&start=$6 [QSA,L,NC]
# Main feeds & channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]
# Module feeds
RewriteRule ^[a-z0-9_-]*-[a-z]{1,2}([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]
# Module feeds without ids
RewriteRule ^([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]
# Google SitemapIndex
RewriteRule ^sitemapindex\.xml(\.gz)?$ sitemap.php?gzip=$1 [QSA,L,NC]
# Module cat sitemaps
RewriteRule ^[a-z0-9_-]+-([a-z]{1,2})([0-9]+)\.xml(\.gz)?$ sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]
# Module sitemaps
RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ sitemap.php?$1=$2&gzip=$3 [QSA,L,NC]
# END GYM Sitemaps & RSS
#####################################################


Donc j'ai remis sans slashes et j'ai remplacé :
Code: Tout sélectionner
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>

Par :
Code: Tout sélectionner
# <IfModule mod_rewrite.c>
# RewriteEngine on
# RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# </IfModule>

Et donc j'ai remis :
Code: Tout sélectionner
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On

Mais par contre j'ai remplacé :
Code: Tout sélectionner
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]

Par :
Code: Tout sélectionner
# RewriteCond %{REQUEST_FILENAME} -f
# RewriteCond %{REQUEST_FILENAME} -d
# RewriteRule . - [L]



Et maintenant ça marche ! :D Mais à quoi servait ces 3 lignes ? Est-ce que ça risque de me poser un problème plus tard ? ou pas ? =/
Merci d'avance pour ces réponses =)
Avatar de l’utilisateur
Princ7
 
Messages: 30
Inscription: Mer Mar 03, 2010 3:47 pm
Localisation: France

Re: Urls réécrites mais erreur 404 avec Premod3.0.7-PL1

Messagede dcz » Mar Mar 09, 2010 2:08 pm

Tu peux virer ces trois lignes sans soucis, c'est juste une petit optimisation, pour dire au serveur que si le fichier physique existe, alors il ne faut pas tester les rewriterules.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Messages: 21219
Inscription: Ven Avr 28, 2006 9:03 pm

Re: Urls réécrites mais erreur 404 avec Premod3.0.7-PL1 [Résolu]

Messagede Princ7 » Mar Mar 09, 2010 5:01 pm

Salut,




Ok, merci pour ta réponse :D
Sinon, tout marche sur mon forum, c'est parfait et les urls n'ont jamais été aussi belle :mrgreen: ^-^




Bref @plus =)
Avatar de l’utilisateur
Princ7
 
Messages: 30
Inscription: Mer Mar 03, 2010 3:47 pm
Localisation: France


Retourner vers Premod phpBB SEO

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 1 invité