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

Ceon URI Mapping (SEO)

Locked

Views: 472,337

Results 1,861 to 1,880 of 2,913
This thread is locked. New replies are disabled.
19 Aug 2010, 6:31 PM
#1861
conor avatar

conor

Passed

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

Ceon URI Mapping (SEO)

Hi,

lonehorseend:

Afraid I can send you the information as this is a developement site of a client of a client's. Is there any way you can tell me what files I need to look at? I'm pretty good at reading PHP and as soon as I see what is going on, if I have any questions, I will email you with specific details.

Or I can send you a copy of the files that I modified. I just can't give you admin or FTP access.

Sorry I can't provide that kind of support for free.

The files you will want to take a look at are all the modified core files that come with the distribution and any equivalents on the store's site.

Good luck in getting this sorted.

All the best..

Conor
ceon

19 Aug 2010, 7:25 PM
#1862
lonehorseend avatar

lonehorseend

New Zenner

Join Date:
Jan 2008
Posts:
10
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

Sorry I can't provide that kind of support for free.

The files you will want to take a look at are all the modified core files that come with the distribution and any equivalents on the store's site.

Good luck in getting this sorted.

All the best..

Conor
ceon

That's understandable. You confirmed my suspcions though that it was the modified and not addtional ones.

20 Aug 2010, 10:42 AM
#1863
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping (SEO)

lonehorseend:

Hi:

Afraid I can send you the information as this is a developement site of a client of a client's. Is there any way you can tell me what files I need to look at? I'm pretty good at reading PHP and as soon as I see what is going on, if I have any questions, I will email you with specific details.

Or I can send you a copy of the files that I modified. I just can't give you admin or FTP access.

If you can not trust Conor to fix the problem you are having then you can not trust anyone. This mans honesty is well known to help people not to take advantage of them. People are lucky to get this great software for free anyway. I'm not bumping heads with you and just letting you know you can trust this man on your site to fix things and not having to worry about jeopardizing your security. If he offers to fix it for free better take advantage of it. We all need to send this man a donation for all the fine support he offers. Thanks Conor your the Man.

20 Aug 2010, 2:51 PM
#1864
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)

countrycharm:

If you can not trust Conor to fix the problem you are having then you can not trust anyone. This mans honesty is well known to help people not to take advantage of them. People are lucky to get this great software for free anyway. I'm not bumping heads with you and just letting you know you can trust this man on your site to fix things and not having to worry about jeopardizing your security. If he offers to fix it for free better take advantage of it. We all need to send this man a donation for all the fine support he offers. Thanks Conor your the Man.gives CountryCharm a personal standing ovation

Here here!!!!:clap::clap:

Love me some Conor!!

21 Aug 2010, 1:13 PM
#1865
choccybox avatar

choccybox

New Zenner

Join Date:
Aug 2010
Posts:
25
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

In the latest release 1.3.9f Zen Cart has overwritten the following files that your script modifies taking down the product URI section:

/admin/includes/modules/document_general/collect_info.php
/admin/includes/modules/document_product/collect_info.php
/admin/includes/modules/product/collect_info.php
/admin/includes/modules/product_free_shipping/collect_info.php
/admin/includes/modules/product_music/collect_info.php
/admin/includes/modules/product_music/delete_product_confirm.php

Are you planning on releasing an update ASAP for this or are we advised to compare and change ourselves?

Cheers! :smile:

21 Aug 2010, 2:29 PM
#1866
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Ceon URI Mapping (SEO)

choccybox:

In the latest release 1.3.9f Zen Cart has overwritten the following files that your script modifies taking down the product URI section:

/admin/includes/modules/document_general/collect_info.php
/admin/includes/modules/document_product/collect_info.php
/admin/includes/modules/product/collect_info.php
/admin/includes/modules/product_free_shipping/collect_info.php
/admin/includes/modules/product_music/collect_info.php
/admin/includes/modules/product_music/delete_product_confirm.php

Are you planning on releasing an update ASAP for this or are we advised to compare and change ourselves?

Cheers! :smile:
choccybox, the changes to those files in 1.3.9f were minor HTML edits. You can easily compare and change them yourself if you are encountering problems.

21 Aug 2010, 2:38 PM
#1867
choccybox avatar

choccybox

