| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How turn "URL clean" off | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How turn "URL clean" off
Hi
How can I turn "URL clean" off? I don't see how to do it in the config file Thanks!
__________________
X-Cart Business 5.0.12 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: How turn "URL clean" off
Hi juancho!
Could you please let me know why do you need to disable SEO friendly URLs? We do not have a UI for this change and we think that we probably should add it. In order to add it properly, we should understand the context why merchants want to disable properly working SEO urls. Anyway, you can disable SEO friendly urls as described here: http://kb.x-cart.com/display/XDD/Setting+up+seo-friendly+URLs#Settingupseo-friendlyURLs-DisablingSEO-friendlyURLs
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: How turn "URL clean" off
Hi Tony
I am trying to disable/able some widgets depending on the page where I am in. For instance, if I am in the page target=category_id1 do something. If I am in page target=subcategory_id2&product_id3 do something else ... With the clean URL I can't know where I am at. I don't know if there is some other way to do it, I am kind of new in xcart. Thanks
__________________
X-Cart Business 5.0.12 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: How turn "URL clean" off
Quote:
Actually, you can. Please use this in your widgets to get the current "target": $this->getTarget(); If you need the "action" parameter, you can use $this->getAction(); To get the other parameters you can use this: \XLite\Core\Request::getInstance()->{$parameterName}; Does this help?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|