I installed CEON Mapping URI mod, and my product urls are
http://www.melianpetsupplies.co.uk/b...g#.UBvuo_YgfIY
any idea why I am getting #.UBvuo_YgfIY at the end of the url and how can I get rid of it?
Printable View
I installed CEON Mapping URI mod, and my product urls are
http://www.melianpetsupplies.co.uk/b...g#.UBvuo_YgfIY
any idea why I am getting #.UBvuo_YgfIY at the end of the url and how can I get rid of it?
I'm pretty sure that is cause by the AddThis Button code. Nothing to do with this module at all.
<!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a> </div> <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script> <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4e21399338a83c14"></script> <!-- AddThis Button END -->
Best thing to do first is go to zencart admin and developers tools and do a search for that part only and see if it shows up. [#.UBwHgrU_loE]
I also see that not all of your product URLS have been re-written - http://www.melianpetsupplies.co.uk/d...&#.UBwHgrU_loE
Also check all your settings in the module on how you want urls to be re-written.
All I'm trying to point out is Ceon URI mapping is not causing the problem. It is the "Add this" code that is causing the problem. I just inserted the code to my site again and I get the same results at the end of the URLS #.UB01FKAuPdI. If I delete the code no #.UB01FKAuPdI at the end. That's one of the reason I quit using the add this a long time ago. Anyway this is not the place to discuss this since Ceon URI is not the problem.
not disagreeing that the Ceon URI add-on is not the cause of the issue.. I was questioning whether the Add This code is the issue.. PicaFlor uses it on a lot of her templates and users of her templates do install this mod too.. I've used it too on a few sites and never had an issue with that code and this add-on.
That said it's easy enough for Mani to go to the Add This site and re-generate the Add This code and see if that resolves the issue..
OK I have figured out what was causing it. The weird fragments URLS #.UB01FKAuPdI are cause by the Address Bar Sharing box. If you tick the box on AddThis website it will Measures when users copy your URL from their browser's address bar and share it with their friends. It modify your URLs with an analytics fragment. If you do not want it to show the weird fragments don't tick the box.
Sorry Conor for high jacking the thread.
I wonder if anyone has come accross a sluggish website with the Url Mapping enabled?
Basically I`ve been struggling to figure out why a website was so sluggish and it turns out to be something to do with the Url Mapping... for example (and this even effects the homepage) the query and parse with the Url mapping on the homepage enabled are...
Parse Time: 2.605 - Number of Queries: 3036 - Query Time: 1.55688679266
Now with Url mapping disabled the homepage shows...
Parse Time: 0.473 - Number of Queries: 33 - Query Time: 0.0625179659576
Which is a big difference, but can`t for the life of me figure out why,
If anyone has had any similar slowdown issues any thoughts or advise on this would be greatly appreciated.
This is using the latest Url Mapping and Url Management, and on Zen Cart version 1.3.9
Thanks
Sam
How do I test a page speed like that? I could check a site of mine with Ceon installed to compare.
Hi,
I'm not going to object to you finding and fixing a problem for someone! :)
Instead I have to offer thanks! :)
So.. thanks!
All the best...
Conor
ceon
Hi Sam,
Ceon URI Mapping makes one query for the URI and one for each link using zen_href_link, so how your site is suddenly adding on 3033 queries per page is a bit of a mystery.. possibly a rubbishy dynamic category module, maybe, I don't know.
Please get in contact privately with FTP and admin details and I'll take a look.
All the best...
Conor
ceon
Please could someone help a newbie,
I have installed Ceon URI Mapping, all my products and categories has been changed accordingly but i cannot configure the EZ PAGES, i tried to add a SPECIAL ez page but it doesn't work, i have entered the following:
Internal Link URL: index.php?main_page=specials
Please search this thread.. the answer to why creating EZ Pages for internal links for pages won't work with this add-on has been discussed a few times in this thread.. latest discussion on this topic was a week or two back so paging back a few pages will yield the answer to your question..
Hi Conor, first of all, thank you for your great module. I have a little problem and hope that you could help. When I go my domain name www.unique-womens-clothing.com, it show Index of / with list of my website folder. Bluehost's support ask me to do a redirect to my cart folder www.unique-womens-clothing.com/online-store from the cpanel but that didn't work. He said there is a conflict with my .htaccess rewrite and they wouldn't be able to help. I have also try adding a / as you have mention in the installation guide but still don't work. What should I add to the .htaccess in order to direct my domain to my cart folder? Below is my .htacess, thank you.
RewriteEngine On
# ONLY rewrite URIs beginning with /online-store/
RewriteCond %{REQUEST_URI} ^/online-store/ [NC]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
# which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
# which are not covered by main file extension condition above
# Uncomment the following line to apply this condition!
(Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.
(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dm
l)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/online-store/myadmin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/online-store/editors/ [NC]
# Don't rewrite bmz_cache directory
RewriteCond %{REQUEST_URI} !^/online-store/bmz_cache/ [NC]
# Don't rewrite feed directory
RewriteCond %{REQUEST_URI} !^/online-store/feed/ [NC]
# Don't rewrite cgi-bin directory
RewriteCond %{REQUEST_URI} !^/online-store/cgi-bin/ [NC]
# Don't rewrite ajax directory
RewriteCond %{REQUEST_URI} !^/online-store/ajax/ [NC]
# Don't rewrite sitemap directory
RewriteCond %{REQUEST_URI} !^/online-store/sitemap/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* /online-store/index.php [QSA,L]
## END CEON URI MAPPING REWRITE RULE
You see the root folder contents because you do not have a default file inside your root directory (index or default) and so it displays the root folder's contents..
You want to redirect visitors from http://yourdomain.com to http://yourdomain.com/online-store ??
WHY???
Why have an empty root folder and your store inside a subfolder at all?? Why not have your store inside your root folder?? If the store IS your site, then this is where your Zen Cart files/folders needs to be NOT inside a sub-directory like you have it..
Hi Randy,
Yes, I'm sorry for not getting back to you yet, I always prioritise support posts, wasn't online at all for a bit there (ver unusual, glad the internet didn't crash in shock! ;) ). Unfortunately things have indeed got worse but as always hopeful they'll get better. I'll talk to you privately.
Thanks again.
All the best..
Conor
Hi,
Yes. The distribution even comes with code to get the Multi-language EZ-Pages using static URIs if you want. :)
Have a good weekend!
All the best...
Conor
ceon
I have succeed with all the pages but when i hover the mouse over New Products and Special link in HEADER it shows the index.php?main_page=products_new and index.php?main_page=specials, but after clicking on it it goes to /new-products
Can you tell me what is wrong?
Just installed this for the first time for a customer.
the site has the following structure
example.com/cms
example.com/shop
Where CMS is drupal and shop is zencart
Now if both have the rewrite rules in the root .htaccess file (in example.com/.htacces), drupal will still work, but zencart will not. Moving drupal definitions to the /cms/.htaccess and everything works fine.
So you probably can't have an zencart installation with this mod so that drupal is installed in the root and zencart is a subfolder?
Hi,
You obviously have a custom template and have hard coding inside it, setting the links to
instead of using something like (must be output using PHP):Code:index.php?main_page=products_new
So this is a problem you need to fix where you have hard codings in your template.PHP Code:
zen_href_link(FILENAME_PRODUCTS_NEW)
The reason the link changes from the dynamic one you see when you hover over the link to the static URI is that Ceon URI Mapping smartly redirects from the dynamic link to the static one.
That's you sorted then!
All the best...
Conor
ceon
Hi,
You can indeed. But you need to add a condition(s?) to your Drupal rewrite rule to stop it trying to handle the /shop URIs.
The information in the Ceon URI Mapping documentation about adding exclusions may be of use. Or you can search the 'net for info on rewrite rules.
If you're still stuck, then I'm afraid that, as I've never used Drupal and custom rewrite rules are what I'd consider custom coding, I won't comment on this further here, that sort of support is not provided by me for free, but hopefully the above information is enough or maybe someone else can help you.
Have a nice day!
All the best..
Conor
ceon
this is my code for my templates, i can't find the code you gave me, please can you help?
<!--bof-header ezpage links-->
<div class="topper-menu float-right">
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
</div>
<!--eof-header ezpage links-->
Hi,
Sorry I don't help with custom templates etc. Maybe someone else here will.
If not, you should pay someone to help.
All the best...
Conor
ceon
Big issue when i have the uri mapping switched on customers can only log in on the main page logging in any where else creates a system 404 error but with it off customers can login as and when they like no matter where what could i have done wrong?
btw : i'm using zen cart 150 with all business template.
Hi,
Have you added a custom static URI for the login page?
If so, it's possible/likely that your log-in link in your template isn't using zen_href_link() and is posting to the wrong address, the dynamic address or something like that.
Regardless, check the PHP/HTML around the log-in links/forms you are using and make sure they are posting to the correct address/PHP function + parameters.
All the best..
Conor
ceon
i've not changed any of the generic zen cart uri's
with ceon turned off whilst viewing a product and logging in the user would be returned to:-
with ceon turned off the same url produces this:-
the second returns 404 not found i've tried the .htaccess rewrite varients but both still return the same results.
Hi,
If I use http:// instead of https:// both of those URIs work.. you've simply messed up the HTTPS handling on the site I think.
All the best..
Conor
ceon
with ceon turned on*
Hi,
Sorry, that's all I have to say.
Good luck in getting this sorted.
All the best..
Conor
ceon
Hello, Conor, glad to see you're up and about!
Say, I am having two or three issues with ceon_uri_mapping_umm_edition_4.2.0_for_zc and ceon_uri_mappings_manager_1.4.0beta1_for_zc.
The first issue is that Ceon is failing to encode some product URLs properly, the {product-id} is excluded in some cases. See http://goo.gl/JaZ5b (which is in turn not formatting properly for a reason I've not yet discovered) vs. http://goo.gl/dNiqq. Have any ideas for why Ceon is failing to include the {product-id}?
The second issue is related to the first, I believe. Some URLs have incomplete cPaths. See http://goo.gl/Hq2F7. What is causing the cPath truncation?
I would love to identify the cause of the breakdown with these two issues. The bottom fell out of the site's Google rankings, part of which were caused by other issues that a script is handling now but there are still many of these {product-id}less and incomplete cPath URLs on the site.
The third issue involves SSU, which I never got working with 1.5. Ceon must have learned of SSU from a database setting because the SSU mod wasn't installed when the site went live. Ceon doesn't need the SSU cache folders, right? I can delete them? They are nearly 3GB in size (and has tens of thousands of files within) and I would love to delete all SSU cache folders because backups take too long and place an unnecessary burden upon the server.
Thanks Conor (or anybody else) for answering my questions or pointing me in the right direction to relay to a programmer.
-jk
Hi,
Thanks, I'm not actually, it'll be a few weeks at least, but am doing best to keep up here.
This isn't the appropriate place I'm afraid, please get in contact privately and I'll get you sorted/discuss any "issues" with Google etc (which are nothing to do with a correctly installed Ceon URI Mapping).
Thanks,
All the best...
Conor
ceon
Hi Connor,
I've found the issue and just need a hand to remove the ssl setting, I installed a test site and during setup i left the ssl catalog set to false after this the URI mappings worked fine but during the setup of my main site i set this to true now i've editted the admin config file and set the secure catalog to false but the URI still redirects to https instead of http do you know which file is overiding this setting.
Thanks in Advance
ZC 1.39h
So I've installed on this on my local copy of my ZC store and hope to do so on my live site once I get the hang of it.
I ran the install check via my admin panel and get 17 errors. All seem to be related to core files.
Here's my error message:
Does this mean I've missed copying files or did I make a mistake during the installation.Quote:
17 problems were found with core files that need to be modified for Ceon URI Mapping to work optimally.
The errors should be fixed as soon as possible. In the meantime though, since the store's configure files have been checked and found to be valid, information about the example rewrite rule for the store was able to built.
Hi,
It means you've missed the entire section of the installation about modifying the core files! :)
You must have simply skipped past it accidentally.
Follow through that section of the installation instructions (which I suppose is essentially "modify these core files") and the Installation Check will let you know you've completed installation correctly. Handy wee thing!
All the best...
Conor
ceon
Missed this part...
Damn.....Quote:
Simply copying across the modified_core_files/admin folder won't work
So I need to manually make the changes to each of the core files....
I'm in so over my head.......
Am I understanding this correctly?
Even after successfully installing this mod I'll have to Edit every single product on my site in order for this mod to create a new URI?
Hi,
? Damn what? Simply that you forgot the admin folder had a different name? Or that you have to merge files?
Hope you're sorted now either way, should be simple enough!
All the best...
Conor
ceon
IS there a way to disable these pages from being rewirtten
FILENAME_QUICK_CHECKOUT and FILENAME_FEC_CONFIRMATION
Or a way to make it compatiable with fast and easy checkout?
Hi,
It already does work with FEC. It doesn't interfere with any "properly" written module (not that I'm advocating that FEC is great, it's not [IMO of course], but many do have a working Zen Cart store with both FEC and Ceon URI Mapping running just fine, as do I - I didn't have to change anything in FEC, simply installing both FEC and Ceon URI Mapping worked fine for me when I tested the two together many months ago).
Ceon URI Mapping won't "rewrite" any pages you don't add a URI Mapping for.
I'd imagine any trouble you are having is down to some sort of customisation you've done/old version you are using, so putting on the latest versions may be all you need to do.
Hope that helps!
All the best...
Conor
ceon
I am running the latest versions of both modules. Some customers are having issues looping on the checkout page
The people who make Fast and Easy Checkout told me this
Yes, there are compatibility issues with CEON URI Mapping. It's instructed to turn off any rewriting rules within the checkout pages. Most SEF URL mods have this ability, but the CEON URI Mapping mod doesn't. Please contact the author and ask him how you can disable the module when on FILENAME_QUICK_CHECKOUT and FILENAME_FEC_CONFIRMATION. There is no reason to be rewriting checkout URLs as they aren't indexed by search engines.
Okie-dokie!
Bought some more software from Ceon to simplify the process.
Yes to all of the above. ;)
Got this mod up and running on my local copy....thank heavens for Winmerge!!
Now I gotta figure out how to use WinMerge on my live site so I can get this add-on running there.
Great Add-on Connor, you continue to impress!!
You shouldn't need to use winmerge on your live files, IF you have kept your live and local files synchronised and you are satisfied you have tested this mod locally then you simply use your local files (the files you have edited for this mod) to overwrite your live files.
Don't forget to backup first!!
Hi,
Ceon URI Mapping doesn't come with any mappings for the checkout, or "rewrite rules within the checkout pages". It's quite frustrating to see this misinformation come from the makers of a module!
Saying that, we DO map the checkout URIs as it looks nicer and works 100% perfectly fine. And always will. A URI is an address, nothing magical. Ceon URI Mapping recreates the environment variables if necessary, so the environment is the same but with a different "address" in the browser URI textfield.. that's the only difference and why things will always work with a "properly" written module (one that uses environment variables and not URI text strings.. a sign of badly written software).
As it is isn't needed, Ceon URI Mapping is smarter than that.
They really don't know what they are talking about, even with their own software. That is quite frustrating. As several have said here, there is no problem installing Ceon URI Mapping with any other properly written module, and many have it working fine with FEC.
You must have a strange setup or custom rules. I don't have much time but send me FTP and admin details for your site, and the files for the FEC module sent to you/downloaded by you and I'll take a quick look to see what is up.
All the best..
Conor
ceon
Ok, so download the few files that need editing from your live hosting then compare them to your local files that you have added the mod coding into (winmerge) then reload them to host along with all the new files and folders for the mod. There aren't many actual edits anyway as it's mainly new files to this mod.
Hi,
Oops :)
There aren't many modified files so it shouldn't take too long to compare the two.. I do recommend using Beyond Compare rather than Winmerge though.. it's one of only two pieces of software that I consider "essential" on a windoze system. Winmerge is good, BC is even easier to use (and there's a trial available).
Download your live site files to one folder, then compare that folder to your local folder in Beyond Compare, switch it to "Show Differences but No Orphans" and then you can click through the Ceon URI Mapping modified core files one by one and copy across the changes..
You'll find that in most files, the Ceon URI Mapping changes - which are in clearly marked blocks, as you've seen - are probably the only blocks that need changing, as not many modules require core files to be modified (we did our best to minimise the number Ceon URI Mapping has had to have modified, it would have been nice to not have to have to modify any but, alas that wasn't possible).
Hope that helps!
EDIT: It appears picandnix has written the same thing at the same time! Thanks picandnix, there's two great minds thinking alike then ;)
All the best..
Conor
ceon
:cool:
I swear by Beyond Compare too, I'd be lost without it.
Finally found some spare time and loaded v4.2.0 and mapping manager v1.2.0
All better now!!
Mapping manager made quick work of rewriting all of the URI's on my site, and there were a bunch of 'em!
I immediately generated a new site map and submitted it as well, but I'm sure it will take a little time before my rankings improve.
seriousoffroadproducts.com in case anyone wants to see what the address now look like.
Great work on this Conor!
Hi,
Some of that does look very serious indeed! ;)
On a less serious note.. I see you haven't run the auto-generation for "other" pages and manufacturers as yet.. may as well do that I'd say.
Anyway.. have a nice day/weekend!
All the best...
Conor
ceon
Will do! Still learning.....
Hi,
Replying with an update on this.
The person who had trouble (CnTGifts) already had Ceon URI Mapping running on their site.. then they installed FEC but didn't update their Rewrite rule appropriately by hand, or re-run the installation check to check if the example rule had changed, which it had.
FEC uses a folder /min/ for some sort of AJAX and, as the Rewrite rule hadn't been updated on this person's site, this folder was being blocked and causing checkout to fail (I'd be worried that a module needs JavaScript but that's another issue..).
As has been said here many times, Ceon URI Mapping will not break any properly written module. It didn't here either, this was a simple bit of forgetfulness/lack of knowledge by this store owner.
It's up to every store to customise their rewrite rules appropriately, Ceon URI Mapping cannot read minds. :)
All the best..
Conor
ceon
Hello guys,
i uploaded and installed fresh copy of zencart 1.5 - everything works fine,
i uploaded all files of ceon url mapping module and i wanted to configure it in admin panel i always get a blank page, also index page of my shop is blank.
i have tried to install on 2 other hosts, with and without my own template, uploading all files of ceon module and uploading files from files' folder only,
the result is the same
blank index page and blank page when i click module in admin panel
what can it be???
i got no idea :(
help guys
Hi,
Check the cache folder and you'll probably find myDebug files telling you that some file is looking for some other file but can't find it.
Most likely, you've either:
Uploaded files to the wrong place, like files for the store to the admin folder.
Messed up your configure.php file's DIR_FS_ADMIN define so Ceon URI Mapping is trying to find files in the wrong place.
Hope that helps...
Conor
ceon
i started again on a fresh copy of zencart so nothing was messed before,
first folder named "files" contains "admin" and "includes"
i uploaded "admin to my server" and refreshed my main page, it shows up
then i uploaded "includes" and refreshed my main page of the store again - it shows blank page,
so i started to delete uploaded files from "includes" folder,
when i deleted: config.ceon_uri_mapping.php my maine page showed up again
so it looks that something should be inside this file what makes my main page blank
but why and how?
rutra
Hi,
Yes, it would do as your admin is completely separate from your main page.
To be honest, it sounds like you're really struggling with Zen Cart by yourself. I think doing things yourself can be the best way to learn but when struggling like this I'm afraid I can't post back and forth, it takes too long. If you send me FTP and admin details I can take a quick look and "fix" things for you.
Have you checked the cache folder for myDebug files? If not, check that first, that's the way to find out about problems.
Often FTP software fails to upload files properly.. probably the number 1 cause of problems people contact Ceon about these days. Reuploading often fixes things.
All the best...
Conor
ceon
I want to thank Conor for his above the call of duty help that he provided me. Awesome person with an Awesome Plugin he provided us for free, that alot of people would charge for.
Hi,
That's very nice of you to say, thanks.
Glad you are sorted now and even more so that you like the software, makes the time spent writing/supporting it feel that bit more worthwhile. :)
Hopefully the info above is of use to anyone else who is using Fast and Easy Checkout (FEC) and Ceon URI Mapping (getting some keywords in there while I'm here ;) ).
Have a nice evening/weekend!
All the best..
Conor
ceon
Just installed the mod went like a dream the only thing I have noticed is after rebuilding my sitemaps using the sitemap XML mod, my categories and products are not being indexed in Google don’t know if the two are connected just seems weird never had this before. I've done all the checks in WMT no errors showing crawled as google bot etc set Using parameter language in links to fales in stemaps confuration anyone any clues where to look next.
zencart v1.5
stemapxml mod installed
http://www.rvsolarsystems.co.uk/
Hi,
Glad you like the software.
I'm afraid I don't really know what you mean by "not being indexed in google".
Certainly, the latest version of SitemapXML works just fine with Ceon URI Mapping.
All the best...
Conor
ceon
Hi,
Glad you like the software.. I hope it brings your site more success!
All the best...
Conor
ceon
Since i installed this mod I'm seeing following multiple times throughout the day.
It's not just this 1 product, it's practically every one my site.Quote:
Session ID:
Host: 69.171.237.14
User Agent: facebookexternalhit/1.0 (+http://www.facebook.com/externalhit_uatext.php)
/Soft-Tops/Smittybilt/META_TAG_IMG
WTH is meta_Tag_Img?
When I click on the URL it takes me here:
http://www.seriousoffroadproducts.co...t/META_TAG_IMG
Hi,
I have uri mapping but not sure how I change the ezpages and the home page. Before I changed the uri for products, I would paste the m on face book but it wouldn't work. Now they do so I need to check that the ezpages can be changed and if there is something that can be done with the home page so that it shows up/
Thanks
A
Hello there, me again :)
i got a problem with ?cPath=
when i add a new product by hand i always get a proper url mydomain.com/category/product
but most of my products are imported from my suplier's database and his categories in imported file are different than mine.
after an import i move all products to my categories.
when moving i get an info from ceon module that new url was created : mydomain.com/category/product but when i check from index page clicking category then product i always get mydomain.com/category/product?cPath=number with the number of the master category, it's undersood and aceptable for me.
but when i choose some of these product to be Featured Products and appear on an index page all links shows without ?cPath=number, just simply mydomain.com/category/product
so right now same product page in my store has two different urls - is it normal or i'm doing something wrong?
also how can i cut ?cPath from prodcuts which are not newely created but transfered to different category?
thanks for your support
rutra
Hi,
When I go to your site, the following URI doesn't exist:
http://www.seriousoffroadproducts.co...ps/Smittybilt/
This one does though:
http://www.seriousoffroadproducts.co...nt-System-CRES
The first URI above is still dynamic, using:
http://www.seriousoffroadproducts.co...Path=1388_1675
So you haven't generated the URI for the subcategory Smittybilt of the category Soft Tops.
In this example, that means no URIs that directly come off /Soft-Tops/Smittybilt/ exist until /Soft-Tops/Smittybilt/Cargo-Restraint-System-CRES ...
So that should be fixed by generating the "inbetween" URI that is missing.
Now, that may not be anything to do with this other issue of META_TAG_IMG - I have no idea what META_TAG_IMG is, it must be a define used by a mod on your site which is failing to populate it with a useful value.
All of your pages seem to have it in the header:
Given the context you posted, it looks like it may be something related to Facebook?HTML Code:<meta property="og:image" content="META_TAG_IMG">
I've never used Facebook, nevermind any modules for it for Zen Cart, or simply any integration software for it for a website, but it could be something to do with a "like" module or something you may have installed?
If it is some sort of Zen Cart module, it may simply require a tweak to work with static URIs.. or it could just be the "missing" static URIs on the site "flagging" a problem that was always there but never noticed before.
That's all I can really say at the minute..
Hope that information is of use to you!
All the best...
Conor
ceon
Hi,
Sorry, I have no idea at all what you are saying/asking?
All the best..
Conor
ceon
Hi,
That's not a great idea IMO. If it's a regular (standardised) thing I'd simply reprogram the import software to put the products straight into the appropriate categories.. i.e. remap the IDs when importing.. can't be too hard to do.
Then you have changed the "context" of where the products are. They are no longer in their main categories, but in "linked" categories.
As such, Ceon URI Mapping is smart enough to see this and the cPath is used to maintain the user's "context" on the site.
Oh, okay. I'd rather not have cPath if I didn't have to, which you don't appear to have to really, the reason for the "linked" usage being more of a technical issue in what you've described above.
No, you see two different ones as the cPath is used to maintain context in a linked category, but when a product is shown anywhere else on the site the cPath isn't needed as the product isn't in a category, it's independent of the current address.
This isn't a problem as Ceon URI Mapping has full canonical support built in.. search engines see all variations of a product's URI - with however many different cPath values - as the same URI.. check a product's info page and you'll see the "canonical" tag which is all the search engines care about.. they ignore all the additional query string parameters, like cPath.
Handy this module is sometimes :)
Hope that sets your mind at rest!
I'd still adjust your import methodology if I was you though.. simply to make things "look" better. Why not, if it can be automated? :)
All the best..
Conor
ceon
Hmmmmm.
I suppose I missed an important step somewhere then.
I just ran The Mapping Manager and these are the results:
I clicked on the Categories/Products URI Tab, then on the Create/Manage URI's on the right side of the page for Categories/Products URI Mappings. Shouldn't this map everything in the categories and all of the associated Sub-Cat's and their products?Quote:
Generated Category URI Mappings
Num Category Mappings Generated: 0
Num Category Mappings Unchanged: 288
Generated Product URI Mappings
Num Product Mappings Generated: 0
Num Product Mappings Unchanged: 4425
Num Product Mappings Failed: 239
Hi Conor
Sorry to but in... This thread will give a little history http://www.zen-cart.com/showthread.p...e-doesn-t-work
Good luck...:smile:
I'm getting a headache....
Here's what I'm doing/seeing:
admin>modules>Ceon URI Mappings Manager>Create/manage URI's
in the box labeled "Manage Category/Product URIs", I click on the Create/Manage URIs button
On the following page, under products in Main Site Categories Iclick on the hyperlink (Click here to manage/auto-generate the URIs for the products in this category.)
This is what I see:
Category ""Quote:
Product Mappings
Auto-generate Mappings
Selected products
Include disabled products
Products in category “”
Mapping template for the products within this category:
English/{dir-ws-catalog}/{category-path}/{manufacturer-name}/{product-name}
What the heck is ""?!?!
It has 72 products in it, but when I go to admin>catalog>categories/properties, no such category exists.
Who's got my bottle of Asprin?
Hi,
Almost certainly a database corruption by software like Easy Populate (a common occurrence). This is the wrong place to discuss this tho.. I'm going to contact you privately, please don't reply here.
Morphine derivatives are more useful. :)
All the best...
Conor
ceon
Sorry think I've messed up some thing but if I click on an ezpage I get META_TAG_TITLE in the bar above the address bar in firefox http://www.rvsolarsystems.co.uk/How-Solar-Panels-Work
Hi,
I see from your other posts today that you are playing with your header files... these are also involved in the output of the meta tags... however.. doing a search of files I see that in Zen Cart the title and description meta tags are generated as defines in includes/modules/meta_tags.php:
Which rely onPHP Code:
if (defined('META_TAG_TITLE_EZPAGE_'.$ezpage_id)) define('META_TAG_TITLE', constant('META_TAG_TITLE_EZPAGE_'.$ezpage_id));
For some reason, something on your site is defining the constant META_TAG_TITLE as META_TAG_TITLE.. so the constant isn't being used probably. I'm guessing this could mean that Ceon URI Mapping's installation may be interfering in some way with the setting of $_GET['id'] and that the site is falling back to looking for a META_TAG_TITLE define for EZ-Pages but now your site doesn't have a valid one?PHP Code:
$ezpage_id = (int)$_GET['id'];
I've not much time so hopefully this information is of use.. if you open your includes/modules/STORE-TEMPLATE/meta_tags.php (or includes/modules/meta_tags.php) file and trace what is happening with the above define code, you should be able to find out why the "correct" define value isn't being shown.
Hope that helps!
Sorry I can't help more for now, have to take a break.
Have a good afternoon/evening!
All the best..
Conor
ceon
No probs when ever and I've not touched the header files must be someone with an addy similar to mine, and it would seem I'm not the only one with this issue I googled META_TAG_TITLE there are loads some big firms too.
just checked each file mentioned and the highlighted codes you mentioned are the same, I also installed a backup of my complete site from 02/09/2012 and got the same result. hope this helps
Hi,
Sorry, saw this post in your history and thought you were the person originally asking for help rather than giving it, so thought you were playing with your header.
Unfortunately [for you ;) ], it helps in basically confirming that this issue isn't actually related to Ceon URI Mapping. What you need to do is to trace the value of META_TAG_TITLE on your site.. I wasn't saying to check the code in those files was the same, I was pointing out where some of the code is that generates the value of META_TAG_TITLE.. the value for it isn't being generated correctly for your site for EZ-Pages..
This isn't a feature of Zen Cart I've used before but it looks like you have possibly created some META_TAG_TITLE_EZ_PAGE_XXXX defines that aren't being used as you expected.
I'm afraid this is not the right thread for you, you should start a new one to ask for help with this issue.
Glad I have been able to point you roughly in the right direction though. Good luck getting this sorted! I'd imagine it shouldn't be too hard to trace and fix.
All the best..
Conor
ceon
Hi Mark,
Did you ever find a work around for this? I just implemented CEON on a site I have been using the Algozon template on. I am curious what your outcome was and if you have any pointers. I am having the same issue.
Regards,
Tim
Hi Tim,
Yes, if I remember correctly, I determined that the solution was for the makers of the mobile.php file to "fix" their mistake and have an index.php file load the files the mobile template thingamajig did instead of a file called mobile.php.
So you should contact them and get that sorted, the problem is there, not with Ceon URI Mapping. It's the mobile.php file that is the problem.. it is completely unnecessary. The way things were programmed wasn't "right" as far as I remember, but very easy indeed to change to the "right" way of doing things.
Hope that helps!
All the best...
Conor
ceon
Hey there, thanks for an awesome mod. For such a powerful and functional and complex mod it was UNBELIEVABLY easy to plugin :)
I wonder though, I have a site I'm building which has categories which use & The software removes the ampersand and semi-colon leaving only amp in the title - so eg products & more products becomes products_amp_more_products. I've tried making the auto generation thing remove & but it just turns it into a & and I don't want to remove amp in-case they start selling lamps, amplifiers or stamps :)
Is there a work around for this?
thanks
Hi Crazy Sarah,,
Hope you're having a nice weekend!
I'm glad you like it and appreciate the effort put into making it as easy as possible to install.
You really shouldn't use HTML in the title for a product.
Why not just use "&"?
In addition, with Ceon URI Mapping you can use the "Character/String Replacements" functionality to change the "&" into "and" if you like:
The above means if a product name is "Products & More Products", the auto-generation results in "products-and-more-products".Code:$=>USD, &=>and
Handy!
Hope that helps?
All the best...
Conor
ceon
Working on my local copy of ZC v1.50
Got this mod installed and ran the Ceon URI Mapping Installation Check, no errors found.Yippie, right?
Meh...not so much.
Re-mapped products don't show up, getting 404 error messages.
Probably outside the scope of this thread......but how do I "create" a .htaccess file?Quote:
If using a .htaccess file
If placing the rule in a .htaccess file, the .htaccess file into which it should be placed is the site root's .htaccess file, which should be created if it doesn't exist:
G:/xampp/htdocs/.htaccess
Although the store is in a subdirectory, the .htaccess file into which the example rewrite rule should be placed is NOT a .htaccess file within the Zen Cart folder, the rewrite rule below is for the site root's .htaccess file - place it in the above file!
If using an Apache VirtualHost Directive
If the store runs on a server using Apache and it is possible to modify the VirtualHost Directive for the store, then the rule can be modified and entered into the VirtualHost Directive for the store.
Disregard my previous post.
All fixered-up now.
;)
[QUOTE] how do I "create" a .htaccess file?[\QUOTE]
Open your text editor, paste/type the content of your code, save as .htaccess
You may have to show hidden files on your PC once saved.
For your info as you now know you have installed this great mod correctly you can simply switch the rewrite off in configuration while working on local host and switch it back on once/if site goes on live server if you don't have any luck with creating .htaccess file.
Hi Frank,
Umm.. if you don't finish installing the software it's not going to work! :)
It's just a text file with the name ".htaccess". It is used by an Apache webserver as a configuration file for VirtualHosts, if "overrides" are allowed by configuring the VirtualHost domain with an AllowOverride directive ([FONT=verdana]AllowOverride All within a Directory directive).[/FONT] I'd imagine it's already allowed by the MAMP setup.
All you have to do is create a text file with that name and put the Ceon URI Mapping Example Rule in it.. that should get things working.
It's not "outside the scope", but if you search the net you can find out what you need to know, which would be quicker than posting here (or anywhere for that matter). Not being cheeky, just pointing that out, life is short, best be efficient with what little time we have! :)
Enjoy the rest of the weekend!
All the best...
Conor
ceon
Hi,
lol in this case you're wrong.. clearly I was the loser this time. :)
Finished 4.2.1 earlier today, will try and get it released soon.
All the best..
Conor
ceon
Hi Conor, thank for the advice. I had actually changed all the &'s to &'s a while back because they caused some or other issue which I can't remember and I was told that doing it that way was more correct.
Anyhoo, I'll change them back and problem (hopefully) solved. Thanks again for super software!
Hi,
More than likely an output issue with some badly written code.. the output code should translate/convert & into its HTML entity &, product names should be textual only!
Glad you like it. Enjoy the new URIs and have a nice evening.
All the best...
Conor
ceon