Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping (SEO)

Ceon URI Mapping (SEO)

Locked

Views: 472,098

Results 221 to 240 of 2,913
This thread is locked. New replies are disabled.
12 May 2009, 12:04
#221
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Ceon URI Mapping (SEO)

Hi Jeremy,

edizioninautilus:

They have the cpath reference included like this:

I'm afraid that the problem with the chapter query string parameters being added - isn't something the module has control over. It is Zen Cart which is adding this extra parameter. I'm afraid I don't know why that is occurring.. EZ-Pages don't use the chapter query string parameter on a fresh installation of Zen Cart so you must have changed something somewhere.

Regarding the upcoming products cPath problem, I'd never used that functionality before so didn't see how it generated links. I've updated the new version of the module to cope with this properly.

I'll release the new version when I get a chance to package it up.

All the best...

Conor
Ceon

12 May 2009, 12:22
#222
edizioninautilus avatar

edizioninautilus

New Zenner

Join Date:
May 2009
Location:
Italy
Posts:
19
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi Jeremy,

I'm afraid that the problem with the chapter query string parameters being added - isn't something the module has control over. It is Zen Cart which is adding this extra parameter. I'm afraid I don't know why that is occurring.. EZ-Pages don't use the chapter query string parameter on a fresh installation of Zen Cart so you must have changed something somewhere.

Regarding the upcoming products cPath problem, I'd never used that functionality before so didn't see how it generated links. I've updated the new version of the module to cope with this properly.

I'll release the new version when I get a chance to package it up.

All the best...

Conor
Ceon

Conor,

Thanks for looking into this. Hmmm... The only thing I've done - or at least that I think I've done - to the EZ-Pages is add a language module. Actually, I've moved over to an entirely Italian language site and admin eliminating all of the English. Maybe there was something left in the database over on the English side that is causing this "Chapter flare up"? I'll have a look...

Thanks for fixing the upcoming products bit in the new code. I'll be on the lookout for the new version...

Jeremy

12 May 2009, 15:12
#223
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: Ceon URI Mapping (SEO)

conor:

That's easy enough. You'll have to insert a new record in the database:
Ceon

Dang! Works perfectly!

Thought I'd tried that way but I guess not.

This mod is so cool!

Thank you !!!

14 May 2009, 12:34
#224
lucianman avatar

lucianman

Zen Follower

Join Date:
Sep 2004
Posts:
245
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

i am getting this dreadful error when trying to access admin,i have reinstall 6 times using different ftp programmes. "Warning: require_once(/home///admin/includes/classes/class.String.php) [function.require-once]: failed to open stream: No such file or directory in /home///**/includes/functions/extra_functions/ceon_uri_mapping.php on line 21"

14 May 2009, 12:49
#225
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

That "dreadful error" simply means that you haven't uploaded all the files properly.

Please try again. If you still get the error, manually upload the files one by one and check the size of the uploaded files against the size of the original files from the archive.

You are at the very least missing this file:

admin/includes/classes/class.String.php

All the best...

Conor
Ceon

14 May 2009, 20:09
#226
mickmo68 avatar

mickmo68

Zen Follower

Join Date:
Apr 2008
Location:
Boston
Posts:
129
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hello again Conor,
I am having a problem with a mod I have installed to upload products to Google Base, Google Base Feeder. The upload is being denied since installing the URI mapping. I am wondering if it could be something with the htaccess.
This is the error message as the data is attempting upload:

Google Base Feeder v.1.7.0 09.019.2008 17:38:59 started 2009/05/14 13:50:31
Feed file - /home/myusername/public_html/feed/domain_products.xml
Processing: Feed - No, Upload - Yes
Upload started...
Connection failed: uploads.google.com

Upload failed...

My htaccess rules:

RewriteEngine On

Don't rewrite any URIs ending with a file extension (ending with .[xxxx])

RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/myadminname.* [NC]

Don't rewrite editors directory

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

Don't rewrite payment pages/callback handlers

