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

Ceon URI Mapping (SEO)

Locked

Views: 472,317

Results 1,981 to 2,000 of 2,913
This thread is locked. New replies are disabled.
10 Oct 2010, 1:29 AM
#1981
libertym avatar

libertym

New Zenner

Join Date:
Nov 2009
Posts:
9
Plugin Contributions:
0

Ceon URI Mapping (SEO)

Lightbox/slimbox is gone and still no good. Maybe this mod just isn't meant to be.

10 Oct 2010, 4:09 AM
#1982
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Ceon URI Mapping (SEO)

Libertym:

Lightbox/slimbox is gone and still no good. Maybe this mod just isn't meant to be.
This module works perfect with all add on as long if it isn't using the same files. IF it is using some of the same file you have to compare and merge the files. I use Jquery Lightbox with no problems. You are doing something wrong. Go back and look at your files to see if they need merging or something.

10 Oct 2010, 5:19 AM
#1983
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 (SEO)

Libertym:

Lightbox/slimbox is gone and still no good. Maybe this mod just isn't meant to be.

countrycharm:

This module works perfect with all add on as long if it isn't using the same files. IF it is using some of the same file you have to compare and merge the files. I use Jquery Lightbox with no problems. You are doing something wrong. Go back and look at your files to see if they need merging or something.nods in agreement and I am using Fual Slimbox on the two sites I deployed with this module with NO issues whatsoever.. I agree with CountryCharm.. There is something you have done incorrectly in the install..

10 Oct 2010, 12:23 PM
#1985
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,067
Plugin Contributions:
56

Re: Ceon URI Mapping (SEO)

I'm currently running 3.6.1 on ZC 1.3.9c on a bi-lingual site and have added entries to my ceon_uri_mappings table so that the main page (main_page = 'index', associated_db_id = null) should also be mapped. Unfortunately, links to the main page were always resulting in https://www.mysite.com/.

I modified /includes/functions/html_output.php (line 217) as follows to correct this:

      } else if ($page_id == FILENAME_DEFAULT &&
          strpos(strtolower($page_parameters), 'typefilter=') === false) {
          
          $uri_mapping_being_used = true;
          $static = true;
            
          $uri_mapping_sql = "
            SELECT
              uri
            FROM
              " . TABLE_CEON_URI_MAPPINGS . "
            WHERE
              main_page = '" . FILENAME_DEFAULT . "'
            AND
               associated_db_id is null 
            AND
              language_id = '" . (int) $mapping_language_id . "'
            AND
              current_uri = '1';";
          
          $uri_mapping_result = $db->Execute($uri_mapping_sql);
          
          if (!$uri_mapping_result->EOF) {           
            $page_id = $uri_mapping_result->fields['uri'];
          } else {
        // Link is to the index page.. no need to look up mapping in database, simply use the
        // default index page static URI
//        $uri_mapping_being_used = true;
        
            $page_id = DIR_WS_CATALOG;
          }
//        $static = true;
11 Oct 2010, 10:11 AM
#1986
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

lat9:

have added entries to my ceon_uri_mappings table so that the main page (main_page = 'index', associated_db_id = null) should also be mapped.

The main page should only ever be mapped to your store's address, using the code already built into the software. Any other usage I'm afraid is custom programming and I'm afraid therefore not covered by the free support we offer here.

All the best..

Conor
ceon

11 Oct 2010, 10:26 AM
#1987
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

Libertym:

Lightbox/slimbox is gone and still no good. Maybe this mod just isn't meant to be.

You don't seem to be all that great at installing the software.. :) Send me FTP and admin details for your site and I'll take a look and hopefully get you sorted once and for all.

All the best..

Conor
ceon

11 Oct 2010, 2:12 PM
#1988
azjs avatar

azjs

New Zenner

Join Date:
Oct 2010
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

i have installed the module and everything seems to work fine but when i update any category or any product through admin the information wipes out, why is that?? plz reply

11 Oct 2010, 4:41 PM
#1989
zzfozz avatar

zzfozz

New Zenner

Join Date:
Aug 2007
Posts:
24
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor,

I'm hoping you can advise on my CEON URI Mapping Module implementation. My store is installed in the root htdocs directory and I think I've followed your instructions closely but I must have done something wrong because I'm seeing some 404 responses;

The address http://mydomain.com/category-1/ is good with all requests responding '200 OK'.
But for http://mydomain.com/category-1/sub-category-a/ the head section include files respond with '404 Not Found' as they are being looked for here: http://mydomain.com/category-1/includes/... etc. ie. as if the parent category was the site root.

It's worth noting that I was implementing this module along with WOZ so I've disabled WOZ to make sure it's not that module causing the problem.

Versions: Zen Cart 1.3.9f & Ceon URI Mapping 3.8.0.

.htaccess looks like this:

AddType x-mapp-php5 .php

RewriteEngine On

# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors [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]

Many thanks in advance.

11 Oct 2010, 5:10 PM
#1990
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

azjs:

i have installed the module and everything seems to work fine but when i update any category or any product through admin the information wipes out, why is that?? plz reply

You haven't installed the module fully yet then. You haven't modified all the core files properly. Please carry out the stage of the installation regarding the modification of core files. When you successfully complete the modification of **all **files, you won't have the problem you describe above.

All the best..

Conor
ceon

11 Oct 2010, 5:14 PM
#1991
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

zzfozz:

But for http://mydomain.com/category-1/sub-category-a/ the head section include files respond with '404 Not Found' as they are being looked for here: http://mydomain.com/category-1/includes/... etc. ie. as if the parent category was the site root.

You've installed the module fine, it's all working.

What you need to fix is your template. As you have pointed out, it is using relative instead of absolute URIs. Obviously by using Ceon URI Mapping you are upgrading your site to using absolute URIs instead of relative URIs, so all links to files on that site (especially CSS files etc.) need to either be mnade absolute, or, what many people do is to set the "base href" tag in their header.

It's likely that your template has mistakenly removed the base href tag from the header file (I think it's html_header.php) or else uses relative links for its includes.

