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

Ceon URI Mapping v4.x

Views: 452,031

Results 1,761 to 1,780 of 2,454
16 Dec 2014, 4:28 PM
#1761
divavocals avatar

divavocals

Totally Zenned

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

Ceon URI Mapping v4.x

dp-web:

Our output file is only giving us the old, standard Zen Cart product ID URL - which Google really doesn't like inside XML sitemaps as it requires a 200 response header rather than a 301.Not a true statement.. Google doesn't CARE as long as the URL is VALID.. but that is ANOTHER topic..

dp-web:

The documentation states that the module deals with this and how to set it up, but the output is only ever the same, with the original URL.

Is there anyway to pull the new URL out (generated by CEON module) and input it into the Sitemap XML file? The info should be inside the database somewhere...The issue is the Google Sitemap XML module.. Search this thread or the Google Sitemap XML support thread.. there is a posted fix which has sounds like NEVER made it's way into the Google Sitemap XML module..

16 Dec 2014, 4:47 PM
#1762
dp_web avatar

dp_web

New Zenner

Join Date:
Jan 2009
Posts:
25
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

DivaVocals:

Not a true statement.. Google doesn't CARE as long as the URL is VALID.. but that is ANOTHER topic..

The issue is the Google XML module.. Search this thread or the Google XML support thread.. there is a posted fix which has sounds like NEVER made it's way into the Google XML module..

Hi Diva,

Thanks for your response. On my reading travels I've come across a lot of sites saying 301's are not good. But, I've just finished a Google Hangout with John Mueller Google WMT engineer) today and he did confirm that yes, Google DON'T care about the 301's redirects in the sitemap, in fact he said up to 5 is okay (ideally non but it's not always possible). So, with your confirmation as well, I can cross this off my list as possible causes for a dip in traffic.

I'll dig through the XML Sitemap thread to find the fix you mentioned. The module doesn't appear to have been updated in a while so might not have been added.

Thanks again.
dp

16 Dec 2014, 5:07 PM
#1763
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

dp-web:

Hi Diva,

Thanks for your response. On my reading travels I've come across a lot of sites saying 301's are not good. But, I've just finished a Google Hangout with John Mueller Google WMT engineer) today and he did confirm that yes, Google DON'T care about the 301's redirects in the sitemap, in fact he said up to 5 is okay (ideally non but it's not always possible). So, with your confirmation as well, I can cross this off my list as possible causes for a dip in traffic.

I'll dig through the XML Sitemap thread to find the fix you mentioned. The module doesn't appear to have been updated in a while so might not have been added.

Thanks again.
dp

The fix I speak of is in the Google XML support thread.. It was posted some time back so be prepared to dig a little.. try searching the thread specifically for "Ceon"

16 Dec 2014, 5:30 PM
#1764
dp_web avatar

dp_web

New Zenner

Join Date:
Jan 2009
Posts:
25
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

DivaVocals:

The fix I speak of is in the Google XML support thread.. It was posted some time back so be prepared to dig a little.. try searching the thread specifically for "Ceon"

Thanks again. I've found the fix, and yes it was out of date, but I've corrected the code but the module still only outputs the URL's in the original zen format. :dontgetit

The CEON module works as it should (and there are only a few options anyway) so I know its doing what its supposed to in terms of URL rewriting.

I un-installed the Sitemap XML module, cleared out the files, re-installed and set it back up, but its still not working. Not sure where else to go now with it.

dp

16 Dec 2014, 6:00 PM
#1765
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

dp-web:

Thanks again. I've found the fix, and yes it was out of date, but I've corrected the code but the module still only outputs the URL's in the original zen format. :dontgetit

The CEON module works as it should (and there are only a few options anyway) so I know its doing what its supposed to in terms of URL rewriting.

I un-installed the Sitemap XML module, cleared out the files, re-installed and set it back up, but its still not working. Not sure where else to go now with it.

dp

All I can do is suggest you check your install of BOTH modules again..

Honestly if it's the Sitemap that's not generating the correct URI's the issue really is with the sitemap module (see post from the original Ceon author below).. Unfortunately the author of the Sitemap module isn't interested in figuring out the fix.. But the most likely REASON why is clearly stated below..

conor:

Hi,

**
Must be a problem with that module.** Ceon URI Mapping will output the static URI for any code that uses zen_href_link(). It has no concept of what module is using it via that function.

Best ask your question on the thread for this other module.

Sorry I can't be more help than that but at least you know the issue isn't with Ceon URI Mapping.

All the best..

Conor
ceon

