spinnyb Posted September 15, 2010 Share Posted September 15, 2010 Hi, has anyone come up with a way to use friendly URL's on Zeus web server? Is there an equivalent to the default htaccess file which will rewite URL's for me? ThanksBrian Link to comment Share on other sites More sharing options...
jellygnite Posted November 30, 2010 Share Posted November 30, 2010 I have it almost working - I just need to get the Query String appended for pagination, etc.The following assumes an install folder of "shop". match URL into $ with ^/shop/([a-z0-9]+)-([a-z0-9]+)(-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ if matched set URL=/shop/img/p/$1-$2$3.jpg match URL into $ with ^/shop/([0-9]+)-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ if matched set URL=/shop/img/p/$1-$2.jpg match URL into $ with ^/shop/([0-9]+)(-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ if matched set URL=/shop/img/c/$1$2.jpg match URL into $ with ^/shop/lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)-([a-zA-Z0-9-]*)\.html(.*)$ if matched set URL=/shop/product.php?id_product=$3&isolang;=$1$5 match URL into $ with ^/shop/lang-([a-z]{2})/([0-9]+)-([a-zA-Z0-9-]*)\.html(.*)$ if matched set URL=/shop/product.php?id_product=$2&isolang;=$1$4 match URL into $ with ^/shop/lang-([a-z]{2})/([0-9]+)-([a-zA-Z0-9-]*)(.*)$ if matched set URL=/shop/category.php?id_category=$2&isolang;=$1 match URL into $ with ^/shop/([a-zA-Z0-9-]*)/([0-9]+)-([a-zA-Z0-9-]*)\.html(.*)$ if matched set URL=/shop/product.php?id_product=$2$4 match URL into $ with ^/shop/([0-9]+)-([a-zA-Z0-9-]*)\.html(.*)$ if matched set URL=/shop/product.php?id_product=$1$3 match URL into $ with ^/shop/([0-9]+)-([a-zA-Z0-9-]*)(.*)$ if matched set URL=/shop/category.php?id_category=$1 match URL into $ with ^/shop/content/([0-9]+)-([a-zA-Z0-9-]*)(.*)$ if matched set URL=/shop/cms.php?id_cms=$1 match URL into $ with ^/shop/([0-9]+)__([a-zA-Z0-9-]*)(.*)$ if matched set URL=/shop/supplier.php?id_supplier=$1$3 match URL into $ with ^/shop/([0-9]+)_([a-zA-Z0-9-]*)(.*)$ if matched set URL=/shop/manufacturer.php?id_manufacturer=$1$3 match URL into $ with ^/shop/lang-([a-z]{2})/(.*)$ if matched set URL=/shop/$2?isolang=$1 Link to comment Share on other sites More sharing options...
spinnyb Posted November 30, 2010 Author Share Posted November 30, 2010 Cool. I'll give that a go in future. I ended up moving my shop in the end. Prestashop didnt seem to like the ZEUS server. Kept getting random 500 errors. moved the site to an apache host i use and all fine without changing a thing. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now