(Won't be rewritten by rules above but included here in case rewriting of URIs ending in .php is added)

RewriteCond %{REQUEST_URI} !^/ipn_main_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/iridium_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/localities_remote_loader.php.* [NC]
RewriteCond %{REQUEST_URI} !^/nochex_apc_handler.php.* [NC]
RewriteCond %{REQUEST_URI} !^/protx_direct_3d_secure_iframe.php.* [NC]
RewriteCond %{REQUEST_URI} !^/realex_remote_3d_secure_iframe.php.* [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]

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

RewriteRule (.*) index.php?%{QUERY_STRING} [L]

RewriteCond %{HTTP_HOST} !^mysite.com$ [NC]
RewriteRule ^(.*)$ http://mysite.com/$1 [L,R=301]

Any input wouldbe greatly appreciated.

15 May 2009, 09:06
#227
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

Mickmo68:

Any input would be greatly appreciated.

I'm afraid I don't have time to look into any third party mods at the minute.

Your rewrite rule shouldn't block anything will a file extension (like .xml). It would block anything else in the /feed directory though so, as a guess, you may want to try adding the following condition to the rewrite rule:

# Don't rewrite feed directory
RewriteCond %{REQUEST_URI} !/feed.* [NC]

Hope that helps/works. If not, please look through the module and see if there are any other URIs it needs. Please let us know via this forum what worked (if anything).

I'm leaving for the weekend now, I won't be able to reply to any posts until Monday.

All the best...

Conor
Ceon

15 May 2009, 12:20
#228
mickmo68 avatar

mickmo68

Zen Follower

Join Date:
Apr 2008
Location:
Boston
Posts:
129
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Thank you Conor,
Sorry, I didn't mean to imply that I was asking you to look at the other mod, I just thought you may see something in the rewrite rules that would do this. As you have said before, you have unexpectedly become an expert at htaccess.
I did something I should have tried before posting, I removed all of the rewrite rules and it still wouldn't upload. So, it has nothing to do with the htaccess. I will trouble shoot this and post here if there is any tie to the Ceon URI mapping, which I now think has nothing to do with the problem.
Once again, thank you for your help.

18 May 2009, 13:13
#229
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

Mickmo68:

Sorry, I didn't mean to imply that I was asking you to look at the other mod

Don't worry, I didn't think you were asking anything much, I was just saying time is short at the minute! :)

I'm sorry to hear that you are still having trouble but glad to confirm that it's not a problem with the URI mapping module.

I wish you luck in finding and fixing your problem!

All the best...

Conor
Ceon

20 May 2009, 10:20
#230
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor,

(Zen 1.3.8a / ceon_uri_mapping_3.2.2_for_zc)

I've installed your mod and everything seems to work fine - no error messages and all mapping looks successful. Just a couple of newbie questions to make sure:

I am working on a new (basic) zencart site to replace an old (basic) html site and use EZpages, some of which have Internal link URL's to pages created in Define Pages - Home, Site Map, T&C, Privacy ...(hope this makes sense)

I have successfully added url mapping to the dbase for "Specifying a Static URI for any other Zen Cart page" for these Define Pages, however the link showing in the status bar is still showing the zen id whereas the navigation bar correctly shows the 'simplified' mapped id. As I say all other links are fine it's just those for 'define pages' that exhibit this behaviour. Is this normal? (I've tried changing the Internal Link url in the EZpage to the mapped id but this results in a 404)

Related point - I thought I would regenerate my Sitemap again to see the effect this mod had on it. As the above suggests the url's in sitemapezpages.xml still show the zen links for those Define Pages. I'm concerned that this might distort Google's perception of my site.

My site is here if it's of any use

Thankyou for this mod and all the support you give. You are on my list for Coffee and Doughnuts.

Cheers

Simon

20 May 2009, 11:15
#231
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi Simon,

Glad you like the software!

I looked at your site but I'm just not following you. Could you give me some specific examples?

All the best...

Conor
Ceon

20 May 2009, 11:28
#232
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Conor

Thanks for the quick reply. I'll make myself clearer this time.

Example: on my home page if you hover over the EZpage links along the top you should see that 'home' 'contact' & 'testimonials' all produce the zen url in the status bar at the botton of the browser page. Whereas, 'about us', 'products' & 'links' all give the new mapped url in the status bar. The former are all pages created in Define Pages Editor and are linked internally from an EZpage.

This is not really a big deal just aesthetic, however the sitemapezpages.xml, here, contains a combination of url types (zen and mapped) which doesn't seem quite right.

Perhaps I'm doing a mountain/molehill thing but wanted to check.

Thanks

Simon

20 May 2009, 11:59
#233
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi Simon,

You've definitely not entered the mapping properly. Please check what you've entered in the database using PHPMyAdmin and you'll find that you probably missed part of the instructions, therefore making these mistakes.

The first way (way 1) is the method you should use.

You should be putting "Contact-Us" (or whatever) in the uri field and contact_us in the main_page field. (Also follow/verify the other instructions for the other fields - e.g. check the language_id etc.).

I hope you don't mind but there's no point me posting the instructions here again.

If you're still having problems then you may need someone else to check your input.

Hope that helps!

All the best...

Conor
Ceon

20 May 2009, 13:40
#234
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Sorted!!!!!!

Ok, thanks for this Conor, looked at the dbase carefully and the problem was not to do with the dbase entry, as such, but more to do with the EZpage and subsequent internal link to the Define Pages page.

So, for any like minded people here's how:

  1. When mapping Ezpages ('Specifying the current URI Mapping for an EZ-Page') only map those with content - not those with an internal link url to a Define Pages page.

  2. Add mapping in the dbase ('Specifying a Static URI for any other Zen Cart page - option 1') for the Define Pages in question.

  3. Change the internal link url within the relevant EZpage to match the new mapped path of that Define Page (does not need a slash prefix).

My mistake was mapping the EZpage and it's linked Define Page and not then changing the internal url.

A combination of mishaps, trouble is I don't know what I'm meant to be doing half the time!

Cheers

21 May 2009, 05:40
#235
mrchristoh avatar

mrchristoh

New Zenner

Join Date:
May 2009
Location:
from parts unknown
Posts:
74
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor:

I have followed the instructions......carefully but still does play nice;

first of all i checked the tickbox to enable your function...seems to work.

then when i click on the link
http://pets.mychikyuya.com/dogs-essential-reading

for the category it returns:
404 - PAGE NOT FOUND

so i removed the category and inserted again using just the textbox
/dogs-essential-reading

  • i made sure in the config section it was 'turn on'
    im sure i have just overlooked something but i am stuck ...... :frusty:

this seems to be not as easy as claimed.....but i can admit to any mistake i made.

thanks

21 May 2009, 08:48
#236
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi Simon,

simon1066:

So, for any like minded people here's how:

  1. When mapping Ezpages ('Specifying the current URI Mapping for an EZ-Page') only map those with content - not those with an internal link url to a Define Pages page.

  2. Add mapping in the dbase ('Specifying a Static URI for any other Zen Cart page - option 1') for the Define Pages in question.

  3. Change the internal link url within the relevant EZpage to match the new mapped path of that Define Page (does not need a slash prefix).

Ahh.. I see what you were doing now. I didn't know about the internal link functionality of EZ-Pages.. can't quite see the need for it either now that the URI Mapping module is available (just pick your own URIs and hard-code them! ;) ).

Thanks for the update.

All the best...

Conor
Ceon

21 May 2009, 08:51
#237
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

Mrchristoh:

for the category it returns:
404 - PAGE NOT FOUND

this seems to be not as easy as claimed.....but i can admit to any mistake i made.

It is easy! You definitely have made a mistake.

I think you haven't added a rewrite rule for your site.

Please do add one. If you have added one, please verify that it's being loaded. Some servers only allow rewrite rules in a virtualhost directive.

If you're not sure what that means please ask your host to do it for you, giving them the documentation for the module.

That should be you then!

All the best...

Conor

21 May 2009, 10:03
#238
mrchristoh avatar

mrchristoh

New Zenner

Join Date:
May 2009
Location:
from parts unknown
Posts:
74
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

OK....Bingo !!!!

Connor if your ever in Sydney.....please let me buy you a beer :)

the problem was.......
[1]. I am using a 'sub-domain'
which led to this error.

explanation for others........
if your using a 'sub-domain' such as http://yourshop.yoursite.com you need to place the amended .htaccess file in the parent directory (yoursite.com)....not the yourshop.yoursite.com.

(that was my mistake.........yes i admit to it LOL)

Sometimes you need to step away from the screen and get some fresh eyes involved as 3 seconds after reading the documentation again and amending the .htaccess ....shazaam it worked.

still an issue with it dropping my scripts on one section.....but i will look at it after some sleep.

This is by far one of the greatest modules for zencart and well worth a mention in the comments of your code.

Thanks for your time to read my mistake....

21 May 2009, 11:19
#239
mrchristoh avatar

mrchristoh

New Zenner

Join Date:
May 2009
Location:
from parts unknown
Posts:
74
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

hi again,

yep i just lost the enhancements i made to the front-end.

any ideas?

the site:
http://pets.mychikyuya.com

well i guess its time to abandon all hope with this.......thanks anyway

21 May 2009, 13:00
#240
ben_harry avatar

ben_harry

Zen Follower

Join Date:
Mar 2007
Location:
Cornwall - uk
Posts:
462
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hello conor hope all is well. Since the last time you helped me out by installing the offline payment module for me ive figured quite a lot out about coding and how zc works. Anyway i have recently installed this mod to my new site, and i really really like it, ive achieved what i have always wanted the sites url to look like, however theres always a downside to my happiness. I have just realised that when i go to my current site that sits within /shop it throws a 404 error, and also if i try going to my blog at /blog it also throws a 404. I can still access the current site through google findings but i cant even access the admin on it.

Do you think this is down to a missing rewrite rule somewhere, or is it another error, and is there anything you could help me with.

Thanks
Ben