19 Dec 2014, 12:11 PM
#1766
whitsolltd avatar

whitsolltd

New Zenner

Join Date:
Sep 2012
Posts:
23
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Hello

I have installed this module on Zen Cart 1.5.3 and everything is showing as OK in the installation and configuration checker. I am however having an issue with the redirects, in that every custom url returns to the homepage. I have tried the fix of adding the / to the .htaccess rule

the site is a b a c a o r g a n i c . co.uk and you can see the behaviour by clicking 'mattresses' then 'pocket sprung'

Any suggestions on this much appreciated.

Many thanks

19 Dec 2014, 12:38 PM
#1767
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping v4.x

whitsolltd:

Hello

I have installed this module on Zen Cart 1.5.3 and everything is showing as OK in the installation and configuration checker. I am however having an issue with the redirects, in that every custom url returns to the homepage. I have tried the fix of adding the / to the .htaccess rule

the site is a b a c a o r g a n i c . co.uk and you can see the behaviour by clicking 'mattresses' then 'pocket sprung'

Any suggestions on this much appreciated.

Many thanks

Maybe something in the .htaccess file is fowling the CEON rewrite? Could you provide a copy of your .htaccess file, but be sure to obscure your admin directory as it is one of the rewritecond's included... Also, if there is anything else that is to remain obscured, at least identify that there is something there, but do not provide the details of what it was. Otherwise, perhaps the installation wasn't complete?

19 Dec 2014, 12:42 PM
#1768
whitsolltd avatar

whitsolltd

New Zenner

Join Date:
Sep 2012
Posts:
23
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Thanks for coming back so quickly. I have reinstalled a couple of times to no avail. Here is the .htaccess info.

BEGIN CEON URI MAPPING REWRITE RULE

RewriteEngine On
Options +SymLinksIfOwnerMatch

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|3dml)$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/XXXXX [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors/ [NC]

Don't rewrite logs directory

RewriteCond %{REQUEST_URI} !^/logs/ [NC]

Don't rewrite new directory

RewriteCond %{REQUEST_URI} !^/new/ [NC]

Don't rewrite abaca directory

RewriteCond %{REQUEST_URI} !^/abaca/ [NC]

Don't rewrite cgi-bin directory

RewriteCond %{REQUEST_URI} !^/cgi-bin/ [NC]

Don't rewrite blog directory

RewriteCond %{REQUEST_URI} !^/blog/ [NC]

Don't rewrite tempEP directory

RewriteCond %{REQUEST_URI} !^/tempEP/ [NC]

Don't rewrite magicscroll directory

RewriteCond %{REQUEST_URI} !^/magicscroll/ [NC]

Handle all other URIs using Zen Cart (its index.php)

RewriteRule .* index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE

19 Dec 2014, 1:22 PM
#1769
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping v4.x

And that is the content of your entire .htaccess file? Nothing before, nothing after the CEON added code?

I have in the RewriteRule a slight difference to what you have. I have:

RewriteRule ^(.*)$ /index.php [QSA,L]

What I consider the significant difference being ^(.)$ instead of . alone.

Still, that is the entirety of your .htaccess file? I had gone through similar iterations on the site to obtain fully satisfactory results with the setup at the time. The differences may be inconsequential; however, I don't want to modify what isn't broke as there have been no issues with the rewrites after applying the above.

19 Dec 2014, 1:31 PM
#1770
whitsolltd avatar

whitsolltd

New Zenner

Join Date:
Sep 2012
Posts:
23
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Thanks again. Yes this is the entire .htaccess file. Everything works properly with the rewrites turned off.

I have tried changing to your code without any difference in the result. There is nothing in the error logs.

Interestingly though, I have just discovered that putting anything after the url generates the same. e.g. /asfawrf (just random characters) also goes back to the homepage. Might this shed any clues?

19 Dec 2014, 1:37 PM
#1771
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping v4.x

whitsolltd:

Thanks again. Yes this is the entire .htaccess file. Everything works properly with the rewrites turned off.

I have tried changing to your code without any difference in the result. There is nothing in the error logs.

Interestingly though, I have just discovered that putting anything after the url generates the same. e.g. /asfawrf (just random characters) also goes back to the homepage. Might this shed any clues?

Having tried the same (or similar) that was what led me to the two suggested causes. Either .htaccess issue (and if that is the entire .htaccess file, then my second thought would be a partial install. The browser's uri is being modified/keeps the entered uri; however, the site is not responding as such. Missed a merge maybe or some file didn't get uploaded fully/properly (occasionally happens to anyone/everyone). I'm not sure off the top of my head what "action" has been omitted to result in an entered rewrite not showing the information that is expected...

19 Dec 2014, 1:44 PM
#1772
whitsolltd avatar

whitsolltd

New Zenner

Join Date:
Sep 2012
Posts:
23
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Once again, thanks very much for taking the time to help with this.

I have just performed a complete installation again. This time 1 file at a time and on replacing 'includes/autoloaders/config.ceon_uri_mapping.php' I was asked to replace a file with a size of 0 bytes. This appears to have fixed it.

Hate myself right now. Thanks again for your assistance

19 Dec 2014, 2:08 PM
#1773
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping v4.x

whitsolltd:

There is nothing in the error logs.

whitsolltd:

Once again, thanks very much for taking the time to help with this.

I have just performed a complete installation again. This time 1 file at a time and on replacing 'includes/autoloaders/config.ceon_uri_mapping.php' I was asked to replace a file with a size of 0 bytes. This appears to have fixed it.

Hate myself right now. Thanks again for your assistance

Ahh, no big deal on that being the problem like said, it happens and is not an experience related issue, just sometimes in the middle of a transfer a hiccup occurs and the file doesn't make it to the server in its entirety. It does explain why there were no error logs, because the file (by name) was present, but it didn't have any code to "do" anything. :)

Not sure what ftp program you are using as some work "better" than others.

Good luck with populating your store with all of your links, hopefully all will go well from here on out. :)

