Re: Ultimate SEO 2.200+ (new features)
So I'm guessing nothing looks wrong in the coding? :lookaroun
Re: Ultimate SEO 2.200+ (new features)
Except for the user-agent rule and the one that follows, that's as-shipped USU.
I'm just not sure how this rule is going to affect the overall rewrites:
RewriteRule .* - [F,L]
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
lat9
RewriteRule .* - [F,L]
This will return a 403 forbidden error to the client.
The Dot (.) in regex means any character; Dot Star (.*) means 0 or more of any character; F = Forbidden; L = last and stop processing the rule set
Re: Ultimate SEO 2.200+ (new features)
Just an FYI, I put the bot blocking code at the top of the .htaccess in my shop folder and also added it to the .htaccess in the public_html folder. They are now being blocked.
Re: Ultimate SEO 2.200+ (new features)
Is it possible to customize the URLs generated by the Ultimate SEO module? For example, instead of default URLs like 'page 2', 'page 3', and 'page 4', I’d like to assign specific, descriptive names that reflect the content of each page.
This could potentially be achieved by introducing a custom mapping file, such as:
PHP Code:
return [
'page_2' => 'faq',
'page_3' => 'wholesale',
'page_4' => 'services',
];
The module could reference this file during URL generation and, if a custom name is defined, use it instead of the default. This approach would retain existing functionality for undefined pages while offering greater flexibility for SEO and user-friendly URLs.
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
marcopolo
Is it possible to customize the URLs generated by the Ultimate SEO module? For example, instead of default URLs like 'page 2', 'page 3', and 'page 4', I’d like to assign specific, descriptive names that reflect the content of each page.
This could potentially be achieved by introducing a custom mapping file, such as:
PHP Code:
return [
'page_2' => 'faq',
'page_3' => 'wholesale',
'page_4' => 'services',
];
The module could reference this file during URL generation and, if a custom name is defined, use it instead of the default. This approach would retain existing functionality for undefined pages while offering greater flexibility for SEO and user-friendly URLs.
I've created a GitHub issue (https://github.com/lat9/usu/issues/60) to record your request.
Re: Ultimate SEO 2.200+ (new features)
v3.1.2 of USU is now available for download: https://www.zen-cart.com/downloads.php?do=file&id=132
This version contains the correction for GitHub issue #59 (Undefined variable $value_pair)
Re: Ultimate SEO 2.200+ (new features)
Is there a way to quickly get the URI of a given category?
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
retched
Is there a way to quickly get the URI of a given category?
Off the top of my head (so let me know if it doesn't work):
zen_href_link(FILENAME_DEFAULT, 'cPath=' . $categories_id);
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by
lat9
Off the top of my head (so let me know if it doesn't work):
zen_href_link(FILENAME_DEFAULT, 'cPath=' . $categories_id);
That did it!