Przyjazne linki

andr_w

Avatar: andr_w

2012-03-12 15:12

Chciałbym zrobić w swoim sklepie przyjazne linki. Szukam jakiegoś polskiego poradnika jak to dobrze zrobić.

» Quick.Cart v3.x

Aniwo.pl

Avatar: Aniwo.pl

2012-03-12 19:58

Opis jest dostępny na forum:
http://opensolution.org/Quick.Cms/forum/?p=readTopic&nr=1741

andr_w

Avatar: andr_w

2012-03-13 10:07

Tylko to jest do Quick.Cms a ja szukam do Quick.Cart

become

Avatar: become

2012-03-15 15:11

mam gotowca dla qc v.5
koszt 50 brutto

andr_w

Avatar: andr_w

2012-03-17 11:07

szukam jakiejś darmowej porady bo chce sam to zrobić :)

andr_w

Avatar: andr_w

2012-03-23 19:56

Znalazłem w archiwum coś takiego..

Otwieramy nowy plik .htaccess w głównym folderze

I wklejamy coś takiego:

RewriteEngine On
RewriteRule ^index.html$ index.php [L]
RewriteRule ^admin.html$ admin.php [L]
RewriteRule ^sklep.html$ index.php?p=productsList [L]
RewriteRule ^szukaj.html$ index.php [L]
RewriteRule ^produkt([^-]+).html$ index.php?p=productsMore&iProduct=$1 [L]
RewriteRule ^nasiona([^-]+)strona([^-]+).html$ index.php?p=productsList&iCategory=$1&iPage=$2 [L]
RewriteRule ^nasiona([^-]+).html$ index.php?p=productsList&iCategory=$1 [L]
RewriteRule ^koszykup2date.html$ index.php?p=ordersBasket&sOption=save [L]
RewriteRule ^koszyk.html$ index.php?p=ordersBasket [L]
RewriteRule ^formularz.html$ index.php?p=ordersDelivery [L]
RewriteRule ^dodaj([^-]+)ilosc([^-]+).html$ index.php?p=ordersBasket&sOption=add&iProduct=$1&iQuantity=$2 [L]
RewriteRule ^usun([^-]+).html$ index.php?p=ordersBasket&sOption=del&iElement=$1 [L]
RewriteRule ^kontakt.html$ index.php?p=p_1&sName=Kontakt [L]
RewriteRule ^pomoc.html$ index.php?p=p_4&sName=Jak_zamawiać [L]
RewriteRule ^pochodzenie.html$ index.php?p=p_7&sName=Pochodzenie_nasion [L]
RewriteRule ^regulamin.html$ index.php?p=p_8&sName=Regulamin_zamówień [L]
RewriteRule ^koszty.html$ index.php?p=p_6&sName=Koszty_przesyłek [L]
RewriteRule ^galeria.html$ index.php?p=p_10&sName=Galeria [L]


Oczywiście zmieniając bezposrednie linki.....

Tylko pytanie teraz co dalej ? Mógłby ktoś pomóc ?

trzykas

Avatar: trzykas

2012-03-25 21:00

znając życie lecz bez zagladania w kod wydaje mi się ze funkcja odpowiedzialna za generowanie linków będzie bardzo podobna. Wystarczy trochę po majstrować z tym co opisane dla qcms

Do góry
o nas | kontakt