Re: Ceon URI Mapping v4.x
Could use a little help,
Everything is working perfectly except I want all the URLs to keep the trailing slash?
e.g http://kitchenwarehouseltd.com/repla...kitchen-doors/
instead of: http://kitchenwarehouseltd.com/repla...-kitchen-doors
Anyone know how I could do this?
Re: Ceon URI Mapping v4.x
Requesting help again.
404 errors when I enable this plug in. I have tried the rewrite rule with and without the '/' in the last line of code.
May be related to this message that I receive when I get the rewrite code:
If using a .htaccess file
Quote:
The path to the .htaccess file can't be constructed as there appears to be a problem with the paths in the store's configure.php file. The catalog folder, /onlineshop/, is not the end part of the path to the store: D:\Hosting\10875245\html\onlineshop/.
The values for DIR_WS_CATALOG and DIR_FS_CATALOG should be checked and fixed.
Fixed to what?
website is ljandeb.com
zen is at ljandeb.com/onlineshop
Webhosting uses IIS 7.0 and the rewrites work well with the WordPress but not with zen?
Thanks in advance.
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
LisaB
Code:
The path to the .htaccess file can't be constructed as there appears to be a problem with the paths in the store's configure.php file. The catalog folder, /onlineshop/, is not the end part of the path to the store: D:\Hosting\10875245\html\onlineshop/.
The values for DIR_WS_CATALOG and DIR_FS_CATALOG should be checked and fixed.
Fixed to what?
website is ljandeb.com
zen is at ljandeb.com/onlineshop
Webhosting uses IIS 7.0 and the rewrites work well with the WordPress but not with zen?
...
I'm going to guess the installer's "auto-detection" of server type failed (can happen for a few different reasons...). When this happens the installer reverts to assuming you are running Apache (and attempts to build rewrite rules specifically for Apache).
Question? Is your IIS Server configured for URL Rewrite? Or for ISAPI Rewrite?
Re: Ceon URI Mapping v4.x
I think connor was planning on adding an option to always default to adding a trailing slash or not. I think this has to do with the href function but I can't figure out for the life of me what to do.
Can anyone help?
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DannyVarley
I think connor was planning on adding an option to always default to adding a trailing slash or not. I think this has to do with the href function but I can't figure out for the life of me what to do.
Can anyone help?
I don't recall Conor saying he'd be adding any feature like this. Given that the addition of the trailing slash adds no real value to the URL as per the purpose of this module I can't see why he'd put in the effort..
Re: Ceon URI Mapping v4.x
Hi Diva! :D
In this thread: http://www.zen-cart.com/showthread.p...back-requested
He said:
Quote:
I'm thinking that the first enhancement I'll make is to add an option "Store sometimes/always uses slashes at the end of URIs other than the home page's URI".
Which is exactly what I want it to do :)
Thanks,
Daniel
Re: Ceon URI Mapping v4.x
Quote:
Originally Posted by
DannyVarley
You'll now have to ask JSWeb if they intend to make this modification.. Otherwise, it's not required and adds no real value to the URL.. Your site does not NEED/REQUIRE this this.. (ie: see Amazon and other major online retailers.. see this forums URLs too..)
Re: Ceon URI Mapping v4.x
This file:
includes\classes\class.CeonURIMappingAdminCategoriesProducts.php
This function:
autogenCategoryOrProductURIMapping
just before the very last line in that function add:
$uri = $uri.'/';
then the next line should return the uri with a slash on the end.
return $uri;
Haven't tested it tho!
Quote:
Originally Posted by
DannyVarley
Re: Ceon URI Mapping v4.x
Hi Barricades! Thanks for helping me :bigups:
I can't actually find where to put it in includes\classes\class.CeonURIMappingAdminCategoriesProducts.php
There doesnt even seem to be a autogenCategoryOrProductURIMapping function,
What line is it on?
Danny
Re: Ceon URI Mapping v4.x
Are you sure you're not looking in STORE/ADMIN/includes/classes for the file - you should be just looking in STORE/includes/classes