SEO friendly URLs?

dmitr13

No avatar

2006-09-01 05:33

Hello, does anybody knows if it's possible to make all URL seo friendly? If yes, how can I do this? Thanks,

d3mon

Avatar: d3mon

2006-09-01 15:11

yes it is possible i've done it by .htaccess
Mine looks sth like that:
Just create empty file in root folder and paste that in it, then change name to .htaccess


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]


then you must edit all templates and change urls. :)
good luck !
now i dont use short urls because i have some problems with adding and deleting from cart :| but it is possible to repair it.

dmitr13

No avatar

2006-09-01 18:00

d3mon thank you. Will try this.

Catalint

No avatar

2008-01-29 15:26

change with what and what files?

idaryl

Avatar: idaryl

2008-01-30 03:59

Open your text editor and paste all of the above into a text file and save it called htaccess (depending on your system if you put the (.) dot in front of it it may be hidden) anyway upload the file to the root dir of the QCart

Then add the (.) in front of it using the rename file feature of your ftp client - the server will "see" this (hidden file - especially if you have an Apache based server) as someone loads up your cart in their browser....

idaryl

Avatar: idaryl

2008-01-30 04:18

Oh yeah - I forgot the SEO robots will see it also

yogha

No avatar

2008-02-07 20:30

when I visit » http://www.siberianproducts.com/ there are some links broken.

Does anyone can translate the tips from dmitr13 in english?

Thanks

idaryl

Avatar: idaryl

2008-02-08 03:37

What is this? CMS or what?........?

Back to top
about us | contact