New Zenner

Join Date:
Aug 2010
Posts:
25
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

DrByte:

choccybox, the changes to those files in 1.3.9f were minor HTML edits. You can easily compare and change them yourself if you are encountering problems.

I will go ahead and compare them then if conor is not in the process of updating for this. It was actually 1.3.9e that overwrote the ceon files not 1.3.9f as I previously stated.

Cheers!

22 Aug 2010, 1:53 PM
#1868
countrycharm avatar

countrycharm

Totally Zenned

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

Re: Ceon URI Mapping (SEO)

choccybox:

I will go ahead and compare them then if conor is not in the process of updating for this. It was actually 1.3.9e that overwrote the ceon files not 1.3.9f as I previously stated.

Cheers!
Sometimes you will have to go back a page or two to read whats going on. Conor has already stated that an update is on it way.

conor:

Hi,

A new version of Ceon URI Mapping will be released shortly with sample modified core files for Zen Cart 1.3.9e and 1.3.9f.

In the meantime, anyone wanting to install Ceon URI Mapping should just use the sample modified core files for Zen Cart 1.3.9d, they are compatible "enough" that there's no problem using them.

You can then copy the files for 1.3.9f across when you upgrade to it.

All the best..

Conor
ceon

25 Aug 2010, 3:54 AM
#1869
miamishop1 avatar

miamishop1

New Zenner

Join Date:
Aug 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

First of all I want to thank you for making this addon available!

In my case, I'm using version v1.3.9e, since I'm new, I do not know whether I should upgrade to the latest version since I had already installed v.1.3.9e before the f was released... not sure if it is compatible with most addons yet...

I installed ultimate url addon and unistalled it to install this one. I also installed the image handler plugin and a few others.

HERE IS THE PROBLEM I'M HAVING AFTER I INSTALLED CEON URI MAPPING ADDON:

. Site displays properly, but when I click on a Category on the side, it shows a 404 error and the link does point to the written url. Since the new products page isn't affected yet by this addon, if I point the mouse to a product, I can see that products urls have been rewritten, but if I click on a product, it also shows a 404 error.

I had already added the htaccess page given on the addon. I tried removing it and seeing if it works, but still doesn't work.
I tried creating a new category and see if it works and nothing, I keep getting the 404 no found error.

What could I be missing? Your help will be very appreciated!
Thanks,

Loyd

25 Aug 2010, 8:54 AM
#1870
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

countrycharm:

Sometimes you will have to go back a page or two to read whats going on. Conor has already stated that an update is on it way.

Yes.. I think maybe this thread is getting too large and is putting people off going back a page or two.. I can't blame anyone for that, I think I'd probably be the same.

I think I'll start a new thread shortly when I release a new version of the software.. which should hopefully be sometime within the next 3-6 days.

Thanks for the nice comments from you and DivaVocals the other day, it was very good of you to say those positive things! :)

All the best...

Conor
ceon

25 Aug 2010, 8:59 AM
#1871
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Loyd,

miamishop1:

First of all I want to thank you for making this addon available!

Glad you like it!

miamishop1:

In my case, I'm using version v1.3.9e, since I'm new, I do not know whether I should upgrade to the latest version since I had already installed v.1.3.9e before the f was released... not sure if it is compatible with most addons yet...

Just upgrade, the changes are minor, mostly simple fixes.. the changes are so minor you can even use the modified core files for 1.3.9d from the Ceon URI Mapping distribution with no negative effects on your site. (Best to then use the 1.3.9f modified core files when the new version of Ceon URI Mapping is released soon).

miamishop1:

I keep getting the 404 no found error.

What could I be missing?

You haven't set up a working .htaccess file.

Check all the instructions for adding a rewrite rule to the .htaccess file, starting from scratch. Remove ALL Ultimate SEO URL rewrite rules before you add the appropriate Ceon URI Mapping rewrite rule.

If you are still having trouble after a few tries, send me FTP details for your site to this address and I'll take a look.

All the best...

Conor
ceon

25 Aug 2010, 6:57 PM
#1872
sdsprings avatar

sdsprings

New Zenner

Join Date:
Jul 2008
Posts:
18
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hello,

As usual - thank you in advance. This was touched upon a little but I wanted to ask about how you eliminated the functionality of the sorting on the product listing pages.

