Zen Cart Logo
Forums / Search Engines / Ultimate SEO URLs

Ultimate SEO URLs

Views: 125,988

Results 301 to 320 of 1,097
3 Jul 2008, 12:57 AM
#301
molywerks avatar

molywerks

Zen Follower

Join Date:
Aug 2006
Posts:
136
Plugin Contributions:
0

Ultimate SEO URLs

Somehow uSEO is mixing up URLs and moving things all around, thus breaking links for "add to cart" links on any manufacturer product listing page. I've added nothing out of standard to htaccess or with the following settings in Admin Panel Product Listing >

  • Product Listing > Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product): 1
  • Product Listing > Display Multiple Products Qty Box Status and Set Button Location: 0
  • SEO Urls: Enter special character conversions: »=>-,&=>-,&quo;=>-inches-,–=>-,–=>-,—=>-,—=>-
  • SEO Urls: Enter pages to allow rewrite: index, product_info, products_new, products_all, featured_products, specials, contact_us, conditions, privacy, reviews, shippinginfo, faqs_all, site_map, gv_faq, discount_coupon, page, page_2, page_3, page_4, about_us, advanced_search, account, login, create_account, shopping_cart, unsubscribe, password_forgotten

For display purposes, the first url portion is the standard Zen Cart link and the second line is the uSEO conversion. Note the dropped .php and index& and the shuffling of products_id=1118, sort=20a and manufacturers_id=2.

  • index.php?main_page=index&manufacturers_id=2&sort=20a&action=buy_now&products_id=1118
  • index?main_page=products_id=1118&action=buy_now&sort=20a&manufacturers_id=2

What tweak do I need to make to fix this?

FWIW, yes, I've not yet had a chance spend plowing through this monster thread, so, yeah, maybe the answer is here, but if anybody knows it off hand, please answer. Thanks! If not, I'll be back with time in hand. :)

3 Jul 2008, 1:33 AM
#302
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Ultimate SEO URLs

cartguin:

Somehow uSEO is mixing up URLs and moving things all around, thus breaking links for "add to cart" links on any manufacturer product listing page. I've added nothing out of standard to htaccess or with the following settings in Admin Panel Product Listing >

  • Product Listing > Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product): 1
  • Product Listing > Display Multiple Products Qty Box Status and Set Button Location: 0
  • SEO Urls: Enter special character conversions: »=>-,&=>-,&quo;=>-inches-,–=>-,–=>-,—=>-,—=>-
  • SEO Urls: Enter pages to allow rewrite: index, product_info, products_new, products_all, featured_products, specials, contact_us, conditions, privacy, reviews, shippinginfo, faqs_all, site_map, gv_faq, discount_coupon, page, page_2, page_3, page_4, about_us, advanced_search, account, login, create_account, shopping_cart, unsubscribe, password_forgotten

For display purposes, the first url portion is the standard Zen Cart link and the second line is the uSEO conversion. Note the dropped .php and index& and the shuffling of products_id=1118, sort=20a and manufacturers_id=2.

  • index.php?main_page=index&manufacturers_id=2&sort=20a&action=buy_now&products_id=1118
  • index?main_page=products_id=1118&action=buy_now&sort=20a&manufacturers_id=2

What tweak do I need to make to fix this?

FWIW, yes, I've not yet had a chance spend plowing through this monster thread, so, yeah, maybe the answer is here, but if anybody knows it off hand, please answer. Thanks! If not, I'll be back with time in hand. :)

The simple and easiest solution would be to check out Magic SEO URL for Zen Cart ... it's the best solution around these days.

In order to fix the problem your having you'd have to track down which file is attempting to rewrite that URL away from the default form, then associate that with the rewrite rule that's being used.

3 Jul 2008, 1:35 AM
#303
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Ultimate SEO URLs

tweakservers:

I removed all the SEO related rows in the configuration table and also the configuration_groups table. However, the following message throws up when I try to load the first page:

I tried manually running the SQL command at the configuration_group table by putting in the first value, the row added without issue. But the same message still shows up when I refresh the first page.

Have a look at this:

Guide to uninstall Ultimate SEO URL's

6 Jul 2008, 6:53 AM
#304
cyberwoolf avatar

cyberwoolf

Zen Follower

Join Date:
Oct 2005
Posts:
97
Plugin Contributions:
0

Re: Ultimate SEO URLs

Is there a way to add the category before a product name? So it would be like http://www.site.com/category/product ?

Thanks!

10 Jul 2008, 11:31 PM
#305
amanamission avatar

amanamission

New Zenner

Join Date:
May 2008
Location:
Rainbow Country
Posts:
21
Plugin Contributions:
0

Re: Ultimate SEO URLs

CyberWoolf:

Is there a way to add the category before a product name? So it would be like http://www.site.com/category/product ?

Thanks!

I would also like to know the answer to this question if anyone knows, you'll be my hero

11 Jul 2008, 2:47 AM
#306
molywerks avatar

molywerks

Zen Follower

Join Date:
Aug 2006
Posts:
136
Plugin Contributions:
0

Re: Ultimate SEO URLs

This isn't a direct method (nor does it add the slash, it adds a dash in my usage**) but I added a second, custom product name field to the database to cover this and other shortcomings of uSEO. Of course I search-and-replace hacked uSEO so that it calls upon the name of this field instead of product_name (or whatever the original field is) and hacked the admin files, admin\includes\modules\update_product.php, admin\includes\modules\product\collect_info.php and admin\includes\modules\product\preview_info.php (and others?*) so that the uSEO-specific name could be entered into the database.

My only wish is that I had taken the time to figure out how to setup several custom fields that combine and automatically generate other fields like the Zen product name and the uSEO name in addition to a couple of other name fields due to syntax and context needs of the various display pages within Zen. But that will all have to wait. Naturally this requires spot-on data entry but I have found it worthwhile.

*I don't recall but see How-To: Add new Properties to your Products if it's not working for you.
**http://www.site.com/category-product

14 Jul 2008, 7:56 PM
#307
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: Ultimate SEO URLs

here is a bit of fun, I keep 2 installs of zen cart on most sites I work on. live and a testing environment. since installing this great mod in the beta I have not been able to log in to the admin section of the beta. when I go to the login.php and view source the URL that the form is going to has been changed. Now I know that this is based on a constant, so I checked my config file and nope that has not changed. I disabled the htaccess file and its still redirecting me. so I am wondering where this went all crazy like. any body know?

15 Jul 2008, 1:32 AM
#308
elgrcg avatar

elgrcg

New Zenner

Join Date:
Mar 2008
Posts:
38
Plugin Contributions:
0

Re: Ultimate SEO URLs

Hi,

Does anybody have a fix for the spanish in the admin instead of english.
I tried what fixed it for canemaster, deleting relevant code in the the sql database, didn't work for me.

Any ideas,

Thanks:no:

16 Jul 2008, 9:50 PM
#309
llnavs avatar

llnavs

New Zenner

Join Date:
Apr 2007
Posts:
9
Plugin Contributions:
0

Re: Ultimate SEO URLs

I just installed the MOD on my test site on my computer that has been working for a while now. When I log into my index page, I get Error Message 500. My error log in my server comes up with:

C:/Program Files/xampp/htdocs/zensapone/includes/.htaccess: Invalid command 'RewriteRule', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/zenstore/

I must be missing somthing, can anyone help me with this?

My Zen Cart running on my localhost in Apache. Address is **http://localhost/zenstore/****. **Files are installed in C:/Program Files/xampp/htdocs/zenstore. Htaccess file is installed in the /zenstore/ folder using the htaccess file given with the MOD. Here is the file:

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]

Any Suggestions would be helpful. TIA

22 Jul 2008, 5:36 PM
#310
madfastride avatar

madfastride

Zen Follower

Join Date:
Feb 2007
Location:
Earth
Posts:
115
Plugin Contributions:
0

Re: Ultimate SEO URLs

I've been using this mod for a while now and am much appreciative so first off thank you...

My problem is that recently I lost the "-" that used to separate words in my URL for example my URLs now look like:

"http://fairwheelbikes.com/farandnearcampagnolobrakehoodsblue-p-769.html"

when they used to look like:

"http://fairwheelbikes.com/far-and-near-campagnolo-brake-hoods-blue-p-769.html"

I'm not really sure where this happened and can't seem to find it in the admin panel... Is there something I'm missing? Can someone please help? Thanks

24 Jul 2008, 7:17 PM
#311
nguyenkhv avatar

nguyenkhv

New Zenner

Join Date:
Feb 2008
Posts:
35
Plugin Contributions:
0

Re: Ultimate SEO URLs

To all,
I have installed the Ultimate SEO and it works very well, especially, with the configuration setting to replace special non alphabetical characters.

Question:
Currently, the zen cart product info page insert item's name as part of the page title.
The problem is: my items' names have lots of non alphabetcial unicode characters and need to do the same conversion like the conversion for URL string the Ultimate SEO does.

I wonder if anyone has any idea how to use the already written code and the mod's configure setting in the Utimate SEO to automatcially convert/replace the special
characters off the item's name before write it to the page title.
Just want to make the title index friendly to Google bots.

Any help is appreciated.

24 Jul 2008, 8:09 PM
#312
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Ultimate SEO URLs

madfastride:

I've been using this mod for a while now and am much appreciative so first off thank you...

My problem is that recently I lost the "-" that used to separate words in my URL for example my URLs now look like:

"http://fairwheelbikes.com/farandnearcampagnolobrakehoodsblue-p-769.html"

when they used to look like:

"http://fairwheelbikes.com/far-and-near-campagnolo-brake-hoods-blue-p-769.html"

I'm not really sure where this happened and can't seem to find it in the admin panel... Is there something I'm missing? Can someone please help? Thanks

Sounds like some settings may have been changed.

Admin > Configuration > SEO URLs

Compare your settings to the following, not sure if default settings though.

Enable SEO URLs?  				true
Add cPath to product URLs? 			false
Add category parent to begining of URLs? 	true
Filter Short Words 				0
Output W3C valid URLs (parameter string)? 	true
Enable SEO cache to save queries? 		true
Enable product cache? 				true
Enable categories cache? 			true
Enable manufacturers cache? 			true
Enable articles cache? 				true
Enable information cache? 			true
Enable automatic redirects? 			true
Choose URL Rewrite Type 			Rewrite 	Info 
Enter special character conversions 		Info
Remove all non-alphanumeric characters? 	false
Reset SEO URLs Cache	 			false
30 Jul 2008, 8:41 AM
#313
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Ultimate SEO URLs

I wanted to add Category Name to the product urls, so it will be www .domainname.com/category_name/product_name.html but I could not find a solution to this in this forum so I investigated myself and found a solution...

I changed the product name SQL at Line 556 in includes/classes/seo.url.php to the following to obtain category name for the product (cName), then added that on to the pName with a slash between them:-

$sql = "SELECT pd.products_name as pName , cd.categories_name as cName
	FROM " . TABLE_PRODUCTS_DESCRIPTION . " pd
	JOIN products_to_categories ptc ON pd.products_id = ptc.products_id
	JOIN categories_description cd ON ptc.categories_id = cd.categories_id
	WHERE pd.products_id = " . (int)$pID . " 
	AND pd.language_id = " . (int)$this->languages_id . "  
	LIMIT 1";

$result = $this->db->Execute($sql);
$pName = $this->strip($result->fields['pName']);
$cName = $this->strip($result->fields['cName']);
$this->cache['PRODUCTS'][$pID] = $cName."/".$pName;
$return = $cName."/".$pName;

I had to turn off product cache in SEO configuration. I next need to see how to have that on and to show the new URLs.

31 Jul 2008, 4:35 PM
#314
realforever avatar

realforever

New Zenner

Join Date:
Jul 2006
Posts:
58
Plugin Contributions:
0

Re: Ultimate SEO URLs

Thanks infocom!

That's I've been looking for. You have your live site to check out the actions?

31 Jul 2008, 7:26 PM
#315
infocom avatar

infocom

Zen Follower

Join Date:
Jul 2006
Location:
Cardiff, Wales
Posts:
308
Plugin Contributions:
0

Re: Ultimate SEO URLs

Sure, it's here.

I found one issue with the mod so far, and thats the attributes images pop ups didn't work as it included the SEO category URL in the folder path to the image. So I also had to edit includes/modules/attributes.php file to reference the HTTP_SERVER variable from the config file before the popup_image_additional.html references.

So far it all seems to work OK though.

4 Aug 2008, 1:06 AM
#316
kayla avatar

kayla

Zen Follower

Join Date:
Mar 2005
Posts:
186
Plugin Contributions:
0

Re: Ultimate SEO URLs

've been using this mod successfully for about a year on 1.3.7 (the 1.3.7 version).

I have just moved servers and my shared SSL has changed and on the new server when clicking on Checkout or Login where SSL is enabled I get 404 errors.

I have tried to search and skim this entire thread but don't see anything specific to this same problem.

I am thinking that I should use the last field in the admin "Enter pages to allow rewrite" where it says

Enter pages to allow rewrite
This setting will allow the rewrite only in the specified pages. If it's empty all pages will be rewrited.

The format MUST be in the form: page1,page2,page3

What I don't understand is how to determine what page1,page2,page3 is! Luckily my site isn't very big and I only have about 8 pages that I need to specify but I just don't understand the format it is asking.

I tried it by putting the pages after the index.php like below and it simply disabled all SEO URLs

main_page=page_2
main_page=page_3
main_page=page_4
main_page=privacy
main_page=contact_us
main_page=conditions
product_free_shipping_info.html?products_id=6&cPath=2

5 Aug 2008, 7:44 PM
#317
zettabuy avatar

zettabuy

New Zenner

Join Date:
Jun 2008
Location:
scottsdale
Posts:
4
Plugin Contributions:
0

Re: Ultimate SEO URLs

i also have 404 & page not found problems... :no:

uninstalling does not bring the products back either

link in sig

5 Aug 2008, 8:26 PM
#318
zettabuy avatar

zettabuy

New Zenner

Join Date:
Jun 2008
Location:
scottsdale
Posts:
4
Plugin Contributions:
0

Re: Ultimate SEO URLs

Ok i found it it is because when I couldn't get Ultimate SEO to work I started installing Simple SEO and didn't finish. I got Ultimate to start working by renaming all of the Simple SEO files but now can't get into admin. So now Ultimate works and I need to try and get rid of SEO via FTP...

5 Aug 2008, 9:35 PM
#319
madfastride avatar

madfastride

Zen Follower

Join Date:
Feb 2007
Location:
Earth
Posts:
115
Plugin Contributions:
0

Re: Ultimate SEO URLs

Website Rob:

Sounds like some settings may have been changed.

Admin > Configuration > SEO URLs

Compare your settings to the following, not sure if default settings though.
Thanks, Rob for the possible solution. I double checked and nothing had changed.

I still don't know what caused it but I did find a solution in case any one else has this problem, I deleted all entries related to the mod in my DB and then let the the seo.install file run again and it fixed the problem. Before this I tried uninstalling all the files and reinstalling a clean set and this did not work.

Cheers,

6 Aug 2008, 6:30 PM
#320
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: Ultimate SEO URLs

So I just installed the module (not my first time installing it) and had an odd thing happen. its a ZC 1.3.8 on a lamp server.

the redirects to the mew URLs are working but the link generation is not.
any where I should look?