I have check out the includes/html_ouput.php and compared the two files. All four of the modifications are in the correct place.
The product index template has not been modified either.
I have check out the includes/html_ouput.php and compared the two files. All four of the modifications are in the correct place.
The product index template has not been modified either.
Hi, Ceon, if I want to add a slash "/" at the end of the uri for any page on my site when AUTOGEN, how to?
just like below:
/about-us
/about-us/
tks!
Hello Conor,
today I just Integrating Wordpress into my Zen Cart website,
and now I want to do url rewrite for this blog, how can I do that?
it seems that there is no rewrite rule for blog
Regards,
Alan
Hi,
It doesn't do that. You'd have to modify the autogeneration function to have it add it.
The file this is in is
admin\includes\functions\extra_functions\ceon_uri_mapping.php
A simple way would be to change line 948 to
You'll have to make this change each time you upgrade the module.PHP Code:
return $uri . (substr($uri, -1) != '/' ? '/' : '');
All the best..
Conor
ceon
Hi,
If you mean that you want to exclude "/wordpress" or something from being rewritten and handled by Zen Cart then you should read the configuration documentation and FAQs that come with the module. Quick repost of the exclusion command:
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
If you want to rewrite the blog URIs then you should ask someone who knows about wordpress.
All the best...
Conor
ceon
Hi,
You shouldn't use .html at the end of URIs.. you can read more about why not by searching against "URIs" and "Tim Berners Lee".
You asked to have '/' at the end of URIs for autogenerated URIs.. are you then planning on using a different format for EZ-Pages? That's a strange idea/duality.
You have to manually enter the URIs with .html on the end.
You also will then have to adjust your rewrite rule to allow rewriting of .html extensions.. you can find out more about that by reading the documentation and FAQs.
ALl the best...
Conor
ceon
For Canonical purposes, how would I echo the product URL without any zenid or sort parameters?
Bookmarks