Thanks Conor for you explanation, so let me get this straight, sorry to use the thread to do. Only product that are link and in another category show the cPath and product id. Good to know.
Printable View
Hi,
Only linked products show the cPath in the URI in the address bar.
However, they never show the product ID if they have a URI mapping.
Also, their canonical URI never has the cPath in it, it is simply the static URI the product is mapped to.
Simply look in the source of your product pages to see what I mean.
Hope that helps!
All the best..
Conor
ceon
Conor,
I just got around to trying this, and it did allow the index.html file to function. However, I can no longer access the home page by typing http://www.url.com/index.php; it redirects me to the index.html page. All other in-site pages work fine, and I was able to access the home page by typing http://url.com/index.php?main_page, but I was hoping you could clue me in on how to tell CEON to let me access index.php while also keeping index.html intact when someone goes to the plain http://www.url.com url.
Thanks!
Hi,
I'm afraid I don't know what is on your server that is causing that. I've never, ever seen that behaviour. You should check your rewrite rules.
All the best..
Conor
ceon
Lightbox/slimbox is gone and still no good. Maybe this mod just isn't meant to be.
This module works perfect with all add on as long if it isn't using the same files. IF it is using some of the same file you have to compare and merge the files. I use Jquery Lightbox with no problems. You are doing something wrong. Go back and look at your files to see if they need merging or something.
hi,
any idea what ive installed wrong, everything seems fine but came accross this link
http://www.onyourbike.co.uk/index.ph...ucts_id=211559
should it not convert to new url
thanks
Bryan
I'm currently running 3.6.1 on ZC 1.3.9c on a bi-lingual site and have added entries to my ceon_uri_mappings table so that the main page (main_page = 'index', associated_db_id = null) should also be mapped. Unfortunately, links to the main page were always resulting in www.mysite.com/.
I modified /includes/functions/html_output.php (line 217) as follows to correct this:
Code:} else if ($page_id == FILENAME_DEFAULT &&
strpos(strtolower($page_parameters), 'typefilter=') === false) {
$uri_mapping_being_used = true;
$static = true;
$uri_mapping_sql = "
SELECT
uri
FROM
" . TABLE_CEON_URI_MAPPINGS . "
WHERE
main_page = '" . FILENAME_DEFAULT . "'
AND
associated_db_id is null
AND
language_id = '" . (int) $mapping_language_id . "'
AND
current_uri = '1';";
$uri_mapping_result = $db->Execute($uri_mapping_sql);
if (!$uri_mapping_result->EOF) {
$page_id = $uri_mapping_result->fields['uri'];
} else {
// Link is to the index page.. no need to look up mapping in database, simply use the
// default index page static URI
// $uri_mapping_being_used = true;
$page_id = DIR_WS_CATALOG;
}
// $static = true;
Hi,
The main page should only ever be mapped to your store's address, using the code already built into the software. Any other usage I'm afraid is custom programming and I'm afraid therefore not covered by the free support we offer here.
All the best..
Conor
ceon