To me, this would only CAUSE duplicate content penalties, rather than eliminating them. I may be missing something but please explain if you could.

Also, could you point me in the right direction of reinstating this functionality.

Thanks,
Bryan

25 Aug 2010, 7:14 PM
#1873
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Bryan,

sdsprings:

As usual - thank you in advance. This was touched upon a little but I wanted to ask about how you eliminated the functionality of the sorting on the product listing pages.

"Eliminated the functionality"? No such thing has been done. I'm not sure what you are talking about!

sdsprings:

Also, could you point me in the right direction of reinstating this functionality.

Nothing's been "eliminated" so I'm afraid I'm at a loss as to what you want to reinstate.

As far as how the module prevents duplicate content issues with sorted category pages, it uses canonical URIs so the search engines know that a page is a variation of a single page, the "main" category page really only having a single URI.

All the best...

Conor
ceon

25 Aug 2010, 7:52 PM
#1874
sdsprings avatar

sdsprings

New Zenner

Join Date:
Jul 2008
Posts:
18
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

HAH. Figured I was missing something. Not sure what happened when I did my last upgrade but I can't sort! Hmmmmm... Sorry for the confusion!

25 Aug 2010, 8:40 PM
#1875
miamishop1 avatar

miamishop1

New Zenner

Join Date:
Aug 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

wow, I never thought I was going to get this quick response! Thanks Conor!

I will give it a try to the htaccess file. If I cannot make it, then I will send you ftp details for you to look at it. I'll reply you with the results one way or the other.

Thanks,

Loyd

25 Aug 2010, 8:56 PM
#1876
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

sdsprings:

HAH. Figured I was missing something. Not sure what happened when I did my last upgrade but I can't sort! Hmmmmm... Sorry for the confusion!

The time I saw this before it was caused by the store mistakenly using an old Ultimate SEO rewrite rule instead of the Ceon URI Mapping rule.

Check your htaccess file's rewrite rules to be sure nothing is clashing with the Ceon URI Mapping rewrite rule.

If that's not it then please send me some FTP and admin details for your site so I can check this out for you.

All the best...

Conor
ceon

25 Aug 2010, 8:56 PM
#1877
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Loyd,

miamishop1:

wow, I never thought I was going to get this quick response! Thanks Conor!

No problem! ;)

All the best..

Conor

25 Aug 2010, 11:27 PM
#1878
miamishop1 avatar

miamishop1

New Zenner

Join Date:
Aug 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor!
My appology because it was a very simple and somehow stupid mistake of my side! My error was that for htaccess page I did not had included the . in front of the htaccess! That's why it wasn't reconizing it!
I solved that problem already once I realized what happened.
BTW, I'm moving from oscommerce to zen-cart!

However, now I have a few other pages that are not being rewritten or at least that's what I believe... I have checked the installation doc files and while these talk about these pages, I guess I'm not figuring it out... If there is a thread that mention this already, please point me to it because I've been reading and reading and I cannot find it.

PAGES NOT BEING REWRITTEN:

  1. all pages that go inside of the information box that in my case includes: about us, shipping, returns, privacy, conditions, contact, sitemap, unsubscribe, discounts and coupons, newsletter, gift certificates. All of these, I have them inside of the information box and not part of the EZ-Pages.
    This is an example of how about_us shows: index.php?main_page=about_us. Please tell me if that's the right way to show instead of: domain.com/about_us?

  2. Other pages that show like about us example include: New products: index.php?main_page=products_new (not sure if that's the way that's the way it should look here) and featured products: index.php?main_page=featured_products

  3. I installed the addon Wordpress on Zencart (WOZ). Now, this addon on the admin configuration side stays the following:

NOTE:
please edit the following file.
/includes/init_includes/init_ceon_uri_mapping.php
Add the new lines shown, around approx line 115:

$uri_to_match = preg_replace('/[^a-zA-Z0-9_-./%]/', '', $request_uri);

