Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping v4.x

Ceon URI Mapping v4.x

Views: 452,091

Results 1,381 to 1,400 of 2,454
21 Nov 2013, 9:20 PM
#1381
ev8321 avatar

ev8321

New Zenner

Join Date:
May 2011
Posts:
10
Plugin Contributions:
0

Ceon URI Mapping v4.x

Thanks Diva Vocals

Example:
http://www.pyjamas.com.au/womens/pyjamas - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=2 - canonical http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=2
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=3 - canonical http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=3

SOURCE: http://goo.gl/h9SGJW

Mistake 1: rel=canonical to the first page of a paginated series

Imagine that you have an article that spans several pages:

example.com/article?story=cupcake-news&page=1
example.com/article?story=cupcake-news&page=2
and so on

Specifying a rel=canonical from page 2 (or any later page) to page 1 is not correct use of rel=canonical, as these are not duplicate pages. Using rel=canonical in this instance would result in the content on pages 2 and beyond not being indexed at all.

21 Nov 2013, 9:24 PM
#1382
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

ev8321:

Thanks Diva Vocals

Example:
http://www.pyjamas.com.au/womens/pyjamas - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=2 - canonical http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=2
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=3 - canonical http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=3

So, I'm assuming that the issue you are concerned about is that the canonical field in your distributed webpage does not contain the canonical link provided above. I say this because when I click on the canonical link I get to a webpage that has the same address as I clicked; however, has the same content as one without the sort and page information.

21 Nov 2013, 9:28 PM
#1383
ev8321 avatar

ev8321

New Zenner

Join Date:
May 2011
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

mc12345678:

So, I'm assuming that the issue you are concerned about is that the canonical field in your distributed webpage does not contain the canonical link provided above. I say this because when I click on the canonical link I get to a webpage that has the same address as I clicked; however, has the same content as one without the sort and page information.

Yes mc12345678 that is exactly what I am after. Thanks.

21 Nov 2013, 9:31 PM
#1384
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

ev8321:

Yes mc12345678 that is exactly what I am after. Thanks.

Based on those results, I would say a template issue and not related to CEON URI. Suggestion would be to start a new thread or contact the template author to determine why your template is not capturing/creating the canonical link "correctly".

21 Nov 2013, 9:37 PM
#1385
ev8321 avatar

ev8321

New Zenner

Join Date:
May 2011
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

mc12345678:

Based on those results, I would say a template issue and not related to CEON URI. Suggestion would be to start a new thread or contact the template author to determine why your template is not capturing/creating the canonical link "correctly".

Oh I thought this was definitely a CEON URI problem specifically, hence the reason for posting here.
Do you know of any example sites using CEON URI successfully with canonical URLS where categories exceed 2 or more pages?

Thanks for your help in advance.

21 Nov 2013, 9:48 PM
#1386
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

ev8321:

Oh I thought this was definitely a CEON URI problem specifically, hence the reason for posting here.
Do you know of any example sites using CEON URI successfully with canonical URLS where categories exceed 2 or more pages?

Thanks for your help in advance.

So, I claim that it's not a CEON URI problem, because CEON URI is not changeing the link away from the sort and page values and the result you are looking for is the same URI that stayed in the browr when I tried it. Therefore, it appears possible to obtain the desired information to be assigned to the canonical web page information. If the webpage is not capturing that which is template related, then it's not specifically CEON URI.

As for my knowing of other examples, I can not say that I do, but that doesn't mean they aren't out there. Maybe someone else will PM you such examples.

21 Nov 2013, 10:32 PM
#1387
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

mc12345678:

As for my knowing of other examples, I can not say that I do, but that doesn't mean they aren't out there. Maybe someone else will PM you such examples.

Sorry, ran out of time to edit. You could also start a thread looking for sites that match your criteria. Who knows it might help someone else.

I wanted to also say, I may be wrong about what it takes to show the canonical address, considering the various load locations of information, but it is not a problem with the current plug-n as it is written.

21 Nov 2013, 11:23 PM
#1388
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

WT??????

Oh for heavens sake..

ev8321:

Yes mc12345678 that is exactly what I am after. Thanks.
right.. and you still have not described WHAT the SPECIFIC issue is you think IT IS you are having in this response.. You provided no details (because you assumed we all KNEW what you were trying to say) which explains the rest of these answers and responses..

mc12345678:

Based on those results, I would say a template issue and not related to CEON URI. Suggestion would be to start a new thread or contact the template author to determine why your template is not capturing/creating the canonical link "correctly".

ev8321:

Oh I thought this was definitely a CEON URI problem specifically, hence the reason for posting here.
Do you know of any example sites using CEON URI successfully with canonical URLS where categories exceed 2 or more pages?

Thanks for your help in advance.

mc12345678:

So, I claim that it's not a CEON URI problem, because CEON URI is not changeing the link away from the sort and page values and the result you are looking for is the same URI that stayed in the browr when I tried it. Therefore, it appears possible to obtain the desired information to be assigned to the canonical web page information. If the webpage is not capturing that which is template related, then it's not specifically CEON URI.

As for my knowing of other examples, I can not say that I do, but that doesn't mean they aren't out there. Maybe someone else will PM you such examples.

mc12345678:

Sorry, ran out of time to edit. You could also start a thread looking for sites that match your criteria. Who knows it might help someone else.

I wanted to also say, I may be wrong about what it takes to show the canonical address, considering the various load locations of information, but it is not a problem with the current plug-n as it is written.
so let me stop all of this back and forth right now by saying..

**THERE IS NO ISSUE here!!!!

THE MODULE IS WORKING AS IS IT IS SUPPOSED TO!!!! NO DUPLICATE CONTENT ISSUES!!

**http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1077140#post1077140
http://www.zen-cart.com/showthread.php?184548-Ceon-URI-Mapping-v4-x&p=1071838#post1071838

Rizla:

Canonical URIs
•Any page with a static URI automatically has a canonical URI tag added to the page's header. This minimises “duplicate content” reports as it tells the search engines that multiple “pages” should be treated as one.
•For example, instead of the search engine thinking that /all-products?disp_order=1 is a different page from /all-products?disp_order=3, Ceon URI Mapping lets it know that the page's “real” URI is just /all-products and that these other URIs are just variations for the same page.

Could have answered this in just a FEW posts if the description of the problem had been detailed so folks aren't GUESSING what the issue might be..

21 Nov 2013, 11:38 PM
#1389
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

ev8321:

Thanks Diva Vocals

Example:
http://www.pyjamas.com.au/womens/pyjamas - canonical http://www.pyjamas.com.au/womens/pyjamas
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=2 - canonical http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=2
http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=3 - canonical http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=3

URL: http://www.pyjamas.com.au/womens/pyjamas?sort=20a&page=2

From the HTML Output

<base href="[URL="http://www.zen-cart.com/view-source:http://www.pyjamas.com.au/"]http://www.pyjamas.com.au/[/URL]" /> 
<link rel="canonical" href="[URL="http://www.zen-cart.com/view-source:http://www.pyjamas.com.au/womens/pyjamas"]http://www.pyjamas.com.au/womens/pyjamas[/URL]" />

This is correct and what is SUPPOSED to happen..

23 Nov 2013, 6:28 PM
#1390
paul66 avatar

paul66

New Zenner

Join Date:
Nov 2013
Location:
Cork, Ireland
Posts:
9
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Need a little help. I have installed the program and everythink i beleve is in the right place. The shop is working but when i try and log into the Admin page i get a 500 error.
When i checked the filles i found:
admin/includes/functions/extra_functions/ceon_uri_mapping_admin_page_reg.php
was missing so i re uploaded it only to find if i log on to the Admin page it again deletes the file agail.
Any Idea or help?

23 Nov 2013, 6:50 PM
#1391
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

Paul66:

Need a little help. I have installed the program and everythink i beleve is in the right place. The shop is working but when i try and log into the Admin page i get a 500 error.
When i checked the filles i found:
admin/includes/functions/extra_functions/ceon_uri_mapping_admin_page_reg.php
was missing so i re uploaded it only to find if i log on to the Admin page it again deletes the file agail.
Any Idea or help?

Error logs either in Zcs /logs or /cache folder or your server's error logs?

I don't recall the functionality of that. File, but it could be that as part of the install it is supposed to get deleted. Said checked for presence of files, but confirmed 100% of contents were transferred? Also sure have applied the htaccess mods correctly?

23 Nov 2013, 7:08 PM
#1392
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

Paul66:

Need a little help. I have installed the program and everythink i beleve is in the right place. The shop is working but when i try and log into the Admin page i get a 500 error.
When i checked the filles i found:
admin/includes/functions/extra_functions/ceon_uri_mapping_admin_page_reg.php
was missing so i re uploaded it only to find if i log on to the Admin page it again deletes the file agail.
Any Idea or help?

a look at this file there is code that VERY CLEARLY indicates that it DOES delete after the install

if ($can_autodelete) {
    // Either the config utility file has been registered, or it doesn't need to be. Can stop the wasteful process
    // of having this script run again by having it delete itself
    @unlink(DIR_WS_INCLUDES . 'functions/extra_functions/ceon_uri_mapping_admin_page_reg.php');
}

So THIS is not the issue.. I would re-check your install and make sure you have all the right files in the right places, and make sure that your .htaccess file is correctly configured and uploaded to the correct location.. Look at your error logs.. if there are any you should post the contents of the log files.

You also need to provide some more details here.. Does your shop work?? Posting a URL and your .htaccess file (using the code tags so the forum software doesn't parse the contents) will minimize GUESSING at a solution..

23 Nov 2013, 7:22 PM
#1393
paul66 avatar

paul66

New Zenner

Join Date:
Nov 2013
Location:
Cork, Ireland
Posts:
9
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Yes the shop does seem to be working. the contents of the error log are.

[23-Nov-2013 19:15:39 UTC] PHP Warning: require(includes/functions/sessions.php): failed to open stream: No such file or directory in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
[23-Nov-2013 19:15:39 UTC] PHP Fatal error: require(): Failed opening required 'includes/functions/sessions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
Here is the contents of htaccess filr in the admin dir.
@copyright Copyright 2003-2011 Zen Cart Development Team

@license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

@version $Id: .htaccess 19328 2011-08-06 22:53:47Z drbyte $

This is used with Apache WebServers

The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions

It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.

Will also prevent people from seeing what is in the dir. and any sub-directories

For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.

Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.

Example:

#<Directory "/usr/local/apache/htdocs">

AllowOverride Limit Options Indexes

#</Directory>
###############################
DirectoryIndex index.php

deny everything

<FilesMatch "...">
Order Allow,Deny
Deny from all
</FilesMatch>

but now allow just certain necessary files:

<FilesMatch "(^$|^favicon.ico$|.*.(php|js|css|jpg|gif|png)$)">
Order Allow,Deny
Allow from all
</FilesMatch>

IndexIgnore /

The following makes adjustments to the SSL protocol for Internet Explorer browsers

<IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule>

#turn off X-PHP-Originating-Script header when sending emails from admin
#uncomment to activate:

php_flag mail.add_x_header Off

23 Nov 2013, 7:59 PM
#1394
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

This is AWFULLY hard to read since you are not using the forum code tags... (corrected your code posting so you can see the difference) I was not asking about the contents of the ADMIN .htaccess file.. I was looking for the contents of the SITE .htaccess file created by Ceon URI..

That said, the error messages are not that mysterious to interpret here.. They indicate a MISSING file.. init_sessions.php makes a call to a file called sessions.php which is MISSING..

This is likely the cause of your issue (not caused by this module at all)

Finally you should NEVER post anything on this forum which gives away your secret admin folder name.. You should change the folder name, and going forward obscure the name of your admin folder when you post code on this forum..

Paul66:

Yes the shop does seem to be working. the contents of the error log are.

[23-Nov-2013 19:15:39 UTC] PHP Warning:** require(includes/functions/sessions.php)**: failed to open stream: No such file or directory in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
[23-Nov-2013 19:15:39 UTC] PHP Fatal error: require(): Failed opening required 'includes/functions/sessions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/shiny/public_html/shinycruiser.com/cruiseradmin/includes/init_includes/overrides/init_sessions.php on line 28
Here is the contents of htaccess filr in the admin dir.

@copyright Copyright 2003-2011 Zen Cart Development Team

@license [URL]http://www.zen-cart.com/license/2_0.txt[/URL] GNU Public License V2.0

@version $Id: .htaccess 19328 2011-08-06 22:53:47Z drbyte $

This is used with Apache WebServers

The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions

It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.

Will also prevent people from seeing what is in the dir. and any sub-directories

For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.

Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.

Example:

#<Directory "/usr/local/apache/htdocs">

AllowOverride Limit Options Indexes

#</Directory>
###############################
DirectoryIndex index.php

deny everything

<FilesMatch "...">
Order Allow,Deny
Deny from all
</FilesMatch>

but now allow just certain necessary files:

<FilesMatch "(^$|^favicon.ico$|.*.(php|js|css|jpg|gif|png)$)">
Order Allow,Deny
Allow from all
</FilesMatch>

IndexIgnore /

The following makes adjustments to the SSL protocol for Internet Explorer browsers

<IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule>

#turn off X-PHP-Originating-Script header when sending emails from admin
#uncomment to activate:

php_flag mail.add_x_header Off

30 Nov 2013, 2:16 PM
#1395
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

Hi all,

zen 1.5.0
many mods including:
multisite
bundles
big_spender
ceon_shipper
ceon_uri

have a little issue, hope you can help.

On the shopping cart page where items are listed, zen gives a link for each item to be taken back to it.
problem appears that I have an issue with Connors ceon href builder class links when the product contains attributes.
For example:

product url:
https://www.mydomain.com/fuzzybear

add that product to shopping cart, with a selected attribute.
when in the shopping cart, click on the image or textlink to go back to that product and the provided link is similar to:

https://www.mydomain.com/fuzzybear?products_id=1234:61df5b0dc8a01862102e832205129deb

which if you click on comes back to the correct page of product "fuzzybear" but gives a

WARNING: An Error occurred, please refresh the page and try again.

Could someone check their install and see if they get same thing please!

30 Nov 2013, 2:25 PM
#1396
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

further info to make it easier.
not sure if i just become lazy and change line 274 in the includes/classes/ceonHreflinkbuilder.php

        if (strpos($product_query_pair, ':') === false) {
                        // Remove product ID from query string unless it includes information about selected
                        // attributes (which is added when linking from shopping cart to product info page)
                        $parameters = str_replace($product_query_pair . '&', '', $parameters);
                        $parameters = str_replace($product_query_pair, '', $parameters);
                    }

so that it just doesn't give the parameters in the link.

Or i start digging into my tpl_product_info_display.php file to see if something there is not dealing with the paramters that Connor correctly passed back..he was rarely wrong.

30 Nov 2013, 2:47 PM
#1397
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

Calljj:

further info to make it easier.
not sure if i just become lazy and change line 274 in the includes/classes/ceonHreflinkbuilder.php

    if (strpos($product_query_pair, ':') === false) {
                    // Remove product ID from query string unless it includes information about selected
                    // attributes (which is added when linking from shopping cart to product info page)
                    $parameters = str_replace($product_query_pair . '&', '', $parameters);
                    $parameters = str_replace($product_query_pair, '', $parameters);
                }
> 
> so that it just doesn't give the parameters in the link.
> 
> Or i start digging into my tpl_product_info_display.php file to see if something there is not dealing with the paramters that Connor correctly passed back..he was rarely wrong.

So, just checked my site, added an item that had one parameter associated and was able to return to product displayed with the attribute selected even. I have a version of stock by attributes installed, but would say that it is not CEON URI that is the issue, but something else. Suggest ng a new thread or branch off of your template's thread, as this is not a problem with this plugin.
30 Nov 2013, 2:53 PM
#1398
calljj avatar

calljj

Zen Follower

Join Date:
Mar 2007
Posts:
253
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

All sorted, sometimes typing it for others make the problem much clearer.
my issue was i was referring to the $_GET['products_id'] variable for a custom coupon image display, and hadn't included the (int) infront of it during a query, therefore the query was falling over as the attribute info was being pulled in at the same time. nothing to do with the ceon uri module.
Thanks for putting up with my written drivel and once again, Conor was right.

30 Nov 2013, 4:55 PM
#1399
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping v4.x

Calljj:

and once again, Conor was right.

He usually was...:smile:

2 Dec 2013, 12:53 AM
#1400
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

1.3.9h

installed this mod and it works up to a point but I have no clue what I did wrong.

I can't seem to get the links for the navigation header (some are entered manually in the mega file) nor the ezpages part to behave.

I have auto generate turned on and when I enter the url: http://www.designerperfumesnob.com/specials <---this is preferred style

or http://designerperfumesnob.com/shop_our_sale <---this is the one aut generated by mod

I get the page with the entire page showing but no products...weird

right now most of the links are showing the original url and the footer links are hand entered into the footer file so need to adjust them and hopefully they will work but clicking the links should help you see what I mean.

ideas?