If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Ultimate SEO v3 (and v2.200) [Support Thread]

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

Started by lhungil on 14 Aug 2012, 2:26 PM · Views: 430,651

Results 1,581 to 1,600 of 1,706
6 Jun 2022, 4:08 PM
#1581
giancalr avatar

giancalr

Zen Follower

Join Date:
Jul 2010
Location:
L'Aquila
Posts:
113
Plugin Contributions:
1

Post #1581 by giancalr

Hi, in the function:
This filter is run before character conversions and stripping of special characters. If you want a dash - in your URLS, use a single space. To escape a character in the regular expression use \ instead of a single.

The format MUST be in the form: find1 => replace1, find2 => replace2.

I wanted to change undescore with the hyphen in the url discount_coupon. etc etc in discount-coupon.
but I have done various tests but it does not work
Thank you

Erboristeria La Spiga e Il Girasole Herbal Shop - https://www.erboristeriabio.com
Golden Eagle Herbal - https://www.erboristeriabio.it
Giraspiga - https://www.giraspiga.com

7 Jun 2022, 11:33 AM
#1582
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #1582 by lat9

giancalr:

Hi, in the function:
This filter is run before character conversions and stripping of special characters. If you want a dash - in your URLS, use a single space. To escape a character in the regular expression use \ instead of a single.

The format MUST be in the form: find1 => replace1, find2 => replace2.

I wanted to change undescore with the hyphen in the url discount_coupon. etc etc in discount-coupon.
but I have done various tests but it does not work
Thank you
Please identify the value that you are entering for the "PCRE Filter Rules" as well as the version of USU and Zen Cart that is in use.

7 Jun 2022, 2:56 PM
#1583
giancalr avatar

giancalr

Zen Follower

Join Date:
Jul 2010
Location:
L'Aquila
Posts:
113
Plugin Contributions:
1

Post #1583 by giancalr

hi, the currently installed version of USU.
3.0.11
To identify the rules What do you mean?
The rule as written says that if there is: find1 => replace1, find2 => replace2.
I tried typing find _ => replace-,
unless he does not want me to write the page file, this is not clear

Erboristeria La Spiga e Il Girasole Herbal Shop - https://www.erboristeriabio.com
Golden Eagle Herbal - https://www.erboristeriabio.it
Giraspiga - https://www.giraspiga.com

7 Jun 2022, 8:11 PM
#1584
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #1584 by lat9

giancalr:

hi, the currently installed version of USU.
3.0.11
To identify the rules What do you mean?
The rule as written says that if there is: find1 => replace1, find2 => replace2.
I tried typing find _ => replace-,
unless he does not want me to write the page file, this is not clear
Try

_ => -
20 Sep 2022, 3:48 PM
#1586
giancalr avatar

giancalr

Zen Follower

Join Date:
Jul 2010
Location:
L'Aquila
Posts:
113
Plugin Contributions:
1

Post #1586 by giancalr

Good afternoon, everyone, I would like to know if to generate hreflang with Ultimate seo url, the parameter entered in the html_header.php is correct

<base href = "<? php echo (($ request_type == 'SSL')? HTTPS_SERVER. DIR_WS_HTTPS_CATALOG: HTTP_SERVER. DIR_WS_CATALOG);?>" /> <? php if (isset ($ canonicalLink) && $ canonicalLink! = '') {?> <link rel = "canonical" href = "<? php echo $ canonicalLink;?>" /> <? php}?> <? php // BOF hreflang for multilingual sites if (! isset ($ lng) || (isset ($ lng) &&! is_object ($ lng))) { $ lng = new language; } if (count ($ lng-> catalog_languages)> 1) { foreach ($ lng-> catalog_languages ​​as $ key => $ value) { echo '<link rel = "alternate" href = "'. ($ this_is_home_page? zen_href_link (FILENAME_DEFAULT, 'language ='. $ key, $ request_type, false): $ canonicalLink. (strpos ($ canonicalLink, '?')? '& amp;': '?'). 'language ='. $ key). '"hreflang ="'. $ key. '"/>'. "\ n"; } } // EOF hreflang for multilingual sites ?>

since many verification tools say there is an error
The alternate link to the page itself is missing. Thanks You

Erboristeria La Spiga e Il Girasole Herbal Shop - https://www.erboristeriabio.com
Golden Eagle Herbal - https://www.erboristeriabio.it
Giraspiga - https://www.giraspiga.com

25 Sep 2022, 3:47 PM
#1587
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #1587 by celextel108

Dear Friends,

We are new to Zen Cart and we are currently testing v1.5.7d [PHP Version: 8.0.19] at https://www.celextel.biz.

We have installed Ultimate URLs USU.3.0.11 Version.

We are seeing Product URLs with Category URLs in the following Format:
category-name-c-2/product-name-p-16.html

Format of alternate URLs setting is Original:
Categories: category-name-c-34
Products: product-name-p-54

Please guide us as to what to do for getting the Product URLs without Category URLs in the following Format:
product-name-p-16.html

Thanks,

Lakshmanan

15 Jan 2023, 7:55 PM
#1588
serge1167 avatar

serge1167

New Zenner

Join Date:
Mar 2020
Location:
Canada
Posts:
1
Plugin Contributions:
0

Post #1588 by serge1167

Hello,
Unfortunately, I can't make this plugin work on my website. When I enabled or disabled it, the links looked the same.
It's not given me any errors on the log.
Zen cart version v1.5.6c.
Plugin: 3.0.11
PHP Version: 7.4.33 (Zend: 3.4.0)
Database Engine: MySQL 5.5.5-10.3.37-MariaDB-log

Please help.

15 Jan 2023, 8:34 PM
#1589
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #1589 by lat9

Serge1167:

Hello,
Unfortunately, I can't make this plugin work on my website. When I enabled or disabled it, the links looked the same.
It's not given me any errors on the log.
Zen cart version v1.5.6c.
Plugin: 3.0.11
PHP Version: 7.4.33 (Zend: 3.4.0)
Database Engine: MySQL 5.5.5-10.3.37-MariaDB-log

Please help.
Er, besides the fact that Zen Cart v1.5.6c won't run successfully on PHP 7.4, I'm also guessing that I've not yet updated USU to run on that PHP version.

16 Jan 2023, 12:08 PM
#1590
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #1590 by lat9

celextel108:

Dear Friends,

We are new to Zen Cart and we are currently testing v1.5.7d [PHP Version: 8.0.19] at www.celextel.biz.

We have installed Ultimate URLs USU.3.0.11 Version.

We are seeing Product URLs with Category URLs in the following Format:
category-name-c-2/product-name-p-16.html

Format of alternate URLs setting is Original:
Categories: category-name-c-34
Products: product-name-p-54

Please guide us as to what to do for getting the Product URLs without Category URLs in the following Format:
product-name-p-16.html

Thanks,

Lakshmanan
Sorry to have taken so long to answer your question.

To get a product URL without the category URL, set Generate cPath parameters to *auto *and Display categories as directories to off.

17 Jan 2023, 6:43 AM
#1591
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #1591 by celextel108

lat9:

Sorry to have taken so long to answer your question.

To get a product URL without the category URL, set Generate cPath parameters to *auto *and Display categories as directories to off.

Thanks for your reply.

We are getting the URL as follows when we do this:
product-name-p-16.html?cPath=3

Please guide us as to what to do for getting the Product URLs without Category URLs in the following Format if it is possible:
product-name-p-16.html

Thanks,

Lakshmanan

17 Jan 2023, 4:10 PM
#1592
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #1592 by carlwhat

lat9:

... set Generate cPath parameters to *auto *....

actually, i believe this should be:

set Generate cPath parameters to *off *

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

18 Jan 2023, 5:33 AM
#1593
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #1593 by celextel108

carlwhat:

actually, i believe this should be:
set Generate cPath parameters to *off *

We are seeing Product URLs with Category URLs in the following Format in both the modes of Generate cPath parameters:
category-name-c-2/product-name-p-16.html

18 Jan 2023, 6:41 AM
#1594
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Post #1594 by carlwhat

celextel108:

We are seeing Product URLs with Category URLs in the following Format in both the modes of Generate cPath parameters:
category-name-c-2/product-name-p-16.html

you are missing the:

Display categories as directories
Key: USU_CATEGORY_DIR

this should be OFF.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

19 Jan 2023, 9:44 AM
#1595
celextel108 avatar

celextel108

New Zenner

Join Date:
Sep 2022
Location:
Chennai
Posts:
38
Plugin Contributions:
0

Post #1595 by celextel108

carlwhat:

you are missing the:
Display categories as directories
Key: USU_CATEGORY_DIR
this should be OFF.
Thanks for the help.

We are getting only the Product URLs when the following settings are OFF:
Generate cPath parameters
Display categories as directories

Thanks,

Lakshmanan

3 Feb 2023, 1:23 PM
#1596
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #1596 by lat9

v3.1.0 of Ultimate SEO URLs is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=132

This release contains changes associated with the following GitHub issues:

#44: Add notifications to enable site-specific customizations.
#50: Document that any image/file names containing USU's reg_anchors (e.g. -p-) will also be redirected.
#51: Correct PHP Fatal error when a URL contains invalid characters.
#52: Correct out-of-memory condition for sites with large numbers of products; using per-page caching instead of database-caching.
#53: Drop support for Zen Cart versions prior to 1.5.7a
#54: Use zen_cfg_read_only for the plugin's configured version.
#55: Add support for the ask_a_question page.
#56: Add support for the product_reviews_write page.

8 Feb 2023, 11:15 AM
#1597
giancalr avatar

giancalr

Zen Follower

Join Date:
Jul 2010
Location:
L'Aquila
Posts:
113
Plugin Contributions:
1

Post #1597 by giancalr

Hello, the latest version supports multilingual
so as to obtain this result?
https://www.biocanapa.abruzzo.it/index.html?language=en
in:
https://www.biocanapa.abruzzo.it/en/
Thank you

Erboristeria La Spiga e Il Girasole Herbal Shop - https://www.erboristeriabio.com
Golden Eagle Herbal - https://www.erboristeriabio.it
Giraspiga - https://www.giraspiga.com

8 Feb 2023, 12:45 PM
#1598
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #1598 by lat9

giancalr:

Hello, the latest version supports multilingual
so as to obtain this result?
https://www.biocanapa.abruzzo.it/index.html?language=en
in:
https://www.biocanapa.abruzzo.it/en/
Thank you
USU has supported multi-lingual URLs for a while now!

You'd need to add some site-specific customizations to get that second link to record the $_SESSION['language_id'] as the numeric value of the site's English language when that link is received.

8 Feb 2023, 3:18 PM
#1599
giancalr avatar

giancalr

Zen Follower

Join Date:
Jul 2010
Location:
L'Aquila
Posts:
113
Plugin Contributions:
1

Post #1599 by giancalr

lat9:

USU has supported multi-lingual URLs for a while now!

You'd need to add some site-specific customizations to get that second link to record the $_SESSION['language_id'] as the numeric value of the site's English language when that link is received.

Thanks for the reply, but some time ago I had already asked for this and I was told that it wasn't possible at the moment, what I'm asking is if it can be done, where to intervene, which file? htaccess? other file?

my site is in 5 languages, and I would like to be able to make them all do this:
https://www.biocanapa.abruzzo.it/index.html?language=en to
https://www.biocanapa.abruzzo.it/en/
https://www.biocanapa.abruzzo.it/index.html?language=es to
https://www.biocanapa.abruzzo.it/es/
https://www.biocanapa.abruzzo.it/index.html?language=fr to
https://www.biocanapa.abruzzo.it/fr/
https://www.biocanapa.abruzzo.it/index.html?language=de to
https://www.biocanapa.abruzzo.it/de/

maybe I explained myself better,

Thank you

Erboristeria La Spiga e Il Girasole Herbal Shop - https://www.erboristeriabio.com
Golden Eagle Herbal - https://www.erboristeriabio.it
Giraspiga - https://www.giraspiga.com

11 Feb 2023, 5:20 PM
#1600
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #1600 by delia

1.5.8, php 8.1
Is this error due to ultimate seo? Default 1.5.8 files.

 PHP Fatal error: Uncaught Error: Undefined constant "TOPMOST_CATEGORY_PARENT_ID" in /home/xxxxx/public_html/store/includes/functions/functions_categories.php:186
Stack trace:
#0 /home/xxxx/public_html/store/includes/classes/usu.php(903): zen_get_parent_categories(Array, 3)
#1 /home/xxxxx/public_html/store/includes/classes/usu.php(729): usu->get_full_cPath(3, 3)
#2 /home/xxxxx/public_html/store/includes/classes/usu.php(653): usu->get_category_name(3)
#3 /home/xxxxx/public_html/store/includes/classes/usu.php(385): usu->get_product_name(24, NULL)
#4 /home/xxxxx/public_html/store/includes/classes/usu.php(223): usu->parse_parameters('product_info', 'products_id=24', '?')
#5 /home/xxxx/public_html/store/includes/classes/observers/UsuObserver.php(59): usu->href_link('product_info', 'products_id=24', 'NONSSL', true, true, false, true)
#6 /home/xxxxx/public_html/store/includes/classes/traits/NotifierManager.php(87): UsuObserver->update(Object(notifier), 'NOTIFY_SEFU_INT...', Array, NULL, 'product_info', 'products_id=24', 'NONSSL', true, false, true, NULL)
#7 /home/xxxxx/public_html/store/includes/functions/html_output.php(18): base->notify('NOTIFY_SEFU_INT...', Array, NULL, 'product_info', 'products_id=24', 'NONSSL', true, false, true)
#8 /home/xxxxxx/public_html/store/includes/classes/shopping_cart.php(2056): zen_href_link('product_info', 'products_id=24')
#9 /home/xxxxx/public_html/store/includes/main_cart_actions.php(53): shoppingCart->actionBuyNow('shopping_cart', Array)
#10 /home/xxxxx/public_html/store/includes/init_includes/init_cart_handler.php(42): require('/home/humbleabo...')
#11 /home/xxxxx/public_html/store/includes/autoload_func.php(40): require_once('/home/humbleabo...')
#12 /home/xxxxxx/public_html/store/includes/application_top.php(237): require('/home/humbleabo...')
#13 /home/xxxxx/public_html/store/index.php(25): require('/home/humbleabo...')
#14 {main}
  thrown in /home/xxxxx/public_html/store/includes/functions/functions_categories.php on line 186.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo