Problémme Zoints seo : Url rewriting pour vbulletin
4 messages
• Page 1 sur 1
Consultez la formation URL Rewriting et sites dynamiques de WebRankInfo / Ranking Metrics
- KaM3-L3oN
- WRInaute discret

- Messages: 188
- Inscription: 8 Aoû 2006
Problémme Zoints seo : Url rewriting pour vbulletin
Voila bonjour j ' ai un problémme avec le hack de référencement pour vbulletun url rewriting etc...
Lien du hack: http://www.vbulletin.org/forum/showthread.php?t=127336
Mon problémme est le .htaccess il donne:
----------------------------------------
Options +FollowSymlinks
RewriteEngine on
----------------------------------------
Add the following lines at the end of the file
----------------------------------------
RewriteRule ^([a-z0-9_-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?.html)$ forumdisplay.php/$1 [QSA,L]
RewriteRule ^([a-z0-9_-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?.html)$ showthread.php/$1 [QSA,L]
RewriteCond %{REQUEST_URI} !(index.php|.css) [NC]
RewriteRule ^(archive|sitemap)/(.*)$ $1/index.php/$2 [QSA,L]
----------------------------------------
Quand je met ce htaccess et que je veux acceder à mon forum sa me met sa:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@x-dozboard.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
à mon avis c' est dans le .htaccess mais il faut modifier quoi ? quelle ligne?
Merci.
Lien du hack: http://www.vbulletin.org/forum/showthread.php?t=127336
Mon problémme est le .htaccess il donne:
----------------------------------------
Options +FollowSymlinks
RewriteEngine on
----------------------------------------
Add the following lines at the end of the file
----------------------------------------
RewriteRule ^([a-z0-9_-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?.html)$ forumdisplay.php/$1 [QSA,L]
RewriteRule ^([a-z0-9_-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?.html)$ showthread.php/$1 [QSA,L]
RewriteCond %{REQUEST_URI} !(index.php|.css) [NC]
RewriteRule ^(archive|sitemap)/(.*)$ $1/index.php/$2 [QSA,L]
----------------------------------------
Quand je met ce htaccess et que je veux acceder à mon forum sa me met sa:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@x-dozboard.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
à mon avis c' est dans le .htaccess mais il faut modifier quoi ? quelle ligne?
Merci.
- Arcadyan
- Nouveau WRInaute

- Messages: 4
- Inscription: 15 Aoû 2006
bonjour, chez moi, ca fonctionne parfaitement...as-tu essayé les différent modes de rewriting? il y en a un qui n'utilise pas le fichier htaccess visiblement....
j'embraye sur ce post, car j'ai tout de meme un probleme....un hack qui n'est pas compatible...j'aurais donc souhaité savoir si dans le htaccess on pouvait mettre une "ligne magique "(dsl j'y connais rien pour ma part) qui empeche le rewriting sur tout ce qui concerne ce hack...je m'explique :
sans le rewriting, les urls de ce hack donnent ce genre de chose
http://www.mondomaine.com.com/forum/vbm ... iaid&cid=3
avec le rewriting activé, ca donne ça
http://www.mondomaine.com.com/forum/?do ... iaid&cid=3
au cas ou ca pourrait aider, voici donc mon htaccess
et un autre fichier auquel beaucou s'interesse par rapport a des probleme de hack incompatible avec zoint seo
merci!!!
j'embraye sur ce post, car j'ai tout de meme un probleme....un hack qui n'est pas compatible...j'aurais donc souhaité savoir si dans le htaccess on pouvait mettre une "ligne magique "(dsl j'y connais rien pour ma part) qui empeche le rewriting sur tout ce qui concerne ce hack...je m'explique :
sans le rewriting, les urls de ce hack donnent ce genre de chose
http://www.mondomaine.com.com/forum/vbm ... iaid&cid=3
avec le rewriting activé, ca donne ça
http://www.mondomaine.com.com/forum/?do ... iaid&cid=3
au cas ou ca pourrait aider, voici donc mon htaccess
- Code: Tout sélectionner
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([a-z0-9_\-]*-(f|all)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ forumdisplay.php/$1 [QSA,L]
RewriteRule ^([a-z0-9_\-]*-(t|p)[0-9]+(p[0-9]+|/index[0-9]*)?\.html)$ showthread.php/$1 [QSA,L]
RewriteCond %{REQUEST_URI} !(index\.php|\.css) [NC]
RewriteRule ^(archive|sitemap)/(.*)$ $1/index.php/$2 [QSA,L]
et un autre fichier auquel beaucou s'interesse par rapport a des probleme de hack incompatible avec zoint seo
- Code: Tout sélectionner
if ($vbulletin->options['zointsseo_on'] AND $vbulletin->options['zointsseo_meta_description'] == 2 AND isset($vbulletin->zointsseo['firstposttext']))
{
$zseo_description = str_replace('"', '', strip_bbcode($vbulletin->zointsseo['firstposttext']));
$words = preg_split("#[\r\n\s]#", $zseo_description, $vbulletin->options['zointsseo_first_x_words'] + 1, PREG_SPLIT_NO_EMPTY);
$description = '';
$i = 0;
foreach ($words as $word)
{
$description .= " $word";
if (++$i == $vbulletin->options['zointsseo_first_x_words']) break;
}
$description = substr($description,1);
$output = str_replace('{DESCRIPTION}',$description,$output);
}
if ($vbulletin->options['zointsseo_on'] AND $vbulletin->options['zointsseo_fix_index'])
{
$output = preg_replace(
array(
"#<a href=\"index.php#i",
"#<a href=\"" . preg_quote($vbulletin->options['bburl'],'#') . "/index.php#i"
), array(
'<a href="' . $vbulletin->options['bburl'] . '/',
'<a href="' . $vbulletin->options['bburl'] . '/'
), $output
);
}
if ($vbulletin->options['zointsseo_on'])
{
if (strpos($output, '<a href="faq.php'))
{
$matches = array();
preg_match_all("#<a href=\"faq\.php(.*?)\"(.*?)>#i", $output, $matches, PREG_SET_ORDER);
if (count($matches))
{
foreach ($matches as $faqlink)
{
if (strpos($faqlink[0], 'rel="nofollow"') === false)
{
$output = str_replace($faqlink[0], "<a href=\"faq.php$faqlink[1]\"$faqlink[2] rel=\"nofollow\">", $output);
}
}
}
}
if
if (strpos($output, '"#top"'))
{
$output = str_replace('"#top"', '"#top" rel="nofollow"', $output);
}
if ($vbulletin->options['zointsseo_rewrite_urls'] == 2)
{
$output = str_replace("archive/index.php", "archive/", $output);
}
if ($vbulletin->options['zointsseo_rewrite_sitemap'])
{
$output = preg_replace(
array(
"#<a href=\"archive/#i",
"#<a href=\"" . preg_quote($vbulletin->options['bburl'],'#') . "/archive/#i"
), array(
'<a href="sitemap/',
'<a href="' . $vbulletin->options['bburl'] . '/sitemap/'
), $output
);
}
}
merci!!!
4 messages
• Page 1 sur 1
Formation recommandée sur ce thème :
Formation URL Rewriting et sites dynamiques : apprenez comment mettre en place la réécriture d'URL, comment optimiser vos URL et profiter de vos pages dynamiques pour booster votre référencement. Formation animée par Olivier Duffez et Fabien Facériès, experts en référencement naturel.
Tous les détails sur le site Ranking Metrics : programme, prix, dates et lieux, inscription en ligne.
Lectures recommandées sur ce thème :
- Problémme avec ZEND sur mon forum vbulletin.
- URL Rewriting pour vBulletin
- Url rewriting sur vbulletin ?
- Zoints seo : mes "é" ne sont pas remplacer par des
- seo et url rewriting
- seo URL Rewriting et ancien lien
- Url rewriting avec phpBB seo
- URL Rewriting, plusieurs tirets dans votre SEO
- Comment intégrer un flux url sur un site Vbulletin
- problemme de l'image de fond
Consultez la description détaillée des produits ou services de Google suivants : Google goo.gl
- Liste des backlinks
Cet outil vous permet d'analyser en détails la "popularité" de votre site sur Google. En plus du nombre de liens pris en compte par Google, il calcule le pourcentage de liens internes parmi tous les liens, et il affiche les premières URL trouvées. - Transformer des textes non cliquables en liens
Cet outil vous permet de trouver des pages citant votre site mais ne faisant pas (encore) de lien. Il suffira parfois d'un simple mail pour transformer cette simple citation en lien (backlink).
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

