Thread: 4.2 Clean URLs
View Single Post
  #1  
Old 01-25-2009, 06:19 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Question 4.2 Clean URLs

I am using 4.2 X-Cart Gold and just enabled Clean URLs mod. It is working fine. How can I change the schipt to get the whole path to a product, sub-category, etc:

Here is an example. I want this:

www.website.com/category1-name/subcategory2-name/product-name.htm

You can input the the entire URL in the Clean URL text box, but what happen when changing the name of category1? Yeah, a lot of modifications!

Could it be done? For example to input in Clean URL text box some smarty variables, and X-Cart to evaluate them an fill with the set up values.
__________________
X-Cart Next: Business 5.2 (learning and testing)
X-Cart Classic: Gold and Gold Plus 4.7
Lots of Modules and Customizations
OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux
Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions)

You can catch my ideas here: http://ideas.x-cart.com
Reply With Quote