Re: Ultimate SEO 2.200+ (new features)
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
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted 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
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.
Re: Ultimate SEO 2.200+ (new features)
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
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted 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
Try
Re: Ultimate SEO 2.200+ (new features)
Hello,
it does not work, it probably also takes an htaccess rule, otherwise the link does not change.
Ultimate SEO 2.200+ (new features)
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
Re: Ultimate SEO 2.200+ (new features)
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
Re: Ultimate SEO 2.200+ (new features)
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.
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted 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.
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.
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
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.