changing default prestashop seo template - seo

Is there any way to change the default structure of SEO phrases (meta description, title, keywords, etc.) after the product is created? Seo phrases can be manually changed for each product - but how to change the generic product seo string?
I'm using presta 1.5. Thanks in advance.

Not sure what you mean by change default phrases, but if you like to change seo phrases for home page (which is used as default) you need to go Preferences>Seo & Urls and change it there.
If you need to customize how they're rendered by default for some reason, you need to override classes/Meta.php (in 1.4 it would be classes/Tools.php) and there you can find methods getMetaTags(), getProductMetas(), getHomeMetas(), completeMetaTags() etc.

Related

All Section Edit on Shopify Are Global - Shopify Debut Theme Customization

I tried following this guide to create an alternative template for customization.
https://shopify.dev/tutorials/customize-theme-create-alternate-templates
However, every single section edit I makee are global.
For example: I have two page template: pages.alternative1.liquid and pages.alternative2.liquid
Whenever I edit a section on a page with pages.alternative1.liquid, the same
edit affects the same section on pages.alternative2.liquid as well. Is this normal behavior from
Shopify? How should I edit the page then so that a change in one section
doesn't affect all template?
*Note: I am editing the Debut default theme
using Shopify editor: Theme => Customize
Best Regards
Yes this is a normal behavior.
Static sections ( they are the section that are called like so {% section 'your section' %} ) share content between them. This means that if you edit one anywhere it will update everywhere you use it.
On another hand section that are used on the homepage via the {{content_for_index}} tag are dynamic and you can create the same section with different content. (but only on the homepage or where the tag in question is present)
So if you like to have different content on the page a single section will not do you any good. You can create multiply sections with different names in order to use them on different pages, but if you have 5-10+ page it's not a viable option, since it will become too much of a cluster of section files.

Different URLs in category and product page in PrestaShop

I'm new in Prestashop and I've got annoying problem.
Here is url for the product:
https://fine.net/category/3-product.html
And it's fine.
But for the category page i've got:
https://fake.net/3-category
I know that I can't remove the number, but I want to add that number to product page like in category page.
I want to have:
https://fake.net/3-category/3-product.html
How to do this?
It's impossible within the default features. You can try to change your URLs in admin panel Configure->Shop Parameters->Traffic & SEO-> SEO & URLs->Schema of URLs and find Route to products, but, unfortunately, by default, you can use only that keywords which are listed below the field and there is no category_id field. So to reach this you need to override some classes like Dispatcher, Link and maybe more or you can get some module which will do this for you

Schema microdata: Is it damaging to reference an item that is only present on some pages?

I'm building a WordPress theme. The LocalBusiness entity is stated in the header of the website (present on every page). I would like to "itemref" the business description, which is only present on the home page. I can put the reference in and it will work on the home page, but on every other page there will be a reference to a non-existent item. Is this a bad thing or not?
The itemref attribute can only be used for referencing elements from the same document.
What to do instead?
You could duplicate the description on each page. If you don’t want to have it as visible content, you could use a meta element.
You could omit the description on the additional pages.
You could (and should anyway) provide the url for the item (typically the homepage, if the whole site is about this business), and hope that consumers interested in this item will follow the URL to learn more about it (so they would find the description).

How to achieve auto contextual linking in the Umbraco CMS?

I want to manage internal contextual link building in my articles, but somewhat in a well-managed and easier way. It is a pain to change all the link URLs in a text if we change a URL of a page which is linked to many pages in their content.
You shouldn't need to change them if you used the content picker to select the page you are linking to because it inserts a URL in the format {localLink:####} where ### is the id of the document the link is pointing to.
This is then parsed and replaced with the correct and current URL when the document is rendered, so it is always current and correct.

Adding Store name to meta title OpenCart 1.5.4

I have a store setup, and the SEO seems fine in terms of ranking. However, one thing I notice is that OpenCart doesn't include the shop name in the meta title.
Is there any way to hard code this in without getting any extensions? Just any pointers would be great.
Thanks!
You could just add it in by editing the header.tpl file in /catalog/view/theme/your-theme-name/template/common/