Ultimate SEO URLs sur 1&1, Probleme HTACCESS Oscommerce
Pièces détachées Forum Contact

Ultimate SEO URLs sur 1&1, Probleme HTACCESS Oscommerce

Aide informatique Nous rachetons vos PC portables HS Aide 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. (Tout message mal rédigé sera éffacé.)

Top recherche sur le forum d'aide

Pied de page des forums

Forum : Réseau - Sécurité - Materiel
Php - Référencement - Serveurs - Divers
Windows - Internet - Logiciels - Communication
SARL Brakstar - siret : 48501380900010 RCS
2925 route de Sanary - 83190 Ollioules
Mail : societe@brakstar.com
USA EN ES BR PO DE NL IT AR CH S CH T SU DN HU JP TE RU PL FI NO GR SE SL VN ET TH UK SL IN LH RO LE HE BG KO CZ MS CAT IR IS