How to exclude the domain name from the metatags_title
How to exclude the domain name from the metatags_title
Generally a combination of modifying: includes/languages/YOUR_LANGUAGE/YOUR_TEMPLATE/meta_tags.php and includes/modules/YOUR_TEMPLATE/meta_tags.php
If the file does not exist at the end location, then suggest copying it from the directory above (removing YOUR_TEMPLATE) or the default language of English as well.
YOUR_TEMPLATE is the folder name given to the template you use which ideally should not be any directory that exists in a default zc install but instead a template folder added as part of your build.
EP4 does not add this information as part of the process.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Thanks reply
The domain name is part of the content in the databasse (table:meta_tags_products_description, culumn:metatags_title). The same file, if I import on local host, the content of metatages_title includes the local domain name; if I upload and improt on living site, it includes the living site's domain name. That suggests that the domain name is induced in the EP4 proccess.
I didn't say that EP4 couldn't have an effect on the metatags, but if you did not enter the content into the import file for metatags_title, if they are not appearing in your exported file and also are not appearing in the imported file, but they are appearing on the website, then it is the file(s) on the website that are preparing the information for display. EP4 can turn on/off meta information for a product. It can add/or import specific content to be a part of specific product meta tags, but it does not add the domain name to any of the content.
The fact that importing an EP4 file causes the same response but with different information means that EP4 is triggering the code to show that type of information, but it is not "aware" of what information should be shown and it does not magically add that content.
If you would like, please provide the header row and one row of data for a product that is showing something that you are not wanting and also explain what it is that you do want to have happen.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Thanks nc12345678. I find a few products haven't such problem. It looks like that there is some error in my data prepare code.