Hope that helps!

All the best..

Conor
ceon

11 Oct 2010, 5:35 PM
#1992
zzfozz avatar

zzfozz

New Zenner

Join Date:
Aug 2007
Posts:
24
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

You've installed the module fine, it's all working.

What you need to fix is your template. As you have pointed out, it is using relative instead of absolute URIs. Obviously by using Ceon URI Mapping you are upgrading your site to using absolute URIs instead of relative URIs, so all links to files on that site (especially CSS files etc.) need to either be mnade absolute, or, what many people do is to set the "base href" tag in their header.

It's likely that your template has mistakenly removed the base href tag from the header file (I think it's html_header.php) or else uses relative links for its includes.

Hope that helps!

All the best..

Conor
ceon
Hi Conor,

Many thanks for the quick response. I was already poking around in html_header.php when you replied. <base> is there but seems to be being ignored. However by trawling through and putting a leading forward-slash on the front of every href I seem to be able to fix it. Feels a bit wrong, but never mind, I can't forsee ever wanting to revert but it will need close attention to detail at upgrade time.

Donation on it's way :D

11 Oct 2010, 6:06 PM
#1993
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

zzfozz:

Many thanks for the quick response. I was already poking around in html_header.php when you replied. <base> is there but seems to be being ignored.

That's strange, that shouldn't be the case. I'm contacting you privately to ask for details to take a quick look and to thank you for your donation, it's greatly appreciated. It's a very rare pleasure to receive on Zen Cart and very good of you! :)

All the best..

Conor
ceon

12 Oct 2010, 7:22 AM
#1995
azjs avatar

azjs

New Zenner

Join Date:
Oct 2010
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

You haven't installed the module fully yet then. You haven't modified all the core files properly. Please carry out the stage of the installation regarding the modification of core files. When you successfully complete the modification of **all **files, you won't have the problem you describe above.

All the best..

Conor
ceon

i have again uploaded all the core files as it is but no use, i did not alter any file but uploaded as it is, can you suggest what would be the cause ??

12 Oct 2010, 7:35 AM
#1996
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

azjs:

i have again uploaded all the core files as it is but no use, i did not alter any file but uploaded as it is, can you suggest what would be the cause ??

Faulty FTP software would be my first guess.

Send me FTP and admin details for your site via this address and upload the files for you/check things quickly.

All the best..

Conor
ceon

12 Oct 2010, 8:26 AM
#1997
perfumbg avatar

perfumbg

Zen Follower

Join Date:
May 2010
Posts:
192
Plugin Contributions:
5

Re: Ceon URI Mapping (SEO)

Hi,
There was the following problem. My way to "add_review" is now in Bulgarian "http://www.domain.biz/za-maje/Paco-Rabanne-1-Million-100ml/добави-коментар", but the page can not be found and no one can put comments . Here is my site. Is this fixable.
Thanks again zenners.

12 Oct 2010, 8:40 AM
#1998
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

perfumbg:

Hi,
There was the following problem. My way to "add_review" is now in Bulgarian "http://www.domain.biz/za-maje/Paco-Rabanne-1-Million-100ml/добави-коментар", but the page can not be found and no one can put comments . Here is my site. Is this fixable.
Thanks again zenners.

You've mistakenly set the language defines in admin/includes/languages/bulgarian/extra_definitions/ceon_uri_mapping.php to use Bulgarian!

This was a silly mistake!

You should translate the following properly, using only vaild URI characters (no bulgarian characters!):

define('CEON_URI_MAPPING_URI_PART_PRODUCT_REVIEWS', 'reviews');
define('CEON_URI_MAPPING_URI_PART_PRODUCT_REVIEWS_INFO', 'review');
define('CEON_URI_MAPPING_URI_PART_PRODUCT_REVIEWS_WRITE', 'add-a-review');
define('CEON_URI_MAPPING_URI_PART_TELL_A_FRIEND', 'tell-a-friend');

You'll then have to go through your database by hand and fix all the records for the products reviews/add a review/tell a friend.

Sorry but this will take you some time... it's just unfortunate that you made the mistake you did when installing!

All the best..

Conor
ceon

12 Oct 2010, 2:00 PM
#1999
azjs avatar

azjs

New Zenner

Join Date:
Oct 2010
Posts:
5
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

i am using zencart version 1.3.9. f and the most advanced folder available in core files is 1.3.9 d
would this be making a difference ??

12 Oct 2010, 2:30 PM
#2000
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

azjs:

i am using zencart version 1.3.9. f and the most advanced folder available in core files is 1.3.9 d
would this be making a difference ??

Sorry I've been snowed under supporting people here and trying to get updates of various modules done so I haven't had time to upload floes to the Zen Cart downloads area recently.

Get 3.8.0 from here, it has 1.3.9f modified sample files in it.

I've decided to skip the release of 3.8.1 and go straight to 4.0.0. Working on it now but don't know how long it'll take.

All the best..

Conor
ceon