Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

How do I use search engine friendly (SEO) url's for Shopping Cart with lighttpd?

Add the following to your lighttpd.conf file:

url.rewrite-final = (
    "^/(addons|admin|banner_images|cache|config|includes|javascript|lib|language|modules|product_downloads|product_images|templates)/(.*)" => "/$0",
    "^/(.*\.php)" => "/$0",
    "^/(.*)$" => "/index.php/$1"
)

If Shopping Cart is installed in a sub-directory (eg. /shoppingcart/):

url.rewrite-final = (
    "^/shoppingcart/(addons|admin|banner_images|cache|config|includes|javascript|lib|language|modules|product_downloads|product_images|templates)/(.*)" => "/$0",
    "^/shoppingcart/(.*\.php)" => "/$0",
    "^/shoppingcart/(.*)$" => "/shoppingcart/index.php/$1"
)

Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software