23 Dec 2014, 7:14 PM
#1774
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I have this module installed and my EZ pages are not playing nicely. The problem might have to do with my template but I don't know how to add it to EZ pages. when I create a new EZ page like: FAQs and I check the box to let the URI auto-generate I get this URI: /faqs. So if I then go to page: http://www.mysite.com/faqs manually the page shows just fine.

My template adds my EZ pages to the footer if I define the page as Chapter 1 and give it a TOC order. The link that is added to the footer looks like this: http://wwww.mysite.com/faqs?chapter=1

So it seems as if my template adds the additional ?chapter=1 to the URI but this EZ page does not show properly. Basically my footer adds additional information and EZ pages tries and strips this same information causing my EZ pages to not display.

I tried adding the ?chapter=1 to the end of the URI but it strips the ?. How can I add ?chapter=1 to the end of each URI so it will display properly?

23 Dec 2014, 9:57 PM
#1775
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

sports guy:

I have this module installed and my EZ pages are not playing nicely. The problem might have to do with my template but I don't know how to add it to EZ pages. when I create a new EZ page like: FAQs and I check the box to let the URI auto-generate I get this URI: /faqs. So if I then go to page: http://www.mysite.com/faqs manually the page shows just fine.

My template adds my EZ pages to the footer if I define the page as Chapter 1 and give it a TOC order. The link that is added to the footer looks like this: http://wwww.mysite.com/faqs?chapter=1

So it seems as if my template adds the additional ?chapter=1 to the URI but this EZ page does not show properly. Basically my footer adds additional information and EZ pages tries and strips this same information causing my EZ pages to not display.

I tried adding the ?chapter=1 to the end of the URI but it strips the ?. How can I add ?chapter=1 to the end of each URI so it will display properly?
Honestly it's not clear what you have done.. (a REAL link to your site might help) SO let me just say this.. If you search through this thread for EZ Pages, I think you will probably find the answers you seek.. Most issues with EZ pages tend to be related to improperly using EZ pages to created URIs for other site pages instead of adding those pages to the database (as the readme explains how to do).

Basically if you are creating EZ Pages to create URIs for pages like this "http://yoursite.com/index.php?main_page=SOME-ZEN-CART-PAGE", this is why it's not working and you need to INSTEAD add the URI to the database as per the instructions..

26 Dec 2014, 3:01 PM
#1776
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Can anyone tell me what advantages thier is using CEON over Ultimate SEO?

26 Dec 2014, 3:56 PM
#1777
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Ceon URI Mapping v4.x

jodean:

Can anyone tell me what advantages thier is using CEON over Ultimate SEO?

