Auto links function allows you to create a set of links and keywords.
For example, you have a page http://example.com/laptops and you wish to promote it by the keyword "laptop". After you create an autolink for this keyword to all the words "laptop" on your store CMS pages, Products or Category descriptions will be added to the link http://example.com/laptops.
This way you can build internal crosslinks automatically.
Go to Marketing > Advanced SEO Suite > Settings > Auto Links.
You will see the following fields:
- Add links on - Select content types where autolinks should be applied.
Don't add links inside tags - Ignore matching keywords enclosed in selected tags.
To flexibly skip autolinks for one part but add to another part of the same block or template you may define a custom tag like
<skip_seo>, wrap needed output in the template with a new tag like this:
<p><skip_seo><?php echo $description_text; ?></skip_seo></p> and add this tag as
skip_links to Don't add links inside tags field.
- Skip auto links for a page - Choose pages where auto links should not be placed.
- Paths of templates to add links inside - you may use this option to add auto links to needed blocks. To find out needed template file's paths to put into the field of this configuration option - please set to "Yes" option "Enabled Template Path Hints for Storefront" in Stores > Configuration > Advanced > Developer > Debug to see it on the frontend.
- Links limit per page - global limit of links that should be added on any given page. Leave field empty to disable this limit.