Rewrite url - SEO friendly

nosto

No avatar

2007-07-03 00:33

Is it possible to use mod REWRITE for quickcart 1.4 to make it more SEO friendly? I used it to fix czech letters but I would like to change it:
from: www.myweb.cz/?p=productsMore&iProduct=40&sName=Decolen
to: www.myweb.cz/leky/Decolen

I have found http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=2810 but it does not work. Could you more explain it.

» Quick.Cart v1.x

David Moravec

merci

No avatar

2007-07-03 13:58

nosto - I don't know why it isn't working as I haven't tested it, but if you want we have plugin with this functionality (SEO). You can see this plugin here: http://www.opensolution.org/sklep/73,seo-przyjazne-linki-mapa-serwisu.html
Unfortunaltelly it is only in polish yet, so if you want read more see this: http://opensolution.org/os/templates/en_plugins.html#SEO
If you will decide for that, contact with us via e-mail

nosto

No avatar

2007-07-04 14:51

Thank you, I will think about buying the plugin, it looks very good. If I do not find resolution I will buy it.

Is there anybody who tried this? http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=2810

I have tried it but it does not work. Where do I have to put this folder .htaccess? Where do I have edit all templates? as it is written there...

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

David Moravec

ned

Avatar: ned

2007-07-10 10:30

The Search Engine Optimisation .htaccess file goes in the top level of your Q.C installation, the folder containing /actions_admin/ , /actions_client/ etc

If your server is Apache you could use the tool at http://www.webmaster-toolkit.com/mod_rewrite-rewriterule-generator.shtml
to generate an .htaccess file containing Apache mod_rewrite rules.

nosto

No avatar

2007-07-10 13:46

Ned, thank you for your answer. I have tried it as you wrote but it does not work stil.

mod_rewrite works. I use it in this way:

<?php RewriteEngine On
RewriteCond 
%{HTTP_HOST} ^myweb.cz
RewriteRule 
(.*) http://www.myweb.cz/$1 [R=301,QSA,L]?> 


David Moravec

jacobs242

No avatar

2007-07-11 16:29

I have completely module to make quick.cart URL's friendly. Its my custom script and it is in tests, but it works. I can give it to you. If you are interested, contact with me: jacobs242 [at] yahoo.pl ([at]=@)

ondrasus

Avatar: ondrasus

2007-09-13 21:02

Try to insert

RewriteBase   /


under

RewriteEngine On

http://www.obchodcajem.net/

ondrasus

Avatar: ondrasus

2007-10-23 00:42

Hi,

I tried to use mode rewrite, but I had one problem. I wasn't able to fix url, when adding item in basket in product details page.

http://www.konvicky.net/140-Cerna-miska.html


when you click on add in basket button the url turns in(and nothing is added in basket):

http://www.konvicky.net/140-Cerna-miska.html?p=ordersBasket&sOption=add&iProduct=140&iQuant ity=1



I hope you understand what I mean..

thanks in advance

risi

No avatar

2007-12-23 06:20

Can anyone explain with details how to add this feature on my site?

Leptirek

No avatar

2007-12-25 23:43

ondrasus: Mate chybu nekde primo uz v aplikaci mod rewrite, ja to delal tady podle toho navodu a az na drobne chybky mi to jede v pohode, viz. www.i-topeni.cz. Zkuste si projet podrobneji soubor htaccess.

Back to top
about us | contact