// for WordPress On ZenCart BOF
$woz_uri_query = "
SELECT
um.language_id,
um.uri
FROM
" . TABLE_CEON_URI_MAPPINGS . " um
WHERE
um.main_page = '" . FILENAME_WORDPRESS . "'
ORDER BY
BIT_LENGTH(um.uri) DESC;";
$woz_uri_result = $db->Execute($woz_uri_query);
$woz_uri = '';
while (!$woz_uri_result->EOF) {
$woz_uri = $woz_uri_result->fields['uri'];
if(ereg("^$woz_uri", $uri_to_match)){
if(ereg("/comments/feed/", $uri_to_match)){
$_GET['feed'] = 'comments-rss2';
}else if(ereg("/feed/", $uri_to_match)){
$_GET['feed'] = 'rss2';
}
$uri_to_match = $woz_uri;
break;
}
$woz_uri_result->MoveNext();
}
// for WordPress On ZenCart EOF

if (substr($uri_to_match, -1) == '/') {

I followed the instructions and I get a black page. I guess I'm placing it on the wrong part of the page? I tried in different sides, but still get a black page with it. Please tell me, where in here should I place it?

if (!isset($_SESSION['language']) || isset($_GET['language'])) {
$lng = new language();

if (isset($_GET['language']) && zen_not_null($_GET['language'])) {
 $lng->set_language($_GET['language']);
 
 $language_changed = true;
 unset($_GET['language']);
} else {
 if (LANGUAGE_DEFAULT_SELECTOR == 'Browser') {
  $lng->get_browser_language();
 } else {
  $lng->set_language(DEFAULT_LANGUAGE);
 }
}

$_SESSION['language'] = (zen_not_null($lng->language['directory']) ?
 $lng->language['directory'] : 'english');

$_SESSION['languages_id'] = (zen_not_null($lng->language['id']) ?
 $lng->language['id'] : 1);

$_SESSION['languages_code'] = (zen_not_null($lng->language['code']) ?
 $lng->language['code'] : 'en');

}

if ($language_changed && $original_language_id == $_SESSION['languages_id']) {
$language_changed = false;
}

if (is_null($original_language_id)) {
$original_language_id = $_SESSION['languages_id'];
}

ADDITIONAL QUESTIONS:

  1. I have written the 404 rule in the htaccess as: ErrorDocument 404 index.php?main_page=page_not_found . It works, just want to ensure that's the proper way to write it.

DEALING WITH THE DUPLICATE CONTENT:
Google sees mydomain.com, https://www.mydomain.com and event mydomain.com/ and https://www.mydomain.com/ each as different pages as per what experts say.
Will the below rule be enough and still compatible with the CEON URI MAPPING addon?

RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www.domain.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
</IfModule>

My last question and also related to url rewrite. I found this info online:
Next, lets say you are changing to Zen Cart from some *other shopping cart platform and wish to retain your link juice, PageRank and such by redirecting the old urls to the new.

We can do this easily by sending all requests to the root, but it’s far more effective to use some logical redirecting to the proper area in the *new cart. For this a query string redirect is perfect.

RewriteEngine On
RewriteCond %{QUERY_STRING} category=76
RewriteRule (.*) http://www.domain.com/index.php?main_page=index&cPath=220$1? [R=301,L]

In this case, we identified a string (category=76) in all urls of our old site’s category and are redirecting them by matching the string to our new category. Remember to use your proper canonical.

How do we apply this rewrite rule once we have applied the CEON URI MAPPING (SEO) addon?

Conor, I will appreciate that you take a look at them and give me a brief answer.

Highly appreciated,

Loyd

26 Aug 2010, 2:33 AM
#1879
raptors avatar

raptors

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi,

I just installed URI Mapping (SEO) but on the Configuration page it says to Go to Modules > URI Mapping (SEO) Config in the Zen Cart admin. But I don't see URI Mapping (SEO) Config in the modules section.

26 Aug 2010, 2:48 AM
#1880
miamishop1 avatar

miamishop1

New Zenner

Join Date:
Aug 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Raptors hi!

Ensure you have installed all files from the folder files, modified_core_files and template_override_files... read once again the installation instructions on docs.


ANOTHER QUESTION FOR CONOR:

Conor, this is once again related to the .htaccess file.
I have products that have the same name and sometimes the same description, except that have different color and different style number. Is there a possibility to make the rewrite something like this: category-name/product-name-p-2 (where p stands for product and 2 stands for the product number based on category) or something similar to this string and simple?

Once again, very very appreciated!

Loyd