Depannage PC Boutique Forum
informatique

Ultimate SEO URLs sur 1&1, Probleme HTACCESS Oscommerce

Aide informatique Nous rachetons vos PC portables HS Aide informatique
informatique
Administrateur

Ultimate SEO URLs sur 1&1, Probleme HTACCESS Oscommerce

Donc voilà le problème dans la documentation Ultimate SEO URLs pour oscommerce, ça ne marche pas sur 1&1, voilà le code d'origine :

Code:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /commerce/

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}

Ceci est dut a un mod_rewrite un peu fantaisiste, remplacez moi ce code par :

Code:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /commerce/

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index.php?categorie=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING} [L]

C'est marrant comme un [L] devient financièrement important ^^

enjoy



  


information


Réponse rapide

forum Répondez et participez librement forum
Services informatiques Merci d'écrire un méssage de plus de 10 mots en français correct.

Top recherche sur le forum d'aide

Pied de page des forums

informatique
Forum : Réseau - Sécurité - Materiel
Php - Référencement - Serveurs - Divers
Windows - Internet - Logiciels - Communication
SARL Brakstar - siret : 48501380900010 RCS
9 allée du colonel Koch. 91250 Saintry sur Seine
Tel : 01.69.89.99.57 - Mail : societe@brakstar.com
Brakstar.com par Jeremy Gautier