[Résolu] GYM installé mais erreurs 404 sur les liens

GYM Sitemaps & RSS pour phpBB, support, mise à disposition.
Sitemaps flux RSS 2.0 pour Google Yahoo! et MSN Live.

Modérateur: Modérateurs

[Résolu] GYM installé mais erreurs 404 sur les liens

Messagede Lothar » Mar Mar 03, 2009 12:21 pm

Bonjour,

j'utilise la premod, j'ai installé GYM sitemaps + flux RSS.

Les liens apparaissent bien sur le forum, mais dès que j'essaie d'accéder à l'un de ces liens, j'ai une erreur 404.

Une idée de la source du problème ?
Dernière édition par Lothar le Sam Mar 07, 2009 9:20 am, édité 1 fois.
Lothar
 
Messages: 11
Inscription: Mer Jan 28, 2009 12:38 pm

Publicité

Re: GYM installé mais erreurs 404 sur les liens

Messagede dcz » Mar Mar 03, 2009 4:36 pm

Tu as généré et mis en place un nouveau .htaccess une fois que tu as installé GYM ?
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: 21398
Inscription: Ven Avr 28, 2006 9:03 pm

Re: GYM installé mais erreurs 404 sur les liens

Messagede Lothar » Mar Mar 03, 2009 9:39 pm

Oui, voici mon .htaccess

Code: Tout sélectionner

# 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>


# 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
# REWRITE BASE
RewriteBase /forum/
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION

#####################################################
# PHPBB SEO REWRITE RULES - ADVANCED
#####################################################
# 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
RewriteRule ^[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^annonces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES ADVANCED
RewriteRule ^[a-z0-9_-]*-u([0-9]+)\.html$ memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES ADVANCED
RewriteRule ^[a-z0-9_-]*-u([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ADVANCED
RewriteRule ^[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^post([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]
# THE TEAM
RewriteRule ^equipe\.html$ memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

# DLP redirections
RewriteRule ^(n|p|u|se?|new)topic([0-9]+)[a-z0-9\.-]*$ /viewtopic.php?t=$2 [QSA,L,NC]

RewriteCond %{QUERY_STRING} ^mode=register(.*)$
RewriteRule ^ucp.php(.*)$ http://www.prepa-hec.org/user/register [R=301,L]

RewriteCond %{QUERY_STRING} ^mode=logout(.*)$
RewriteRule ^ucp.php(.*)$ http://www.prepa-hec.org/logout

RewriteCond %{QUERY_STRING} ^mode=login(.*)$
RewriteRule ^ucp.php(.*)$ http://www.prepa-hec.org/user/login?destination=forum

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

# FORUM WITHOUT ID & DELIM
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^forum/([a-z0-9_-]+)(-([0-9]+))\.html$ /forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^forum/([a-z0-9_-]+)\.html$ /forum/viewforum.php?forum_uri=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################

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

RewriteRule ^mforum([0-9]*).php /forum/viewforum.php?f=$1&mark=topics
RewriteRule ^viewforum([0-9]*)-([0-9]*)-([0-9]*).php /forum/viewforum.php?f=$1&topicdays=$2&start=$3
RewriteRule ^forum([0-9]*).php /forum/viewforum.php?f=$1
RewriteRule ^ptopic([0-9]*).php /forum/viewtopic.php?t=$1&view=previous
RewriteRule ^ntopic([0-9]*).php /forum/viewtopic.php?t=$1&view=next
RewriteRule ^stopic([0-9]*)-([0-9]*).php /forum/viewtopic.php?t=$1&watch=topic&start=$2
RewriteRule ^utopic([0-9]*)-([0-9]*).php /forum/viewtopic.php?t=$1&unwatch=topic&start=$2
RewriteRule ^ftopic([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).php /forum/viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4
RewriteRule ^ftopic([0-9]*)-([0-9]*).php /forum/viewtopic.php?t=$1&start=$2
RewriteRule ^ftopic([0-9]*).php /forum/viewtopic.php?t=$1
RewriteRule ^ftopic([0-9]*).php /forum/viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5
RewriteRule ^setopic_([0-9]*)-([a-zA-Z0-9]*).php /forum/viewtopic.php?t=$1&highlight=$2
RewriteRule ^sutra([0-9]*).php /forum/viewtopic.php?p=$1
RewriteRule ^newtopic([0-9]*).php /forum/viewtopic.php?t=$1&view=newest
RewriteRule ^messages-([.]+).php /forum/search.php?search_author=$1
RewriteRule ^quote_(.*).php /forum/posting.php?mode=quote&p=$1
RewriteRule ^postnew_forum_(.*).php /forum/posting.php?mode=newtopic&f=$1
RewriteRule ^replyto_topic_(.*).php /forum/posting.php?mode=reply&t=$1
RewriteRule ^search_newposts.php /forum/search.php?search_id=newposts
RewriteRule ^search_ego.php /forum/search.php?search_id=egosearch
RewriteRule ^unwatch_topic_(.*).php /forum/viewtopic.php?unwatch=topic&t=$1

ErrorDocument 404 http://www.prepa-hec.org/404.php
Lothar
 
Messages: 11
Inscription: Mer Jan 28, 2009 12:38 pm

Re: GYM installé mais erreurs 404 sur les liens

Messagede dcz » Ven Mar 06, 2009 9:25 pm

Il y a des forum/ en trop dans les rewriterules de GYM, vires les et ça marchera ;)
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: 21398
Inscription: Ven Avr 28, 2006 9:03 pm

Re: GYM installé mais erreurs 404 sur les liens

Messagede Lothar » Sam Mar 07, 2009 9:19 am

Ouah effectivement c'était aussi simple que ça...

J'avais trop la tête dans le guidon pour voir ça, merci beaucoup.
Lothar
 
Messages: 11
Inscription: Mer Jan 28, 2009 12:38 pm


Retourner vers GYM Sitemaps & RSS

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 5 invités