Zen Cart Logo
Forums / All Other Contributions/Addons / Ultimate SEO v3 (and v2.200) [Support Thread]

Ultimate SEO v3 (and v2.200) [Support Thread]

Views: 427,461

Results 661 to 680 of 1,706
4 May 2014, 2:31 AM
#661
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Ultimate SEO v3 (and v2.200) [Support Thread]

lhungil:

What URL (or chain of URLs) was the site redirected to after the product was added to the cart? What are your settings in Zen Cart for "Display after add to cart"? What was the 404 page URL?

What version of Ultimate URLs? What version of Zen Cart?

Hi lhungil, Thanks for you reply

The Zen Cart version is 1.5.1. The Ultimate SEO URLs version is V2.212

Display Cart After Adding Product is set to false.

The 404 page URL is domain/index.php?main_page=page_not_found

4 May 2014, 2:42 AM
#662
su35 avatar

su35

Zen Follower

Join Date:
Oct 2011
Posts:
168
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

One parameter (disp_order=x) was introduced into the link. Is this parameter that interrupts the rewrite rule?

4 May 2014, 3:30 AM
#663
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Probably not. I'm out of town at the moment. If you can send me a link to the example page (want to see all of the HTTP codes), I'll take a look when I get back. Feek free to send in a PM (so I do not forget).

17 May 2014, 12:23 PM
#664
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Hi

I have zen cart 1.5.1 installed on a subdomain. Ultimate seo urls Version: 2.212 is installed. All looks good except for in admin in the top navigation bar, the link to "Online Catalog" is not working correctly. It opens to

http://testsite.mywebsite.com/.html

As expected it opens to a 403 page. Any ideas what to do about this problem? The .htaccess is the one supplied with the module and only the RewriteBase changed from /shop/ to /. Nothing else has been altered in the file.

When I turn off the seo module the problem goes away and the link opens to the shop.

Other modules installed so far:

quick updates
stock by attributes
easy populate
backup mysql
theme forest exodus template

Just to rule out the template I switched to classic and it made no difference

thanks

17 May 2014, 5:01 PM
#665
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

First comment out the line containing RewriteBase (add a # as the first character on that line). This line is not needed when Zen Cart is installed in the web server's root directory.

Second open up "/admin/includes/header.php" and edit the link for the "online catalog" to use "HTTP_CATALOG_SERVER . DIR_WS_CATALOG" for the href attribute.

There is a good chance this change will be present in v160 of Zen Cart.

17 May 2014, 5:19 PM
#666
buildingblocks avatar

buildingblocks

Totally Zenned

Join Date:
Jun 2008
Posts:
629
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

perfect! That fixed it. Thank you :-)

12 Jun 2014, 2:33 PM
#667
mvmastrigt avatar

mvmastrigt

New Zenner

Join Date:
Jun 2014
Posts:
1
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Hi,

I've been using your plugin with zencart 1.5.0 for some time now.
Somthing seems to be wrong though as loading times skyrocket with the plugin enabled.
After some digging I discovered it generates almost 30000 queries per page load.
Disabling the plugin reduces amount of queries to about 211.
I proceeded to try various combinations of caching settings, but nothing helped so far.
Do you have any idea as to why the plugin generates this many sql queries?

url: www dot coins-stamps-rotterdam dot nl

12 Jun 2014, 6:12 PM
#668
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Not sure why you are seeing so many queries. I've rarely seen a request with the latest stable release of Ultimate URLs exceed an average of 150 additional queries (with Ultimate URL enabled and the caches disabled).

One of the times I've seen a massive number of additional queries, a page existed with a massive number of internal links to different products, categories, ez-pages, and manufacturers. Usually in this case enabling the individual caches reduces these requests (unless the host does not allow PHP eval()).

Another time I've seen a massive number of additional queries, the root cause was a problem with the database. Once the database server was out of memory (poor server management) and in the other case the server was having issues with data corruption (server hardware replaced to fix). This case also required running a repair of the SQL tables after the hosting provider corrected the server issues.

Another time the problem, something was missed (or incorrectly merged) when installing the module. This caused Zen Cart to issue duplicate queries attempting to retrieve data.

I'd be very interested to know what is causing the enormous number of extra queries in your hosting environment. Is it every page? One specific page? Anything in the Zen Cart debug logs? Answers to the other questions in the "Posting Tips"? Can you provide more details on the server environment?

12 Jun 2014, 6:18 PM
#669
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

The global USU cache
Saves "name" results in memory for the current web request.

  1. Check if name is already in memory. Return the name if cached.
  2. If not cached, issue one SQL query per name needed. Cache the name(s) in memory. Return the name.

The individual USU caches (products, categories, mfgs, ez-pages)
Saves "name" results in memory for the current web request.
Additionally saves "name" results using database storage.

On startup (once per page request).

  1. If cached copy exists in the database and has expired, delete from the database.
  2. If cached copy exists in the database and has not expired, load into memory.
  3. If not cached in the database, run one SQL query to load all names, save into database and memory.

Zen Cart 1.5.1+ (data_diggers) memory query cache
Stores SELECT queries in a memory cache. Greatly reduces the number of queries run against the database by Zen Cart (in general). Will be used by this module if present (and most the caching done by USU internally is not needed when this is present / enabled).

The Zen Cart persistent SQL cache
Saves SQL queries according to configure settings. When enabled, this will be used by Ultimate URLs to cache all SQL queries for 43200 seconds (or 12 hours). This cache cannot be reset inside Ultimate URLs and is independent. If your hosting provider limits the number of SQL queries (or throttles them) and you cannot move to a better hosting provider, enabling this in Zen Cart 1.5+ w/ file based caching can help... But keep in mind a file lookup is usually more expensive than a database lookup (and will typically be slower).

28 Jun 2014, 6:14 PM
#670
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

I have a file in the store root (Zen Cart is in the 'store' directory, just to confirm) that needs to not be rewritten but is being rewritten. The file is: ShippingZZencart.php from stamps.com

I thought the last lines of the htaccess were to prevent rewriting real files but they don't seem to be. This is the htaccess file contents.

###############################################################################

Common directives

###############################################################################

NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:

Options +FollowSymLinks
RewriteEngine on
RewriteBase /store/

###############################################################################

Start Ultimate SEO URLs

###############################################################################

Handles the new URL formats

RewriteRule ^(.)-c-([0-9_]+)/(.)-p-([0-9]+)(.)$ index.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-c-([0-9_]+)/(.)-pi-([0-9]+)(.)$ index.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)/(.)-pr-([0-9]+)(.)$ index.php?main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-c-([0-9_]+)/(.)-pri-([0-9]+)(.)$ index.php?main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]

Original (unchanged) URL formats

RewriteRule ^(.)-p-([0-9]+)(.)$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+)(.)$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pi-([0-9]+)(.)$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+)(.)$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pri-([0-9]+)(.)$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-ezp-([0-9]+)(.)$ index.php?main_page=page&id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-([0-9_]+)(.)$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]

All other pages

Don't rewrite real files or directories

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?main_page=$1&%{QUERY_STRING} [L]

28 Jun 2014, 11:01 PM
#671
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

I would guess the 3rd party module you installed is not integrated as a Zen Cart page, yet calls Zen Cart's application_top.

If the "guess" is correct, This is a known issue with certain 3rd party modules. The fix is for the 3rd party modules to correctly implement their new "page" (URL) as an actual Zen Cart page (instead of trying to cherry pick).

One workaround is to disable "automatic redirects" for Ultimate URLs. Another is to manually edit the "automatic redirect" code to ignore the URL.

Feel free to SEARCH this thread (if the guess above is correct) as I have previously posted the workarounds for handling these problematic 3rd party modules.

29 Jun 2014, 12:28 AM
#672
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

I am contemplating converting my client from** Ceon URI Mapping to Ultimate SEO**

What do I need to do so that the current URIs aren't sent to 404 purgatory?? I looked through this thread, and didn't see anything that provides a "how-to" or a "checklist" when converting from one module to another.. Any tips on the conversion from one module to another??

29 Jun 2014, 4:51 AM
#673
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

lhungil:

I would guess the 3rd party module you installed is not integrated as a Zen Cart page, yet calls Zen Cart's application_top.

If the "guess" is correct, This is a known issue with certain 3rd party modules. The fix is for the 3rd party modules to correctly implement their new "page" (URL) as an actual Zen Cart page (instead of trying to cherry pick).

One workaround is to disable "automatic redirects" for Ultimate URLs. Another is to manually edit the "automatic redirect" code to ignore the URL.

Feel free to SEARCH this thread (if the guess above is correct) as I have previously posted the workarounds for handling these problematic 3rd party modules.

Yes, it does call application_top.

Can you explain the 'automatic redirects"? What exactly does that do and what's the consequence of disabling it?

30 Jun 2014, 10:44 PM
#674
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

DivaVocals:

I am contemplating converting my client from** Ceon URI Mapping to Ultimate SEO**

What do I need to do so that the current URIs aren't sent to 404 purgatory?? I looked through this thread, and didn't see anything that provides a "how-to" or a "checklist" when converting from one module to another.. Any tips on the conversion from one module to another??

anyone?? Someone has to have made this change... I'd REALLY rather not write a bunch of 301 redirect directives..

5 Jul 2014, 6:46 AM
#675
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

DivaVocals, your latest code fixed the Create Account Default Country ID issue, but doesn't fix the issue with Ultimate URLs. I don't see a reason why this plugin needs to use the use_function column the way that it is. The author may want to see how we make fields in Numinix mods and follow that pattern.

6 Jul 2014, 2:57 AM
#676
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

numinix:

DivaVocals, your latest code fixed the Create Account Default Country ID issue, but doesn't fix the issue with Ultimate URLs. I don't see a reason why this plugin needs to use the use_function column the way that it is. The author may want to see how we make fields in Numinix mods and follow that pattern.
Was never my code or "fix"... And I'm not even sure which fix you are referring to as a subsequent code chage resolved my conflicts between your module and this one.. sounds like you and the author of this module will need to coordinate your efforts..:smile:

9 Jul 2014, 5:22 PM
#677
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

If anyone is interested in testing a beta update of this plugin for Zen Cart 1.5.3, please PM me.

9 Jul 2014, 5:36 PM
#678
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

This plugin already works in 1.5.3. I also have an updated version close to release.

19 Jul 2014, 12:44 AM
#679
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

lhungil:

This plugin already works in 1.5.3. I also have an updated version close to release.

This does work on 1.5.0 version but stop some other modules to work like
Order Question
Mailhive

It does not let open file in root for any module as soon as I turn it off from admin all these modules files in root are accessible and modules work fine.
I removed/make changes in .htaccess but it did not resolve problem.

Another problem after installing this module: getting session timeout very often/ page not found when tried to login from timeout session page.

Any idea how to get these fixed?

19 Jul 2014, 3:08 AM
#680
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Why following have index in this?

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

I removed index from there and it solved my issue. Will this cause any other issue?