rechtstexte für onlineshop
Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: xtc modified, xt commerce same links ?

    papalife

    • Mitglied
    • Beiträge: 174
    xtc modified, xt commerce same links ?
    am: 07. April 2012, 10:20:42
    hello Community

    I want to work with xt commerce links in xtc modified. What I mean.

    First of all we talk about enabled SEO links in xt commerce and xtc modified.

    Now.

    xt commerce has in XTC_HREF_LINK.INC file this function to replace characters from the link

    Code: PHP  [Auswählen]
    $link = str_replace('?', '/', $link);
    $link = str_replace('&', '/', $link);
    $link = str_replace('=', '/', $link);

    Also into xt commerce in XTC_CATEGORY_LINK.INC file there are these lines

    Code: PHP  [Auswählen]
    $cName = xtc_cleanName($cName);
    $link = 'cat=c'.$cID.'_'.$cName.'.html';
    return $link;

    it gives us this link: http://localhost/shop/index.php/cat/c2_something.html

    BUT this link is not supported by xtc modified.

    If I cover the below code

    Code: PHP  [Auswählen]
    $link = str_replace('?', '/', $link);
    $link = str_replace('&', '/', $link);
    $link = str_replace('=', '/', $link);

    in comment then give us a link:http://localhost/shop/index.php?cat=c2_something.html which work in xtc modified.

    What i want to do is to have links like http://localhost/shop/index.php/cat/c2_something.html

    Linkback: https://www.modified-shop.org/forum/index.php?topic=19352.0

    innuXTC

    • Viel Schreiber
    • Beiträge: 508
    Re: xtc modified, xt commerce same links ?
    Antwort #1 am: 24. März 2020, 18:56:09
    Won't work in most cases at "localhost"!
    I used xampp and it was not possible without reconfiuration and adding some extensions.
    But works fine on the live-server.
    So I have always SEO-URLs disabled on localhost and activated them after uploading them on my live-server.

    noRiddle (revilonetz)

    • Experte
    • Beiträge: 13.745
    • Geschlecht:
    Re: xtc modified, xt commerce same links ?
    Antwort #2 am: 24. März 2020, 22:22:45
    Antwortest du gerne auf 8 Jahre alte Threads ?  :flee-mrgreen:

    Gruß,
    noRiddle

    innuXTC

    • Viel Schreiber
    • Beiträge: 508
    Re: xtc modified, xt commerce same links ?
    Antwort #3 am: 25. März 2020, 08:44:28
    Wenn mir die Threads im Forum als neu angezeigt werden, in der Übersicht oben auf der Startseite ... also unter "letzte Diskussionen" oder "neue Beiträge" dann ja :-)

    Zumal ich da nicht auf's Datum achte! Es wird als neue Frage angezeigt - also liegt der "Fehler" nicht zwingend bei mir  :crazy: