Alternative Kurz-URLs einrichten (zB mit Artikelnummer)

Hi,

bin neu hier und habe in der Suche keine Antwort auf folgende Aufgabe gefunden:

Zusätzlich zu den von Oxid erzeugten SEO-URLs möchten wir kurze URLs einrichten, die parallel fuktionieren sollen. Zunächst mit der Artikelnummer.

Bsp:
www.unsershop.de/ART-003

Dies läßt sich sicher über das mod_rewrite konfigurieren, aber wie?

Für jede Hilfe dankbar (auch an die Mods, das Thema evtl. ins richtige Forum zu verschieben),
Achim

Habe eine Lösung in den Tutorials gefunden:

Handling Legacy URLs

It’s worth noting that OXID’s current implementation of SEO-compliant URLs is different from that used in previous versions. Earlier versions of OXID used URLs like those in the examples below:

http://oxid.localhost/oxid.php/sid/cf2d4d66e18a52014cb5702556693b86/cl/details/cnid/1ad463624ce85f4b0.34723936/anid/a0048d7cb63df4ed3.56851241/MHD-05.06.2009---Weight-Watchers-Apple-Crumble-Slices-a-144-g/

http://oxid.localhost/basteln/textilblumenbaender/satinbaender-25mm-breit-22355-25.html

Since these older URLs would already be registered with search engines, users of older versions of OXID eShop would normally have a disincentive to upgrade to OXID eShop v4.x. To account for this, OXID eShop includes an oxseohistory table, whose purpose is to store the older URL structures and thereby provide a basis for mapping them to the newer SEO-optimized structures. When the oxSeoDecoder::processSeoCall() method receives a request for one of these older URLs from a search engine, it looks up the oxseohistory table for a match, sends the requesting client a 301 response code (page permanently moved) and redirects it to the new URL as retrieved from the oxseo table.

When a product or category name changes, OXID also automatically changes the corresponding SEO URL so that it reflects the new name. Another use of the oxseohistory table is to store the older SEO URL, so that requests for these older URLs are automatically and transparently redirected to the new URLs. The oxSeoEncoder::_copyToHistory() method takes care of transferring URLs from the oxseo table to the oxseohistory table.

Muß man also lediglich die gewünschte Kurz-URL in die Tabelle “oxseohistory” eintragen.

Großes Kompliment an OXID - Doku und Konzeption sind wirklich erste Klasse!

Vielen Dank,
Achim