So like all things there are good and bad. Advantages that I considered, and perhaps USU can do this without issue was that CEON doesn't require any type of numbers or other product/category default formatting to be in the uri so that when we are out in public to advertise our cause, we just speak/type/write the uri and it is easy to remember for all. Another advantage is that the store owner/operator has full control over what the uri(s) are to go to a given page. One can enter almost any number of uri options to get to a single page, for example say the login page, well could have: /login, /log-in, /log_in, /LogMeIn, /loggin, /enter, /opensesame,/opensaysme, etc... Capitalization used for emphasis of where the words are divided. Another advantage that I considered before use was the quality/completeness of the instructions. They were written now well over two years ago, and well, basically gave all of the requirements necessary to use the software. They may in some cases be obscurely written, but perhaps the functionality desired wasn't considered so necessary at the time to consolidate the thoughts into a single paragraph or sentence. From a programming side, CEON URI Mapping somewhat forces the use of ZC standard programming and helps identify where such is not used. It rewrites the coded version of a uri, not the "typed in" version and it becomes that much easier to spot when someone has taken a shortcut to provide a uri as compared to using the zen_href_link method of building a uri.

That said, now some disadvantages. The original author has passed and further development of this plugin has dwindled. Support of the plugin has been primarily it's users, not those that took on it's "development". Even the author (current/former) of USU chimes in with support. Possibly the biggest drawback for established stores is the need to populate the database with uris of existing product as compared to USU autogenerating the uri on the fly. There are tools to do this population even posts here and there, but it is perhaps the one biggest drawback to using CEON as viewed by a store owner/operator. I'm not sure if it is a plus or minus as I am not highly familiar with the details of USU, but misspellings of a uri using CEON lead to whatever page-not-found is to be loaded as CEON does not use any type of "best guess" of the uri, it is whatever is populated in the database. The .htaccess rewrite as originally developed includes a specific coding for the admin directory and requires updating when new directories are created off of the store's path. Also, as part of the uri "maintenance", if the store's uris change as compared to the HTTP_SERVER path, then the rewritten uris need to be modified/duplicated in the database. (Ie, mystore[dot]com/store moves mystore[dot]com/shop needs a database mod, but mystore[dot]com/store to hisstore[dot]com/store does not need a database mod provided all information is/was copied one-for-one from the other database.)

Hopefully that helps in determining the route to go, whether it is CEON or some other rewriter. I think most of these plusses and minuses though are already in the instructions, so unfortunately again say, read the manual. :P

26 Dec 2014, 6:51 PM
#1778
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

mc12345678:

That said, now some disadvantages. The original author has passed and further development of this plugin has dwindled. Support of the plugin has been primarily it's users, not those that took on it's "development". Even the author (current/former) of USU chimes in with support.
Want to emphasize this part because it's a biggie.. The current maintainers of this module have made it clear that support for the free version of this module will not be forthcoming from them.. They have instead clearly chosen to focus their efforts on the commercial version of this module. So support (including bug fixes discovered since the original author's passing) for the free Ceon URI module has largely been left to the community -- including the current maintainer of the USU module.. I am not saying that this is a bad thing.. but this is something that shopowners need to consider when installing this module..

So one must consider required changes to this module needed to keep up with current versions of Zen Cart, PHP versions, mySQL versions, etc.. It's unclear if the current maintainers (given their stance that no support for the free version of this module will be forthcoming) will keep up with these kinds of changes/updates as needed. Will they ONLY update the commercial version leaving the free module orphaned??? Dunno.. I'm posing the question as something to consider.. Shop owners should be cautious installing something that may already be obsolete..

This current status of this module is IMHO why a similar module (Simple SEO) died.. Like the free Ceon URI module, SSU's suthor stopped all support for it's free modules, and in that case the community never picked up the baton.. Bug fixes and even support dried up for SSU..

30 Dec 2014, 1:10 AM
#1779
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I upgraded from 4.4.1 to 4.4.3 by transferring the files to our site ffpetsupplies.com.
Now the categories and product don't load. There is just a blank white page.
I can load all product from the top menu. If I turn URI Mapping off everything works but with out the static URLs.
I will leave the mapping on for a while so that someone might be willing to have a look at it.
If I upload my recently backed up file and over write what is there now will the site revert back to the 4.4.1 version?

30 Dec 2014, 1:46 AM
#1780
14all41 avatar

14all41

New Zenner

Join Date:
Aug 2011
Location:
Indiana
Posts:
66
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

14all41:

I upgraded from 4.4.1 to 4.4.3 by transferring the files to our site ffpetsupplies.com.
Now the categories and product don't load. There is just a blank white page.
I can load all product from the top menu. If I turn URI Mapping off everything works but with out the static URLs.
I will leave the mapping on for a while so that someone might be willing to have a look at it.
If I upload my recently backed up file and over write what is there now will the site revert back to the 4.4.1 version?

It was the .htaccess file some how I replaced it with one that did not have the dot before the h. I used the file from my back up. Back up your back ups. It's great insurance.