Introduction

Rewriting

Begain

Setup YOUR GuppY

Tests


Connect again
---

Your name (or pseudo) :

Your secret code (associated with your pseudo)


 Count of members 19 members


Connected :

(nobody)
Visits

   visitors

   visitors online

Search




Coming from ?
forum.gifForum - Rewriting - Topic #22

Forum charter - Forum charter

Forum - Forum
Rewriting - Rewriting
- Topic # 22


active Topic # 22  pbl de fonctionement de mon url rewriting

26/04/2008 @ 11:03
by tycoons

tycoons

1 message

bonjour a tous ,

voila j essaye d installer mes parametre d url grace a des forum comme le votre  mais j ai beaucoup d erreur 404 mais pas sur chaque page

si quelque un d entre vous pouvais m aider a situer le probleme voici mon code:

:
Options +FollowSymlinks

Options -Indexes
RewriteEngine on

RewriteRule ^index\.html$  /annonces/index.php

RewriteRule ^index-([0-9]+)\.html$ /annonces/index.php?page=$1
RewriteRule ^liste-([0-9]+)\.html$  /annonces/liste.php?categorie=$1

RewriteRule ^liste-([0-9]+)-([0-9]+)\.html$ /annonces/liste.php

categorie=$1&page=$2


RewriteRule ^annonce-([0-9]+)\.html$ /annonces/view_annonce.php?id=$1

RewriteRule ^([a-z0-9A-Z\-\_]+)-([a-z0-9A-Z\-\_]+)-([a-z0-9A-Z\-\_]+)-([0-9]+)\.html$ /annonces/view_annonce.php?marque=$1&titre=$2&departement=$3&id=$4

#RewriteCond %{HTTP_USER_AGENT} ^Googlebot [NC,OR]
#Googlebot-Image/1.0
#RewriteCond %{HTTP_USER_AGENT} ^Googlebot-Image [NC,OR]
#Googlebot-Mobile/2.1; +http://www.google.com/bot.html)
#RewriteCond %{HTTP_USER_AGENT} ^Googlebot-Mobile [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} ^Msnbot [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} ^Slurp [NC,OR]
#RewriteCond %{HTTP_USER_AGENT} ^Mediapartners-Google [NC]
#RewriteRule ^.*$ - [L]

si vous trouver l erreur !!!!y

Write to tycoons   Web site tycoons Post an answer  Top
Answer n° 1
--------
30/04/2008 @ 07:39
by Rewrited

Rewrited

11 messages
Bonjour,
Tu n'utilise pas GuppY, utilises tu un moteur de site web libre ?
as tu modifié la gestion des liens de ton site ?
Pour quoi toutes ces lignes pour les robots ?
n
Write to Rewrited   Web site Rewrited Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 


^ Top ^