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,287

Results 501 to 520 of 1,706
02 Oct 2013, 18:08
#501
lhungil avatar

lhungil

Totally Zenned

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

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

raimond:

... When someone put something in the cart from a categorypage and the clicks the button "continu shopping" and add another product in the cart, the firtst product is now twice in the cart and the last one isn't. ...
I am unable to duplicate this in a stock installation of Zen Cart 1.5.x with the latest version of "Ultimate URLs" installed...

Tested with "Display Product Add to Cart Button = 1" and "Display Multiple Products Qty Box Status = 1, 2, or 3"
Tested with "Display Product Add to Cart Button = 2" and "Display Multiple Products Qty Box Status = 0"

In both cases the correct product was added to the order and no extra products were added to the order.

raimond:

...
I think it has to do something with the url created after "continu shopping"....the url looks like this "http://www.domain.com/onecat/?products_id=12431&sort=20a" ...
The "query terms" such as products_id are not added by this module (Zen Cart's core and your template control these).

Are you running an older version of Zen Cart or this module? How is your store different from a stock Zen Cart installation?

03 Oct 2013, 07:27
#502
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

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

lhungil:

I am unable to duplicate this in a stock installation of Zen Cart 1.5.x with the latest version of "Ultimate URLs" installed...

Tested with "Display Product Add to Cart Button = 1" and "Display Multiple Products Qty Box Status = 1, 2, or 3"
Tested with "Display Product Add to Cart Button = 2" and "Display Multiple Products Qty Box Status = 0"

In both cases the correct product was added to the order and no extra products were added to the order.

The "query terms" such as products_id are not added by this module (Zen Cart's core and your template control these).

Are you running an older version of Zen Cart or this module? How is your store different from a stock Zen Cart installation?

I am using ZenCart 1.5.1 (migrated from 1.3.8a), installled a few extensions, like Ultimate SEO URLs, FEC, css_js_loader.
I've read it makes use of the backlink, and many more has a problem with the backlink, but didn't find a solution.

03 Oct 2013, 18:41
#503
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]

raimond:

I am using ZenCart 1.5.1 (migrated from 1.3.8a), installled a few extensions, like Ultimate SEO URLs, FEC, css_js_loader. ...
Double check your installation. Something must be different between your upgraded installation and a clean install of Zen Cart 1.5 (lots of possibilities - from a broken template, a bad merge, leftover files from 1.3.8, renaming files to "back them up", another add-on causing the issue, etc).

When testing (Zen Cart 1.5.x):

  • Passing the products_id to the category page in a URL (without POST data) did not add a product to the shopping cart.
  • In the default template products_id is only added to the form (action URL) when "Display Product Add to Cart Button = 2" and "Display Multiple Products Qty Box Status = 0".
  • Using the form to add products to the shopping cart still worked after removing products_id from the generated form (action URL) in the default template.
    (tested with the following: clean ZC 1.5.0, clean ZC 1.5.1, ZC 1.5.0 w/ USU, ZC 1.5.1 w/ USU).

To narrow things down, see if everything works with the stock Zen Cart template and go through the steps for Diagnosing Obscure Issues.

raimond:

... I've read it makes use of the backlink, and many more has a problem with the backlink, but didn't find a solution.
The only major issue I know of in Zen Cart 1.5.x with the "back" function is caused when a 404 occurs (template issues or broken link) and when all URLs (for files not existing) are set to go to Zen Cart. This was actually caused by Zen Cart adding the "404 Page Not Found" to the page history. The fix is posted here.

06 Oct 2013, 09:45
#504
datax avatar

datax

New Zenner

Join Date:
Jun 2006
Posts:
37
Plugin Contributions:
0

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

Hello,

Need some help.
I read the forum, can't find it.
Is it possible to get the manufacturersname into de product-url?

06 Oct 2013, 10:37
#505
topcat24 avatar

topcat24

New Zenner

Join Date:
Jul 2007
Posts:
45
Plugin Contributions:
0

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

I have installed the latest version but am getting 301 redirect at checkout part for 3D secure for the page
ceon_sage_pay_direct_3d_secure_iframe.php?made_by=ceon [HTTP/1.1 301 Moved Permanently 366ms]

So that it is impossible for people to check out with payment as it redirects to the home page index.html?made_by=ceon instead of the 3D secure iframe. I have checked in the settings and this page is not included to be rewritten, so please can someone help

The iframe shows when the Ultimate SEO is turned off just not when it is turn on

06 Oct 2013, 19:58
#506
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 3rd party module installed (sage pay) probably does not use a zen cart page, yet calls application_top. You will probably need to exempt the 3rd party module's call back file manually or turn off automatic redirects.

If you choose to exempt by editing, there was a post earlier in this thread on the subject. The post included which file and where in the file to edit.

Otherwise just turn off automatic redirects (they are only needed if you constantly change you product / category titles - or are migrating an existing store with well established URLs).

The next version will have better support for scripts calling application_top which are not coded as zen cart pages. Not really sure of the logic behind not coding these as zen cart pages (yet calling application_top)... Permanent work around will probably be optional.. Adding an addition file lookup (minor performance hit).

07 Oct 2013, 08:50
#507
topcat24 avatar

topcat24

New Zenner

Join Date:
Jul 2007
Posts:
45
Plugin Contributions:
0

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

lhungil:

The 3rd party module installed (sage pay) probably does not use a zen cart page, yet calls application_top. You will probably need to exempt the 3rd party module's call back file manually or turn off automatic redirects.

If you choose to exempt by editing, there was a post earlier in this thread on the subject. The post included which file and where in the file to edit.

Otherwise just turn off automatic redirects (they are only needed if you constantly change you product / category titles - or are migrating an existing store with well established URLs).

The next version will have better support for scripts calling application_top which are not coded as zen cart pages. Not really sure of the logic behind not coding these as zen cart pages (yet calling application_top)... Permanent work around will probably be optional.. Adding an addition file lookup (minor performance hit).

Thanks I have just turned off the redirects and that works OK

11 Oct 2013, 17:29
#508
twi avatar

twi

Zen Follower

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

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

hi Hungl

Is there a way to add a specific word behind the rewritten category URL?

for instance: caterory is "girls toy"

Rewritten URL is https://www.mysite.com/girls-toy-c-3........

What I want to accomplish is: https://www.mysite.com/girls-toy-party-supplies-c-3........

Is there a way to add the red words above at the .htaccess file? (if that is where I should do it at)

11 Oct 2013, 18:36
#509
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]

twi:

... Is there a way to add a specific word behind the rewritten category URL? ...
Yes. A couple of different ways actually.

  1. Rename your category to include what you want shown in the URL. This is the simplest solution to change the text displayed in the URL.
  2. Use the PCRE filter to replace "girls toy" with "girls toy party supplies". The PCRE filter essentially uses PHP preg_replace to change the "name" returned. While this does allow lots of flexibility if you have a large number of rules it can slow down your website (I generally use no more than five or six).
  3. Add a "defined URLs" file. This is not documented anywhere (on purpose) and requires the "global" cache to be enabled. Using this option essentially tells the module "Do not determine the text to be added to the URL, here is what you should use". Be careful when using this method to ensure your URLs are valid (no spaces, no extended character sets etc) or if you absolutely must use non conforming characters run rawurlencode over the URL first.

More Details

  1. Simply open up the Zen Cart administrative interface and navigate to the category you wish to change. Edit the category title. This module will automatically know you made the change and handle altering the generated URLs, canonical URLs, and redirects if you have them enabled.
  2. Change the configuration setting for the PCRE filter... Adding something like "^girls toy$=>girls toy party supplies". May need to alter this a little depending upon your server. Again, the module will handle generating the new URLs, canonical URLs, and redirects if you have them enabled.
  3. Create the file "/includes/languages/english/extra_definitions/url_overrides.php". For categories add "define('CATEGORY_NAME_3_15','girls-toy-party-supplies');" where "3_15" is the full cPath for the category. For products add "define('PRODUCT_NAME_20','party-favors');" where "20" is the product ID. Make sure the "global" cache is enabled. In this mode you will need to manually update the file in the future if you wish to change the URL for a category or product defined in this file (ones not defined here are still automatically generated).

Another Consideration
Keep in mind depending upon your category structure, you may want to have two categories... One "girls toy" category and a sub-directory "party supplies"... If you enabled "url format: parent" and "categories as directories: short" your category URL would become "/girls-toy-party-supplies-c-3_15/party-favors-p-20". Keep in mind these settings will affect all generated URLs.

11 Oct 2013, 19:11
#510
twi avatar

twi

Zen Follower

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

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

Thanks lHungl.

I have though about Option1. But that would make my sidebar links to the categories way too long and awkward looking.

Option 2 is not the best since you mention it will slow down the site. In this case, I actually have a lot of sub categories that needs to be redone.
To describe exactly my situation; I have a top category of "Party Supplies" Then numerous sub categories under "party supplies" e.g. Party supplies>Mickey Mouse.

What I want to really do is to have https://www.mysite.com/mickey-mouse-party-supllies........

I will try option 3 and see if i am able to make it work. Many thanks again.

11 Oct 2013, 19:36
#511
twi avatar

twi

Zen Follower

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

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

lhungil:

Yes. A couple of different ways actually.

  1. Rename your category to include what you want shown in the URL. This is the simplest solution to change the text displayed in the URL.
  1. Use the PCRE filter to replace "girls toy" with "girls toy party supplies". The PCRE filter essentially uses PHP preg_replace to change the "name" returned. While this does allow lots of flexibility if you have a large number of rules it can slow down your website (I generally use no more than five or six).
  1. Add a "defined URLs" file. This is not documented anywhere (on purpose) and requires the "global" cache to be enabled. Using this option essentially tells the module "Do not determine the text to be added to the URL, here is what you should use". Be careful when using this method to ensure your URLs are valid (no spaces, no extended character sets etc) or if you absolutely must use non conforming characters run rawurlencode over the URL first.

More Details

  1. Simply open up the Zen Cart administrative interface and navigate to the category you wish to change. Edit the category title. This module will automatically know you made the change and handle altering the generated URLs, canonical URLs, and redirects if you have them enabled.
  1. Change the configuration setting for the PCRE filter... Adding something like "^girls toy$=>girls toy party supplies". May need to alter this a little depending upon your server. Again, the module will handle generating the new URLs, canonical URLs, and redirects if you have them enabled.
  1. Create the file "/includes/languages/english/extra_definitions/url_overrides.php". For categories add "define('CATEGORY_NAME_3_15','girls-toy-party-supplies');" where "3_15" is the full cPath for the category. For products add "define('PRODUCT_NAME_20','party-favors');" where "20" is the product ID. Make sure the "global" cache is enabled. In this mode you will need to manually update the file in the future if you wish to change the URL for a category or product defined in this file (ones not defined here are still automatically generated).

Another Consideration
Keep in mind depending upon your category structure, you may want to have two categories... One "girls toy" category and a sub-directory "party supplies"... If you enabled "url format: parent" and "categories as directories: short" your category URL would become "/girls-toy-party-supplies-c-3_15/party-favors-p-20". Keep in mind these settings will affect all generated URLs.

where do I enable "global" cache?

11 Oct 2013, 21:09
#512
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]

twi:

where do I enable "global" cache?

  1. Log into your Zen Cart administrative interface.
  2. Select "Configuration" -> "Ultimate (SEO) URLs" from the administrative menu.
  3. Make sure "Enable SEO cache to save queries?" is set to "true".

By default the "global" cache is enabled.

12 Oct 2013, 18:40
#513
twi avatar

twi

Zen Follower

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

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

lhungil:

  1. Log into your Zen Cart administrative interface.
  1. Select "Configuration" -> "Ultimate (SEO) URLs" from the administrative menu.
  1. Make sure "Enable SEO cache to save queries?" is set to "true".

By default the "global" cache is enabled.

Global cache as describe is set to : "true"

the file i created is below (file created is named "url_overrides.php"):

<?php /** * NOTE: "global" cache NEED TO BE "TURNED ON". * LINE USED FOR CATEGORIES: define('CATEGORY_NAME_avenger-c-1_281','avenger-party-supplies') * LINE USED FOR PRODUCTS: define('PRODUCT_NAME_20','party-favors') * @ * @ */ //Title of URL Rewrite define('CATEGORY_NAME_avenger-c-1_281','avenger-party-supplies') ------------------------ It still doesn't overwrite the url. Can you take a look at what I did wrong? My category structure is: "Party Supplies Print>Avenger" "Party Supplies Print>etc......" The original SEO overwritten URL is: <http://www.mysite.com/avenger-c-1_281/> URL wanted: http:/www.mysite.com/avenger-party-supplies-c-1_281/ (the above is a subcategory under Party Supplies Print)
12 Oct 2013, 19:12
#514
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]

define ('CATEGORY_NAME_1_281','avenger-party-supplies');

14 Oct 2013, 14:01
#515
twi avatar

twi

Zen Follower

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

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

lhungil:

define ('CATEGORY_NAME_1_281','avenger-party-supplies');

It works this time! Thank you again and again. You come through to help as always.

15 Oct 2013, 14:02
#516
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

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

lhungil:

Double check your installation. Something must be different between your upgraded installation and a clean install of Zen Cart 1.5 (lots of possibilities - from a broken template, a bad merge, leftover files from 1.3.8, renaming files to "back them up", another add-on causing the issue, etc).

When testing (Zen Cart 1.5.x):

  • Passing the products_id to the category page in a URL (without POST data) did not add a product to the shopping cart.
  • In the default template products_id is only added to the form (action URL) when "Display Product Add to Cart Button = 2" and "Display Multiple Products Qty Box Status = 0".
  • Using the form to add products to the shopping cart still worked after removing products_id from the generated form (action URL) in the default template.

(tested with the following: clean ZC 1.5.0, clean ZC 1.5.1, ZC 1.5.0 w/ USU, ZC 1.5.1 w/ USU).

To narrow things down, see if everything works with the stock Zen Cart template and go through the steps for Diagnosing Obscure Issues.

The only major issue I know of in Zen Cart 1.5.x with the "back" function is caused when a 404 occurs (template issues or broken link) and when all URLs (for files not existing) are set to go to Zen Cart. This was actually caused by Zen Cart adding the "404 Page Not Found" to the page history. The fix is posted here.

It is a clean install of 1.5.1 with data migration....later installed the addons like Ultimate SEO.
When I use the Classic template, I got the same issue. Also purged cache....always get the product_id in the url of the previous product in cart

15 Oct 2013, 15:43
#517
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]

Just to make this absolutely clear: "Ultimate URLs is not causing your product to be added to the shopping cart. It does not include any code related to the shopping cart or adding products to the shopping cart. The problem you have reported does not exist on a clean Zen Cart 1.5.x installation with Ultimate URLs installed."

Zen Cart's core code adds the product_id to the URL when "Display Product Add to Cart Button = 2" and "Display Multiple Products Qty Box Status = 0". This is normal and does not indicate an issue or error. This is not what is causing products to be added a second time.

Ultimate URLs is acting exactly how it should act when Zen Cart requests the products_id be included in the URL (it does what it is told and adds the products_id).

raimond:

It is a clean install of 1.5.1 with data migration....later installed the addons like Ultimate SEO.
When I use the Classic template, I got the same issue. Also purged cache....always get the product_id in the url of the previous product in cart
I am unable to duplicate your reported issue "When products_id is in the URL to a category page the product is added to the shopping cart". This is NOT an issue with this module, but most likely caused by some other modification made to your Zen Cart installation.

Somewhere in your installation something has been changed to add the product when the products_id is in $_GET. This is NOT normal Zen Cart operation (1.5.x uses $_POST data not $_GET data).

Please do not post further in this thread as your issue is NOT caused by "Ultimate URLs".

I would suggest you hire an experienced Zen Cart developer to find and fix the issue you are encountering (with your specific Zen Cart installation). You may also want to start a new thread with a clear and concise description of the issue you are encountering: "When products_id is in the URL to a category page the product is added to the shopping cart".

17 Oct 2013, 17:53
#518
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]

raimond:

It is a clean install of 1.5.1 with data migration....later installed the addons like Ultimate SEO.
When I use the Classic template, I got the same issue. Also purged cache....always get the product_id in the url of the previous product in cart
Just for anyone else reading this thread who may run into the same problem... The issue has been tracked down to some core Zen Cart code which does not scrub the old "products_id" from the URL. This code is used to create the "buy now" form action (not the "add to cart" action - which I thought the case where the issue occurred).

So if you have:
Display Product Add to Cart Button: 1
Display Multiple Products Qty Box: 0

You will want to apply the code changes posted here.

22 Oct 2013, 14:28
#519
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

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

I have tried this plugin installation three times now. All with the same results. I am running on a GoDaddy Linix hosting. I have modified the RewriteBase to the appropriate url folder.

When I execute the site home page every bit of text, links, sidebars, etc are missing. I have attached images of before and after home page execution.

Does anyone have any idea what is causing Ultimate SEO 2.2 from working correctly?
Attachment 13222Attachment 13223

22 Oct 2013, 14:44
#520
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]

jodean:

I have tried this plugin installation three times now. ... When I execute the site home page every bit of text, links, sidebars, etc are missing. ...
Start by clicking "reply". Now scroll up and read the "Posting Tips" (found right above where you are typing to make a post). Next respond to all of the relevant questions in the "Posting Tips". Without the answers to those questions (including full version numbers of the relevant modules) and a link to your site so we can "see" what is not working we will not be able to help you. Feel free to "obscure" the link to your website adding spaces or [.] in place of dots.