[color=#000000]I use CS Cart v4 and tryed to create a new Location.[/color]
[color=#000000][font=Arial,]I would open the new location, but I always get a 404?[/font][/color]
[color=#000000][font=Arial,]Does anybody knows: how can I get the “URL” or “SEO” to my custom location?[/font][/color]
[color=#000000][font=Arial,]Thanks[/font][/color]
Hi @atlaswu,
Please check on .htaccess if RewriteBase value is correct
#default
```php
…
Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.
Some hostings require RewriteBase to be uncommented
Example:
Your store url is http://www.yourcompany.com/store/cart
So “RewriteBase” should be:
RewriteBase /store/cart
RewriteBase /
…
```
#your case
...
RewriteBase /NEW_FOLDER/
...
This is applied for moving cs-cart to subfolder, ex : www.example.com/NEW_FOLDER/
I hope that helps,
—
Valentin
[color=#808080][size=2]part of hungryweb.net[/size][/color]
Hi Vali
I want to create a second homepage, and I try to add a new location in “Layouts”, but how do I get the new homepage's URL?
[quote name='atlaswu' timestamp='1403146867' post='186034']
Hi Vali
I want to create a second homepage, and I try to add a new location in “Layouts”, but how do I get the new homepage's URL?
[/quote]
For example, you set custom dispatch for the location to index.index2
All you need is to create the following file:design/themes/YOUR_THEME/templates/addons/my_changes/views/index/index2.tpl
Make sure that the My changes add-on is active and clear the cache.
Now I get to know how to using location, thank you very much~
and if I named my second homepage's dispatch to “index.shop”
how can I get a short url to be http://www.abc.com/shop ?
[quote name='atlaswu' timestamp='1403181312' post='186074']
Now I get to know how to using location, thank you very much~
and if I named my second homepage's dispatch to “index.shop”
how can I get a short url to be [url=“http://www.abc.com/shop”]http://www.abc.com/shop[/url] ?
[/quote]
You are welcome!
You should add corresponding SEO rule:
Instant Demo - CS-Cart Multi-Vendor Demo Try Free for 15 days
For example,
Dispatch value: index.shop
SEO name: shop
Hope that helps.
Super thanks for your help, You are awesome.
Hi support,
I have created new custom dispatch for the location to "index.special" and made new tpl file called "special.tpl" under addons/my_changes/views/index/ .
also added corresponding seo rules like
Dispatch value: index.special
SEO name: special
i cleared cache too and activated my changes addon .. but still getting 404 error , when open this url
http://{mydomain}.com/special
please advise.