-
Chemo's Ultimate URL's
Monkeymadness posted this before the change;
hello stokerstees and aspudden (this may help you too)
first of all have you used the original ultimate seo url contribution from the first page of this thread?....if yes then good as your using 1.2....
if not then go get the original from here
http://www.dream-scape.com/pub/zenca...mate_SEO_URLs/
and replace dr bytes with that...the one in the zencart download area is dr bytes for v1.3
you public_html folder isnt part of zencart...just in case you thought it is....i dont know how to explain what the public_html folder is but its the folder you put your zencart folders in ...or the folder above the folder you put your zen folders in which people often name shop or catalogue
.htaccess file.....you do not change any existing htaccess file for this contribution...you create it in the same place you see you admin, classes, functions, includes, images, modules pub etc folders.....the instructions for what to put in this file are on the dream-scape site linked above.....click on installation on that page and follow the instructions...the htaccess is at the bottom
remember to change the the rewritebase line in the htaccess
it should be just
/
if your zen site is youdomain.com
it should be /shop/
if you zen site is yourdomain.com/shop
do not put your whole domain name there just a /
and remember if you use paypal to change the seo.url.php file to add the paypal fix somewhere in this thread
I hope that helps and makes things clearer, as this does definately work with 1.2.6...I think you've just got a little confused along the way
good luck
Ok, I think I follow but could use a hand to steady myself here. ;) btw-I do have the 1.201 version(?) from dreamscapes site. It has a seperate folder for 1.301 zen cart. I didn't touch any of that stuff.
I put the "new" .htaccess file into all of the folders you mention above? And I do not change ANY of the .htaccess files I find along the way? I understand that I put in the file as shown on the installation page but I guess I just don't know where to put it. I assumed I should change the .htaccess files that are already there......
I suppose every cart is different so a list of places to insert this file would not really be possible, eh? :)
Thanks for the help as your description has helped the most I think. I may wait a bit before making any changes to see if there is another response to this. I don't make any changes that I can't reverse easily but I am worried about blowing up my cart.
Thanks,
Todd
-
Re: Chemo's Ultimate URL's
nonoononoono
not a htaccess file in each folder, go back put the htaccess files back that were already there
put the htaccess file in th folder that contains all those folders
so mine went in public_html
as my admin, includes, images, pub etc folders are all in public_html... my zen shop is in mydomain.com...thats how i tried to explain to you what the public_html folder is...put the htaccess folders where you SEE those folders not IN those folders! but that obviously didnt go down well :) perhaps I'm not too good at explaining but I tried.. if at first you dont suceed try try again.......
you only add ONE htaccess file and that goes in your root folder
your root folder is the folder you SEE the admin folder in ....dont go in the admin folder or anywhere else...stay where you are... if you can see the admin folder and just add the one htaccess file in there...
if my zen shop was in mydomain.com/shop
then I would put the htaccess file in my folder called shop which would be my root folder
quote: I do have the 1.201 version(?) from dreamscapes site. It has a seperate folder for 1.301 zen cart. I didn't touch any of that stuff.
dremscapes version is called 2.1 on his site...I just downloaded to check and there are no folder for 1.3 files.....soo now I'm confused too
download it from dreamscapes site only and use all the files
http://www.dream-scape.com/pub/zenca...RLs/index.html
and follow the instructions on the installation page
good luck todd :)
-
Re: Chemo's Ultimate URL's
Hello all,
I was going to post this on the original thread about Chemo's Ultimate SEO URLs, but it appears cannot post there any longer. (http://www.zen-cart.com/forum/showth...=ultimate+urls)
Anyways though, my problem is this. After downloading Version 2.100 released and following the instructions at http://www.dream-scape.com/pub/zenca...s/install.html, i keep getting the following when opening my site: 1054 Unknown column 'c.parent_id' in 'on clause'. It does this when i upload the updated application_top.php and the html_ouput.php files. If i change these back to the original files, my site reappears with the dynamic links. If anyone can help me with this issue, it would be greatly apprectiated. If you need more info, will be glad to post it.
oh yeah, zencart version is 1.3.0
Thanks,
Chris
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by monkeymadness
nonoononoono
not a htaccess file in each folder, go back put the htaccess files back that were already there
put the htaccess file in th folder that contains all those folders
so mine went in public_html
as my admin, includes, images, pub etc folders are all in public_html... my zen shop is in mydomain.com...thats how i tried to explain to you what the public_html folder is...put the htaccess folders where you SEE those folders not IN those folders! but that obviously didnt go down well :) perhaps I'm not too good at explaining but I tried.. if at first you dont suceed try try again.......
you only add ONE htaccess file and that goes in your root folder
your root folder is the folder you SEE the admin folder in ....dont go in the admin folder or anywhere else...stay where you are... if you can see the admin folder and just add the one htaccess file in there...
if my zen shop was in mydomain.com/shop
then I would put the htaccess file in my folder called shop which would be my root folder
quote: I do have the 1.201 version(?) from dreamscapes site. It has a seperate folder for 1.301 zen cart. I didn't touch any of that stuff.
dremscapes version is called 2.1 on his site...I just downloaded to check and there are no folder for 1.3 files.....soo now I'm confused too
download it from dreamscapes site only and use all the files
http://www.dream-scape.com/pub/zenca...RLs/index.html
and follow the instructions on the installation page
good luck todd :)
Ok, now I follow you. I thought for sure I saw a folder once called public_html but apparently not. When I open it up in aplus' cp the file is called /home/ with all the stuff you mention listed in it. It seems I put the .htaccess there once with still no go. I'll try again.
btw-The verison I have is 2.101. Guess I was dyslexic the other night.
Thanks for all the help. It is greatly appreciated by this novice.
Hopefully I won't have to go back and uninstall it but I will do what i have to do as I really want this contrib to work. I need all the help I can get with SEO with the biz I am in.
Thanks,
Todd
-
Re: Chemo's Ultimate URL's
BOOYAH!
It works! Thanks so much monkeymadness for helping this noob out. :)
Now to test the paypal thingy.....
-
Re: Chemo's Ultimate URL's
well, I just do not get this contrib to work!
It's still give me "The page cannot be found"
but I have locate the file which seems to cause the problem.
the file is html_output.php and you can find it in ZenRoot/includes/functions/
when I switch it back to org file, then will me site work but without
Ultimate URL's.
I have done fresh install off Zen-Cart 1.3.0.1
and I still useing
Zen-Cart 1.3.0.1
Ultimate_SEO_URLs_v2.101
Win2003 server - IIS/6.0
ImageMagick-6.2.0-1
PHP Version: 4.3.10
MySQL 4.1.10
Asp
-
Re: Chemo's Ultimate URL's
Does 2.101 work with ZC 1.3.x?
Hard to tell from this thread.
Thanks
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by Sermonzone
Does 2.101 work with ZC 1.3.x?
Hard to tell from this thread.
Thanks
2.101 is actually the version that you want to install. It has been modify to comply with Zen Cart 1.3.0.1. There is one modification you have to make in one of the files to get around SSL issue. Otherwise it works like a charm.
-
Re: Chemo's Ultimate URL's
Here is the fix I referenced in /includes/classes/ line 168 of seo.url.php changes from:
Code:
if ($connection == 'SSL' && ENABLE_SSL == 'true) {
to
Code:
if ($connection == 'SSL' && ENABLE_SSL == 'true') {
-
Re: Chemo's Ultimate URL's
Help please...I have installed this mod for the past 4 months and also upgraded it to 1.3.0.1 Everything is working fine and I have 2,000+ indexed pages with the SEO url.
Because support for this mod has been inconsistent and the fact that it doesn't keep up well with upgrades to Zen Cart, I will like to uninstall it from our 1.3.0.1 live store. Currrently I have it disabled.
What I need help with is: how do I get all the indexed pages to redirect to ZC cart original links and send a permanent redirect. I have pasted below my current .htaccess file if that helps you to help me :)
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# OLD SEO URLS
# Give a 301 to real URL (which Ultimate SEO will give a 301 to new SEO URL)
# You can remove the following if you were not using the breakmyzencart.com SEFU prior to installing this one
# BEGIN SAFE REMOVE
RewriteRule ^(.*)pages-main/category-(.*)/page-([0-9]+)/sort-(.*)/(.*).html index\.php?main_page=index&cPath=$2&page=$3&sort=$4&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-main/category-(.*)/(.*).html index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-productinfo/category-(.*)/product-(.*)/(.*).html index\.php?main_page=product_info&cPath=$2&products_id=$3&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-productinfo/product-(.*)/(.*).html index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-product_reviews_info/product-(.*)/reviews_id-([0-9]+)/(.*).html index\.php?main_page=product_reviews_info&products_id=$2&reviews_id=$3&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-info_manager/pages_id-([0-9]+)/(.*).html index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-product_music_info/product-(.*)/(.*).html index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-(.*)/index.html index\.php?main_page=$2&%{QUERY_STRING} [L,R=301]
# END SAFE REMOVE
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pmi-([0-9]+).html$ index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [L]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
Thank you very much for your anticipated help!
-
Re: Chemo's Ultimate URL's
Does this mean I am SOL with my indexed pages?
-
Re: Chemo's Ultimate URL's
I haven't been successful in finding a working download link for Dr. Byte's 2.101 version. I would appreciate it if someone would please either email it to me or point me to a link.
Thanks,
Alan
-
Re: Chemo's Ultimate URL's
HELP
login.html?action=process
and
HTTP 404 - 未找到文件
WHAT's WRONG WITH THIS?
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by BlessIsaacola
Help please...I have installed this mod for the past 4 months and also upgraded it to 1.3.0.1 Everything is working fine and I have 2,000+ indexed pages with the SEO url.
Because support for this mod has been inconsistent and the fact that it doesn't keep up well with upgrades to Zen Cart, I will like to uninstall it from our 1.3.0.1 live store. Currrently I have it disabled.
What I need help with is: how do I get all the indexed pages to redirect to ZC cart original links and send a permanent redirect. I have pasted below my current .htaccess file if that helps you to help me :)
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# OLD SEO URLS
# Give a 301 to real URL (which Ultimate SEO will give a 301 to new SEO URL)
# You can remove the following if you were not using the breakmyzencart.com SEFU prior to installing this one
# BEGIN SAFE REMOVE
RewriteRule ^(.*)pages-main/category-(.*)/page-([0-9]+)/sort-(.*)/(.*).html index\.php?main_page=index&cPath=$2&page=$3&sort=$4&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-main/category-(.*)/(.*).html index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-productinfo/category-(.*)/product-(.*)/(.*).html index\.php?main_page=product_info&cPath=$2&products_id=$3&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-productinfo/product-(.*)/(.*).html index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-product_reviews_info/product-(.*)/reviews_id-([0-9]+)/(.*).html index\.php?main_page=product_reviews_info&products_id=$2&reviews_id=$3&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-info_manager/pages_id-([0-9]+)/(.*).html index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-product_music_info/product-(.*)/(.*).html index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)pages-(.*)/index.html index\.php?main_page=$2&%{QUERY_STRING} [L,R=301]
# END SAFE REMOVE
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pmi-([0-9]+).html$ index\.php?main_page=product_music_info&products_id=$2&%{QUERY_STRING} [L]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
Thank you very much for your anticipated help!
For anyone else that need to redirect their old SEO url back to Zen Cart original url
Quote:
replace all the [L] with [R=301,L]
-
Re: Chemo's Ultimate URL's
I'm also looking for the Dr. Byte version 2.101. Is it available right now? Sorry, not sure what is going on with the old download site, doesn't exist anymore?
Cheers.
-
Re: Chemo's Ultimate URL's
-
Re: Chemo's Ultimate URL's
-
Re: Chemo's Ultimate URL's
Excelent, works great. Except, what modifications do I need to get it to work on my Book Product Type pages? I'm using Moku's product-type-book contrib.
Thanks.
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by smackjams
Excelent, works great. Except, what modifications do I need to get it to work on my Book Product Type pages? I'm using Moku's product-type-book contrib.
Thanks.
You will need to modify your .htaccess and seo.url.php file. If you read up on the old thread the instruction and example for the music product type is there which you can apply to the book type.
-
Re: Chemo's Ultimate URL's
When we have this enabled everything works great until the customer gets to the checkout and tries to use a credit card. After entering the info the next page gives a red error bar with no error but the order does not go through.
When we turn it of in admin everything works fine.
any ideas
we are running
ZEN 1.3.0.1
Ultimate_SEO_URLs_v2.101
Thanks
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by BlessIsaacola
Because support for this mod has been inconsistent
Inconsistent support? I have not once turned down support requests from anyone. There is a reason that I offer support as a service to all of my contributions.
The thread in the forums here is for community support, which I will address some questions when and if I can, but mainly it exists for users to support other users. If you truly were in so dire need of assistance, they you could have just sought my support, rather than relying on the community support.
-
Re: Chemo's Ultimate URL's
my install is ok.
but i got a errors when i visited the first page.
1054 Unknown column 'c.parent_id' in 'on clause'
in:
[SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName FROM zh_categories c, zh_categories_description cd LEFT JOIN zh_categories_description cd2 ON c.parent_id=cd2.categories_id AND cd2.language_id='2' WHERE c.categories_id=cd.categories_id AND cd.language_id='2']
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by macson
my install is ok.
but i got a errors when i visited the first page.
1054 Unknown column 'c.parent_id' in 'on clause'
in:
[SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName FROM zh_categories c, zh_categories_description cd LEFT JOIN zh_categories_description cd2 ON c.parent_id=cd2.categories_id AND cd2.language_id='2' WHERE c.categories_id=cd.categories_id AND cd.language_id='2']
and i find the code from includes\classes\seo.url.php
Quote:
function generate_categories_cache(){
$this->is_cached($this->cache_file . 'categories', $is_cached, $is_expired);
if ( !$is_cached || $is_expired ) { // it's not cached so create it
switch(true){
case ($this->attributes['SEO_ADD_CAT_PARENT'] == 'true'):
$sql = "SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName
FROM ".TABLE_CATEGORIES." c,
".TABLE_CATEGORIES_DESCRIPTION." cd
LEFT JOIN ".TABLE_CATEGORIES_DESCRIPTION." cd2
ON c.parent_id=cd2.categories_id AND cd2.language_id='".(int)$this->languages_id."'
WHERE c.categories_id=cd.categories_id
AND cd.language_id='".(int)$this->languages_id."'";
break;
default:
$sql = "SELECT categories_id as id, categories_name as cName
FROM ".TABLE_CATEGORIES_DESCRIPTION."
WHERE language_id='".(int)$this->languages_id."'";
break;
} # end switch
my environment is
apache 2.2 /php 4.4.2/mysql 5.0.20
ZEN 1.3.0.1
Ultimate_SEO_URLs_v2.101
-
Re: Chemo's Ultimate URL's
i have resolve the problem.
just modify the table sort for left join.
SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName
FROM ".TABLE_CATEGORIES." c,
".TABLE_CATEGORIES_DESCRIPTION." cd
LEFT JOIN ".TABLE_CATEGORIES_DESCRIPTION." cd2
ON c.parent_id=cd2.categories_id AND cd2.language_id='".(int)$this->languages_id."'
WHERE c.categories_id=cd.categories_id
AND cd.language_id='".(int)$this->languages_id."'";
change to --->
"SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName
FROM
".TABLE_CATEGORIES_DESCRIPTION." cd,
".TABLE_CATEGORIES." c
LEFT JOIN ".TABLE_CATEGORIES_DESCRIPTION." cd2
ON c.parent_id=cd2.categories_id AND cd2.language_id='".(int)$this->languages_id."'
WHERE c.categories_id=cd.categories_id
AND cd.language_id='".(int)$this->languages_id."'";
-
Re: Chemo's Ultimate URL's
Im getting an error from my application_top.php file telling me to go to line 363.. When I go this is whats on thatline.. What did i do wrong? Im guessing this is preventing it from installing because I dont see the SEO URLs option in my configuration.. Thanks!
<p>// include the extra language translations<br>
-
Re: Chemo's Ultimate URL's
Macson,
Thanks for posting your fix for that issue......I was having the same problem, but couldn't figure out where it was coming from. Good work and thanks again :D
-
Re: Chemo's Ultimate URL's
When we have this enabled everything works great until the customer gets to the checkout or Add to Cart or login. After entering the info the next page gives a error with 404 not page found.
-
Re: Chemo's Ultimate URL's
It's great to see this MOD around, but I noticed on the Zen Cart Wiki it mentions that this MOD doesn't include a "Paypal Fix":
http://www.zen-cart.com/wiki/index.p...n:Ultimate_SEO
Any suggestions on what this fix is, and where to find it, would be very much appreciated.
-
Re: Chemo's Ultimate URL's
Im setup Ultimate_SEO_URLs_v2.101 for 1.3
But something wrong...
Fatal error: Call to undefined function gzdeflate() in /....
any idea ?
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by maxus
Im setup Ultimate_SEO_URLs_v2.101 for 1.3
But something wrong...
Fatal error: Call to undefined function gzdeflate() in /....
any idea ?
after turn on on gzdeflate() - no erro
all OK now
-
Re: Chemo's Ultimate URL's
hello
Quote:
It's great to see this MOD around, but I noticed on the Zen Cart Wiki it mentions that this MOD doesn't include a "Paypal Fix":
http://www.zen-cart.com/wiki/index.p...n:Ultimate_SEO
Any suggestions on what this fix is, and where to find it, would be very much appreciated.
heres the paypal fix
http://www.zen-cart.com/forum/showth...pal#post152157
hth :thumbsup:
-
Re: Chemo's Ultimate URL's
abou character conversion in this mode
I have this URL
....cz/epson-v%C3%BDhodn%C3%A9-balen%C3%AD-c-6_7_11.html
czech language have additionl symbols up letters...
It is not looked good but what berret - use character converter for make
/epson-vyhodne-baleni-c-6_7_11.html
or let it be (meibe czech search engines can read this better) ?
and I dont know how to use conversion tools...what chart converter must be used ?
UTF ? or another ?
Im try to make conversion but %C3%BD=>y dosnt work
-
Re: Chemo's Ultimate URL's
-
Re: Chemo's Ultimate URL's
Wow.. thank you
(dik, ted tam budu cist vice clanku )
-
Re: Chemo's Ultimate URL's
ok no fair
I can read English, Japanese, am pretty good at German and have crappy french but czech?:cry:
Would one of you gentlemen be kind enough to translate that post for me please and post it in here?
http://www.zencart.cz/modules/newbb/...#forumpost2446
-
Re: Chemo's Ultimate URL's
Sory Reesy 8)
Im try translate this post
for convert non-english letter Dedek offer this solution
Edit file seo.url.php
After line
Code:
this->languages_id = (int)$languages_id;
add this code (I mean you can change this arrea like you need . this is maked for czech and slovak and another languages)
Code:
$this->trans = array('ä'=>'ae','ë'=>'ie','ö'=>'oe','ü'=>'ue','Ä'=>'AE','Ë'=>'IE','Ö'=>'OE','Ü'=>'UE',
'á'=>'a','č'=>'c','ď'=>'d','é'=>'e','ě'=>'e','í'=>'i','ľ'=>'l','ň'=>'n','ó'=>'o','ô'=>'o',
'ŕ'=>'r','ř'=>'r','š'=>'s','ť'=>'t','ú'=>'u','ů'=>'u','ý'=>'y','ž'=>'z','Á'=>'A','Č'=>'C',
'Ď'=>'D','É'=>'E','Ě'=>'E','Í'=>'I','Ľ'=>'L','Ň'=>'N','Ó'=>'O','Ô'=>'O','Ŕ'=>'R',
'Ř'=>'R','Š'=>'S','Ť'=>'T','Ú'=>'U','Ů'=>'U','Ý'=>'Y','Ž'=>'Z');
befor this line
Code:
switch($this->attributes['SEO_URLS_USE_W3C_VALID']){
add this code
Code:
if (is_array($this->trans)) {
$link = strtr($link, $this->trans);
}
-
Re: Chemo's Ultimate URL's
Thats great, thank you very much! :smile:
-
Re: Chemo's Ultimate URL's
I've got two problems, just for a change!
At the category level, it is working, and produces cats like this:
fly-traps-and-insecticides-c-28_32.html
But at the product display leve, it produces this:
index.php?main_page=product_info&cPath=28_32&products_id=709
And when I use the Google Sitemap Generator, it produces URLs like this:
index.php?main_page=product_info&products_id=709
I know that google penalises duplicate URLs, and I wonder what I've done wrong here.
-
Re: Chemo's Ultimate URL's
But you have this URL on your web server...
mod rewrite just change this URL to looked like standart .thml file
I dont know it is good for google or not... I just wait when google bot visit my page for look error statistics on my google sitemaps account.
-
Re: Chemo's Ultimate URL's
I'm so glad that I finally found this thread. I had just installed the version for 1.31 when the Zen-Cart forum changed, so I've literally been everywhere looking for an answer.
I have successfully installed this contribution. It works perfectly... except Google hates it. Now since I saw the post where another user has over 2000 pages indexed with Google, I'm thinking I've done something wrong.
Here's the issue. When Google tries to verify the site to upload the Google site map I've installed - I get the following error - 404 error returns a 200OK - cannot verify site. In doing more testing I found that what is happening is that if a non-existent page is requested in the browser instead of "page_not_found.html or .php being returned - the user is just returned to the index.php. It has literally put the brakes on Google indexing beyond the home page.
Here's the link - http://www.bestdiamondwatch.com
Could someone take a look and let me know what I've done incorrectly or if there is somewhere in the code that it can be changed to not do this. I'm desparate on this. I've been trying to get this site indexed for nearly 6 weeks with absolutely zero luck.
-
Re: Chemo's Ultimate URL's
Wowie. i got this contribution working now!
Then i saw another one: ImageHandler 2! Functions look great and look fine!!! :)
BUT..i could not find a doc or readme to do some manual changing in html_output.php.... for that is as far as i can see the only crucial core file that comes from the Imagehandler contri and then one of the 2 contri's do not work anymore.
Is there a manual how to do a merging of the SEF url & Image handler in html_output.php?
-
Re: Chemo's Ultimate URL's
I'm HOPING that Tim might get a moment to update his SEFU contrib to 1.3.0.1 compatible, as then his two contribs would work well together. I like Chemos SEFU contrib, but I think I'm doing something wrong as it's not SEFUing all the pages, and I think this might be because of IH2.
-
Re: Chemo's Ultimate URL's
mergin IH2 with SEO url's what not that hard.
. take the html_output.php from the iH2 module.
Open it. Replace the parts in the top of the page with:
PHP Code:
//SEF urls....
function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
if (!isset($GLOBALS['seo_urls']) && !is_object($GLOBALS['seo_urls'])) {
include_once(DIR_WS_CLASSES . 'seo.url.php');
$GLOBALS['seo_urls'] = &new SEO_URL($_SESSION['languages_id']);
}
return $GLOBALS['seo_urls']->href_link($page, $parameters, $connection, $add_session_id, $static, $use_dir_ws_catalog);
}
function original_zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
global $request_type, $session_started, $http_domain, $https_domain;
if (!zen_not_null($page)) {
die('</td></tr></table></td></tr></table><br /><br /><strong class="note">Error!<br /><br />Unable to determine the page link!</strong><br /><br />');
}
if ($connection == 'NONSSL') {
-
Re: Chemo's Ultimate URL's
So this should work for the latest versions of IH2, Chemos URLs and ZC 1.3.0.1 together?
-
Re: Chemo's Ultimate URL's
As far as i can tell it does.
-
Re: Chemo's Ultimate URL's
I dont know if my problem is Ultimate chemo or not
but I have this situation
I use chared SSL. whe I check it on fresh installed zen-card - all worked
but I have zaen-cart+chemo url + IH2 + MZMT mode
now when I try to go to https login page they redirect me to my http login page
my https login page looked like
https://www.camelot-hosting3.com/~ma...adb0f0dcdd3b4e
and it redirect me to my login page.. no errors.. just redirect me to normal login page with same zenid
in admin zone it worked normal...
i mean it some rules in htaccess but dont know where problem is..
please help
-
Re: Chemo's Ultimate URL's / Product Types Fix
I'm not sure if someone solved this already, but I'm working on an elaborate solution to extend Chemo's work so that product types will all be handled automatically. But for now I have a quick fix that has worked for me. If you're using more then one product type then you'll need wait until I finish my dynamic version of the fix.
1. Add your page handler to the includes/filenames.php as a define
PHP Code:
define('NAME_OF_YOUR_HANDLER', 'name_of_your_handler');
2. edit the /includes/classes/seo.url.php file and replace
PHP Code:
FILENAME_PRODUCT_INFO
with
PHP Code:
NAME_OF_YOUR_HANDLER
I think it's only in two places
3. in the .htacess file replace in the one line
PHP Code:
main_page=product_info
with
PHP Code:
main_page=Name_of_your_handler
* Note this is only a viable quick fix if you only sell products of one type. I'm working to make it so that Ultimate SEO urls mod will handle product types automatically. Also you may need to adjust some of your seo url settings in the admin, like resetitng and flushing cache for the changes to show.
I'll send Chemo my more elaborate fix when I'm done with it, and post it here as well. Hope this helps someone, feel free to email me if you need anymore help with this.
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by macson
i have resolve the problem.
just modify the table sort for left join.
I modified includes\classes\seo.url.php and changed the code, but I still get the same error, albeit with the modified code.
What I don't understand is how this is working on my original store, and yet with a copy of the store, filled using Easypopulate, it has this error with SEO URLs turned on! Weird, huh?
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by kelvyn
I modified includes\classes\seo.url.php and changed the code, but I still get the same error, albeit with the modified code.
What I don't understand is how this is working on my original store, and yet with a copy of the store, filled using Easypopulate, it has this error with SEO URLs turned on! Weird, huh?
Hi kelvyn, are you replying to my fix example? Or someone else's reply?
I can't see how EZ populate would conflict with chemo's seo mod? I don't think it's possible they're conflicting.
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by catv
Hi kelvyn, are you replying to my fix example? Or someone else's reply?
I can't see how EZ populate would conflict with chemo's seo mod? I don't think it's possible they're conflicting.
This post - and no, me neither, don't get it!
-
Re: Chemo's Ultimate URL's
I FOUND THE ANSWER!
You need to go into the CONFIGURATION>SEO URLS and tick RESET SEO CACHE.
Yay!
-
Re: Chemo's Ultimate URL's
Great glad my previous suggesting of flushing the cached, did you change the seo.url.php and .htacess file too?
-
Re: Chemo's Ultimate URL's
I didn't try it sooner because I thought the flushing of the cache was to do with your extension of the plugin! Plus, the error message was devious :)
Not made those other changes yet, except the seo.url.php - when I'm feeling brave :)
-
Re: Chemo's Ultimate URL's
In the event anyone else has an issue with this - the solution was very easy. I just added a line to the rewrite to find the page_not_found.html and voilla - all well!
-
Re: Chemo's Ultimate URL's
just installed everything on my zen 1.301 - all works great with IH2.
THANKS for the GREAT WORK.
-
Re: Chemo's Ultimate URL's
In the installation page, it says you have to modify the word /shop/ with the relative path of my catalogue. I'm not quite sure what to put. My index page is at the site root; I dont have the store in a subdirectory. Do I just leave it blank so it looks like "//"?
I must have done something wrong because my home page loads just fine, but when I click on anything (a product link for example) it gives me the error404 Page Cannot be Displayed. Any ideas?
I am running ZC v1.3.0.1 and trying to install Ultimate SEO URLs v2.101
Thanks a lot.
-
Re: Chemo's Ultimate URL's
leave the rewrite dir blank!!
do not put slashes or something!
What happens if you do that?
-
Re: Chemo's Ultimate URL's
I just attempted to install 2.101. I followed the instructions to the tee and am able to access the admin pages, but when I try the catalog I get the following error:
1136 Column count doesn't match value count at row 1
in:
[INSERT INTO 'zen_configuration' VALUES (",'Enable SEO URLs?', 'SEO_ENABLED', 'true', 'Enable the SEO URLs? This is a global setting and will turn them off completely.', 45,0, NOW(), NOW(), NULL, 'zen_cfg_select_option(array("true", "false"),')]
Thankfully I backed up before installing. Site is http://www.madisonpolicesupply.com/shop/
Any ideas?
-
Re: Chemo's Ultimate URL's
I am having problems getting the newsletter subscription to work 100% that notgoddess wrote here:
http://www.zen-cart.com/forum/showthread.php?t=37185
With SEFU turned off, if you just press the subscribe button without entering a email address you should get an error message, I am getting none except when I deactivate the sefu in admin. How can I fix this?
-
Re: Chemo's Ultimate URL's
ultimate seo stop working in zen 1.3.0.2 as html_output.php has been replaced.
:(
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by yapliren
ultimate seo stop working in zen 1.3.0.2 as html_output.php has been replaced.
:(
This is one of several mods that makes changes to html_output.php
(However, you'll have the Zen Police tell you otherwise - we must be wrong ;)
However, somewhere else on the forums, I found a post suggesting there is a way to over-ride the non-overidable file in another folder. I forget how - can anyone remember how it was done? And is the contrib going to be updated for 1.3.0.2?
-
Re: Chemo's Ultimate URL's
There are only 2 very short lines that are different in 1.3.0.2 and 1.3.0.1 in the html_output.php that was overwritten so it should be super easy to change.
-
Re: Chemo's Ultimate URL's
Hi all
Does anyone have problems with 404 handling with this mod installed? If I try to access a page that does not exist I get something like:
Code:
[27-Jun-2006 06:55:29] PHP Fatal error: main(): Failed opening required 'includes/templates/template_default/templates/tpl_zzzz404_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/domain/public_html/includes/templates/mytemplate/common/tpl_main_page.php on line 76
I have Tim's IH2 installed as well.
Kelvyn - I see that if I go to an invalid page on your site (http://www.bowak.co.uk/jangro/zzz.html) it just displays the home page. Are you using Tim's IH2?
Thanks for any help or suggestions. :)
-
Re: Chemo's Ultimate URL's
Here is a quick merge of Ultimage SEO's and Image Handler's html_output.php. Seems to work for me.
-
Re: Chemo's Ultimate URL's
Thanks, voltage - but I'm using 1.2.7 (sorry I didn't mention that before!). Does anyone have a 1.2.7 html_output.php with this mod + IH2 installed that they could share?
-
Re: Chemo's Ultimate URL's
As far as I understand, Image Handler was built for 1.3+ . . . Is that your problem?
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by voltage
As far as I understand, Image Handler was built for 1.3+ . . .
... and 1.2.x (http://www.breakmyzencart.com/image-handler)
-
Re: Chemo's Ultimate URL's
Where can i get the newest version compatiable with zencart 1.3
-
Re: Chemo's Ultimate URL's
http://www.cnt-wholesale.com/test-c-1.html
got it isntalled but ghet page cannot be found when i go to a category or product
-
Re: Chemo's Ultimate URL's
Hapy new member of the comunity here with a few questions...
I have installed Zen Cart 1.3.0.2 - So far love what I see...
I have installed the Dr Byte version of Ultimate SEO v. 2.101 from here: http://www.zen-cart.com/archived_con...rls_v2.101.zip
All went smootly and the install has worked great... With one problem so far.
I am hving trouble with the 'manufacturers' side box not using the correct urls.
I can probably fix this issue in the script, but I am not a php monkey... I understand the code and read and edit in most cases, but it is not my main focus.
Have any of you also had a proble with this? What have you done to correct this problem?
The test site I am working on to learn the system is here:
www dot sojourngallery dot com / index.php
-
Re: Chemo's Ultimate URL's
I have been trying to find out how to use Chemo's Ultimate URL's on my version of ZenCart but I have found no threads on how to do so. I am currently running Version 1.0 which has all updates downloaded and is current.
Is it possible to use it on this version and if so can anyone please make sense of all this to me??!! I have seen a lot of talk about how to do things on other versions but nothing that makes any sense to me as all of the files that are metioned do not seem to be on my version.
Can anyone please help?
-
Some rewrite problems and formatting question
I just got this installed using DrByte's 1.3 update and Voltage's merged output.php file. It is working great except for one problem, pages like 'contact us' and 'privacy policy' are no longer available. All of them involve the url being something like index.php?main_page=<name of page>.html.
The link on my pages when I mouse over look like:
index.php?main_page=contact_us.html
And when I click that appears in my address bar in my browser, but it gets replaced by the root URL of my site and I'm sent back there. Any ideas?
I also wanted to know if there was a way to reformat the URLs to make them not as long. For instance if I have a category called Pants with a sub-category called Mens it creates a link like:
pants-mens-c-20_2.html
Is there a way to remove the c-20_2? Or is rewriting just not that flexible and it would cause database lookups to fail?
I'm pretty sure both these questions would involve my .htaccess file, so here it is:
Quote:
Code:
##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
I greatly appreciate any help you can give. Thanks!
-
Re: Chemo's Ultimate URL's
Update: I found out that if I disable Automatic Redirects that it allows me to get to those pages, but without any SEO.
I'm still curious if that is right or not though?
Real Update: Okay ignore that up there, if I disable Automatic Redirects it takes me to the correct URLS for those pages, but it still shows the index page for the site, so my address bar is showing:
index.php?main_page=my_account.html
But the root page of my site is displayed.
If I disable SEO URLs entirely the issue goes away.
-
Re: Chemo's Ultimate URL's
Okay, I now see what is going on, and I'm looking into how to fix it, but I have no idea, so if anyone else knows, please inform me! :)
Ultimate SEO's is taking this link:
index.php?main_page=my_account
And turning it into:
index.php?main_page=my_account.html
How do I keep this from happening? This should be the last few lines of the .htaccess file, but it doesn't seem to be working right.
-
Re: Chemo's Ultimate URL's
Okay, sorry to keep replying basically to myself, but I have found out another part of the problem here.
This only happens to URLs being generated by EZ Pages. If I hand type:
/site_map.html
into my browser it takes me there, and all the links in the Site Map are correctly formatted, but any in the header and footer bars generated by EZ pages use the incorrect syntax. I assume then that editing a EZ Page template or code file somewhere with similar changes to what is in html_output.php should do the trick. I'm digging into it now.
-
Re: Chemo's Ultimate URL's
I am have a problem with this. everything seems to be working ok with exception of when I click to add products to my cart when testing it. Every time I try to add the products I get a 404 Page Not Found message. This is the address it is trying to connect to:
http://www.regencyexpress.co.uk/prod...14_144_160_210
When the SEO URL function is turned off everything runs fine.
Has anyone got any ideas?
-
Re: Chemo's Ultimate URL's
I've just installed this and got an error. It's a Server 500 error. Did anyone get something like this before or is it because I'm testing it offline (with Xampp)?
Thanx
Pete
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by kebeid
I've just installed this and got an error. It's a Server 500 error. Did anyone get something like this before or is it because I'm testing it offline (with Xampp)?
Is your Xampp set up to support mod_rewrite?
Did you set your base URL in the sample .htaccess provided in the mod?
-
Re: Chemo's Ultimate URL's
I have installed Chemo's Ultimate URL's, and it works great except when trying to Login. After clicking on login it goes to Sashbox' site (my host).
I am running V1.2.7 zencart and the 2.0 version of ultimate url
Zencart is in the root directory, so I have .htaccess in public_html
Here is the beginning of .htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# From Ultimate SEO URLs
Any ideas?
-
Re: Chemo's Ultimate URL's
I've installed ultimate_seo_urls_v2.101.rar on my 1.3.0.2 version of Zencart. Everything worked great, or so I thought. Shortly there after I started getting complaints of customers being unable to pay via credit card.
I'm using the standard CC module on my cart to collect credit card info. With the Ultimate URL's mod enabled, whenever a customer hits the "submit" button on the payment page it simply refreshes - without going onto the confirmation. I saw a mention or two of this problem earlier in the thread but I didn't see a fix. Is there one?
-
Re: Chemo's Ultimate URL's
Please help. I'm totally lost on what to do. If you take a look at the first page of my store and position your mouse over the word "login" near the top you can see that the link shown on the bottom looks correct, but when you actually click on login it goes to Sashbox.net
I have contacted my host for help, but I haven't heard back from them.
Anita
-
Re: Chemo's Ultimate URL's
Did you set your base URL in the sample .htaccess provided in the mod? Yes (that's the changing the /shop/ thing)
Is your Xampp set up to support mod_rewrite? - What's that.
Thanks for the quick reply Dr. Byte
Pete
-
Re: Chemo's Ultimate URL's
My problem was solved thanks to the wonderful Jim at Sashbox.
Anita
-
Re: Chemo's Ultimate URL's
I have found a real problem with the SEFU mod...
I cannot seem to get any form of 404 or 302 re-direct to work correctly with the .htaccess now. It seems that if you visit any false page at the site, you will see the home page, rather than the 404 page not found.
Have any of you been able to add 404 error handling to the .htaccess associated with the SEFU and have any success?
My site is here: sojournglass(dot)com
-
Re: Chemo's Ultimate URL's
If I use the standard 301 redirect line like this:
Redirect 301 /glass-balls.shtml http:// (WWW) .sojournglass.com/glass-balls-c-1.html
(I have altered this line to prevent linking from here)
Then the page is actually getting re-directed to the root domain. It seems that there is a problem with the other rules in place.
Also, using the standard 404 re-direct gets me nowhere... You can go to any random page in the site and it will display the home page.
This is actually a very bad thing for search engines.
Any help?
-
Re: Chemo's Ultimate URL's
Ok... so... I found a way around the 301 re-direct issue...
For anyone else that may have been having this trouble:
The re-direct code should actually read like this:
Redirect 301 /glass-balls.shtml http:// (WWW) .sojournglass.com/index.php?main_page=index&cPath=1
I have altered the "www" to prevent this forum from linking to the site, though it should be written as a standard URL in your code.
Now that I have the 301 redirect issue solved... I am still searching for a way to have the 404 error pages handled correctly with the SEFU in place.
Currently if you go to mydomain.com/anything_random_written_here
You will see the home page and the URL will not be altered from what was typed into the URL bar.
This is a problem, as it would tell the engines that any broken link to your site is a duplicate of your home page.
Can anyone see what would be causing the re-write engine to see any random page as a normal page and show the home page content?
-
Re: Chemo's Ultimate URL's
Apparently this forum is not as heavily read as I thought!
In doing more tests on the 404 error problem with the SEFurls mod I have found that if you go to any non-existant page in the site, you will see the home page content.
I have found that this is due to the following section of the htaccess file:
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
However, if this section is removed from the file, the engine has trouble with a number of EZ pages and other pages not already handled by the rewrite rules.
So... I am seeking a way to allow the site to properly handle 404 page not found errors while at the same time allowing for the random pages to be handled correctly.
It may seem like a strange problem, but if the site serves up the home page for every incorrect page request thrown at it, the engines may follow bad links and see them all as duplicates of the home page... This is very bad, and actually ruins the mod IMO.
Since we do not always have control over people linking to our sites incorrectly, as webmasters, we must ensure that our home page, or any other page, is not dished up to bad links. The 404 page must be shown instead.
If anyone has some insight into how this 404 error problem could be resolved please let me know.
-
Re: Chemo's Ultimate URL's
You make some very interesting points. I never thought of it before, but it makes sense to have a 404 page with Ultimate SEO's. Let us know if you find a solution (I've been trying but no success yet).
-
Re: Chemo's Ultimate URL's
The only solution I have found so far is to create new re-write rules fore every page not covered by the bulk of the .htaccess file:
Things like the privacy page, contact page, EZ pages, etc...
Then remove the "all encompassing" section of the .htaccess.
Though this is not a great solution as it would require a new re-write condition for every page and may get complicated when a lot of added pages are created. Also this makes it nearly impossible for a person to set up the site for someone else using the mod without coming back to add to the .htaccess rules every time the person creates a new page.
The issue with the 404 is a serious one for sure. If you wanted to, it would be possible to link to a competitor using this mod with a ton of incorrect links for the engines to follow. When the engines find the duplicate home page copy at each link followed they will eventually trip a duplicate content filter on the site, causing serious damage to the site's rankings... :bangin:
Though I am not advocating such action! Just bringing the problem to light.
I wish that a few people that developed the mod could look into this problem too.
It may be possible that a fix is totally doable from a hack perspective rather than a constant adjustment of the .htaccess rules.
-
Re: Chemo's Ultimate URL's
Hey, try this! A simple solution that hasn't been tested much, but is working so far . . . put this at end of your htaccess file:
ErrorDocument 404 /404.html
Obviously this needs to be pointed towards your error page . . . and there are other error pages you might want to add:
401 - Authorization Required
400 - Bad request
403 - Forbidden
500 - Internal Server Error
404 - Wrong page
Let me know what you think.
-
Re: Chemo's Ultimate URL's
That is the standard 404 error handler code for an htaccess redirect... Though that has not worked for my scripts...
Is this working on your site?
-
Re: Chemo's Ultimate URL's
Nah, false alarm. Only works if the page doesn't end in html. So . . . answer is no. Sorry for my ignorance.
As far as your request for the authors to help, this is a mod that was ported from oscommerce. The guy who originally ported it did support if off and on at first, but its been a while since he has responded to any posts.
-
Re: Chemo's Ultimate URL's
Reviewing this thread and the archived thread at http://www.zen-cart.com/forum/showthread.php?t=21801
Has anyone put together a list of issues with the latest version of this mod and ZC 1.3x. More specifically 1.3.0.2? And a list of mods not supported when SEFU is installed and/or a list of workarounds and patches?
Also where is source of latest version?
Would that be in the Zen Cart downloads "archive area" (Dr Bytes version updated for ZC 1301 dated 04-22-06):
http://www.zen-cart.com/archived_con...rls_v2.101.zip
If it works well wondering why it would not be listed in the regular ZC mod downloads area?
And I find Dreamscape's previous version here (2005-07-22 – Version 2.100)
http://www.dream-scape.com/pub/zenca...RLs_v2.100.zip
Is there a newer version? It appears this mod may no longer be under development?
Same goes for Tim's SEO mod at http://www.breakmyzencart.com/sefu
Anyone take the SEFU leap with either mod on Zen Cart 1.3.0.2? If so what kind of results did you achieve? Worth the hassle? Any special "gotchas's" to overcome or be aware of?
Woody
-
Re: Chemo's Ultimate URL's
Well, I've installed it on my test site (1.3.1) and so far everything seems to work fine. The only problems I've ran into is the lack of 404 page and a problem with custom product types (they work but if the product has attributes, the product link in the shopping cart doesn't work). I have a heavily modded cart and all seem to work, including image handler with a few tweaks.
Edit*
I'm using the mod upgraded by Dr Byte.
-
Re: Chemo's Ultimate URL's
Hi Woodymon,
I am cursed with the 1054 Unknown column 'c.parent_id' in 'on clause' error!
I have spent the past 2 weeks with Dr Bytes updated mod and I have a 50% success rate. I upgraded a zen cart from 1.2.6 to 1.3.0.2 and USEO worked like a charm.
The next upgrade was from V1.2.7 to 1.3.0.2 and here is where the wheels fell of the cart so to speak. After reading and re-reading the posts and trying all the various fixes time and time again I find I still get the same error message using V1.3.0.2:
1054 Unknown column 'c.parent_id' in 'on clause'
in:
[SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName FROM categories c, categories_description cd LEFT JOIN categories_description cd2 ON c.parent_id=cd2.categories_id AND cd2.language_id='1' WHERE c.categories_id=cd.categories_id AND cd.language_id='1']
Then I figure the heck with it let's do a squeaky clean install of both Zen V1.3.0.2 and USEO V2.101 in a test area to see if any of the mods I had installed caused the problem... the result... once again I find I get the same error message and none of the suggested bug fixes and no amount of cache resets fixed the problem.
In summary, my experiences shows there is something a miss with USEO V2.101 when upgrading from V1.2.7 to V1.3.0.2. Where as, upgrading from V1.2.6 (and possibly earlier versions) of zen seems to work AOK with Dr Bytes USEO V2.101.
Hope this is what experiences you may of been looking for...
PS if anyone has USEO working with V1.3.0.2 I'd be happy to hear how you got it to work. :)
Les :)
-
Re: Chemo's Ultimate URL's
I have 1.3.0.2 cart installed with Ultimate SEO URLs version 2.101
Both are working great... with no problems other than the non-existent handling of 404 error re-directs.
What is your site? From your description of your error, it sounds as though one file in your SEO URL's mod is a little a miss.
You may view my work in progress at www (dot) sojournglass (dot) com - it that helps any.
-
Re: Chemo's Ultimate URL's
Hi zacheos,
Many thanks for your reply.
I do have V2.101 USEO working with one zen 1.3.0.2 but for the life of me it just won't work on another site running zen version 1.3.0.2? Weird eh?
I even copied all the V2.101 USEO files from the working site to the non-working site but this didn't work either.
Hope you find the solution to your 404 issue. :)
-
Re: Chemo's Ultimate URL's
hello
i have this mod working on 1.3.02 which i'll explain how to do below...a few minor issues that i'm not sure are important
adds .html to every page so if you type in yourdomain.com/contact_us it'll take you to the custom page not found but if you type yourdomain.com/contact_us.html you'll get there
doesnt like ez pages
to get the page not found to appear instead of the home page try the setting in admin > config >my store > missing page check > page not found
it may be too simple to be the answer but its all i can think of seeing as it works for me
to get ultimate seo to work on 1.3.2 go to dreamscapes site
http://www.dream-scape.com/pub/zenca...mate_SEO_URLs/
download the mod and upload the files
go to installation on the dreamscape site
ignore the 2 instruction of changing application_top.php
instead go to the directory /includes/init_includes
edit the file init_templates.php
look for the location where a line which says:
----------------------------------------------------------------------
include_once(DIR_WS_LANGUAGES . *$_SESSION['language'] . '.php');
-------------------------------------------------------------------------
insert following lines immediate after this location:
--------------------------------------------------------------------
// line added for SEO v2.100
require_once(DIR_WS_CLASSES . 'seo.url.php');
if (!is_object($seo_urls)) {
$seo_urls = &new SEO_URL($_SESSION['languages_id']);
}
// end of line addition to SEO v2.100
------------------------------------------------------------------------
then go back to dreamscapes site and follow the instructions 3-8
dont forget to add the paypal fix to seo.url.php
----------------------------------------------------------------------------------------
The problem: the paypal payment mod is using zen_href_link to construct the notify url. We need to tell the SEO mod to skip modifying this url.
The solution: In the class file seo.url.php we just have to add a check for ipn_main_handler.php
Find the function function href_link()
The very beginning of the function has code like:
Code:
// don't rewrite when disabled
// don't rewrite images, css, js, xml, real html files, etc
if ( ($this->attributes['SEO_ENABLED'] == 'false') || (preg_match('/(.+)\.(html?|xml|css|js|png|jpe?g|gif|bmp|tiff?|ico|gz|zip|rar)$/i', $page)) ) {
return $this->stock_href_link($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}
Immediately after that, add the following:
Code:
// don't rewrite the paypal IPN notify url
if ($page == 'ipn_main_handler.php') {
return $this->stock_href_link($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}
-------------------------------------------------------------------------------------
and remember to compare and merge the html_output.php if your using imagehandler2
thats all i did...thanks to zenhorocks who worked it out in another achived thread somewhere out there
hope it helps....if anyone knows how of get rid of the .html it would be much appreciated as it doesnt seem right
good luck :smile:
-
Re: Chemo's Ultimate URL's
Hi monkeymadness,
Many thanks for taking the time to post an extensive how-to. Unfortunately it didn't fix the 1054 Unknown column issue. I'll keep trying to fix the problem and post back here if I ever get it resolved.
-
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by voltage
The guy who originally ported it did support if off and on at first, but its been a while since he has responded to any posts.
I still do support it. I'm not around much in community support thread here because I don't have much time for that; I did when I was still a student, but not anymore. However, this thread is for community support. I certainly still offer commercial support, and have even placed a support page on the mod's mini-site to let people be aware of this since I don't participate in the community thread much anymore.
If there is little community support, there is nothing I can do about that; that task is up to the community if it so wishes to support itself. However, I still do and always will support the mod until the day I publicly announce that I'm not supporting it anymore.
Quote:
Originally Posted by Woodymon
Is there a newer version? It appears this mod may no longer be under development?
I can assure you that it still is under development, albeit slow development. I've already done quite a bit of work on a new version, but remember I'm developing this in my spare time, and it is not the only thing I do in my spare time. I have countless projects I sometimes work on in my spare time, so unless someone or a group of people is willing to fund the rest of development on the new version, you just have to take it as it comes.
I've thought about putting up a campaign on fundable.org for the rest of development on the new version, and posted something to that effect awhile ago, and though many were quick to express interest in the new version, nobody expressed any sort of interest in helping to fund the new version. If anyone is interested in contributing to a group fund to complete development on the new version, then by all means speak up and don't lurk in the shadows. ;)