[Prestashop help] How to change/edit Meta Tags, Meta Title for Prestashop pages?
The Prestashop platform generates Meta Tags, Meta Title by 2 ways:
- Static Pages: pagenotfound page, best-sales, contact page, Homepage (index), new-products, forgot password, prices-drop, sitemap, address, addresses, login & edit profile(authentication), cart page, discount, order history, login & register (identity), my-account, order-follow, order-slip, order, search, stores, guest-tracking, order-confirmation.
- Dynamic pages: Meta tags, Meta title automatic generate based structures of entity. They are pages: product, category, manufacturer, supplier, cms, cms Category.
This post will help you how to modify Metag Tags, Meta Title from Prestashop admin or Prestashop’s Source PHP.
How to change/edit Metag Tags, Meta Title for Static pages?
Step 1: Go to Prestashop Backoffice 1.7 > Shop Parameters > Traffic & SEO, click SEO & URLs tab
In Prestashop 1.6, go to Preferences > SEO & URLs
Step 2: Click Edit a page and enter your information
- Page title: It is Meta Title tag like <title>Something</title>
- Meta description: In Presrashop website, it display like <meta name=”description” content=”Something“>
- Meta keywords: In Presrashop website, it display like <meta name=”keywords” content=”Something“>
- Rewritten URL: Change URL of page, example from http://prestashop-demo.com/my-page to http://prestashop-demo.com/new-page
How to change/edit Metag Tags, Meta Title for Product pages?
Go to Catalog > Products, edit a Product > Click SEO tab
You can change Page title, Meta description, Meta keywords, Rewritten URL at there form
How to change/edit Metag Tags, Meta Title for category, manufacturer, supplier, cms pages?
Step 1: Go to Catalog > category, manufacturer, supplier, cms Manager, click edit a entity.
You can change Page title, Meta description, Meta keywords, Rewritten URL at there form
How to change/edit Metag Tags, Meta Title from Prestashop’s Source with PHP language?
Step 1: Open PRESTASHOP_ROOT\classes\Meta.php file
Find the method: getMetaTags($idLang, $pageName, $title = ”)
You can view PHP source code that the Prestashop use to generate Meta Tags for a website
Step 2: you can directory edit any Metag function for pages:
- Product page: getProductMetas method
- Category page: getCategoryMetas method
- Manufacturer page: getManufacturerMetas method
- Supplier page: getSupplierMetas method
- Cms page: getCmsMetas method
- Cms Category page: getCmsCategoryMetas method
- Static page: getMetaByPage method
Related Articles
Categories
- E-commerce (30)
- B2B E-commerce (3)
- E-Commerce Trends (2)
- Ecommerce Tips and Advice (8)
- Merchants (3)
- Social, SEO & Marketing (8)
- Success Stories (2)
- Mobile Native Web App (1)
- Prestashop (97)
- Admin setup & manage Store (18)
- B2B commerce (7)
- Customize your online store (29)
- Developement (10)
- Dropshipping (1)
- Fix Errors (1)
- Improve Conversion rate, Sales (9)
- Improve customer service (13)
- Marketing & Promotions (7)
- Performance & Security (6)
- Prestashop modules (15)
- Prestashop Templates (7)
- Promote Products (5)
- SEO & Increase Traffic (12)
- Wordpress (1)
- Wordpress Mobile (1)
Popular Posts
-
[Prestashop development] Some New Smarty tags, Smarty functions, Smarty modifiers in Prestashop 1.7
The Prestashop use Smarty as a template engine that complied *.tpl file intro HTML/CSS source. Smarty is a template engine for…
-
10 Free Prestashop modules that really work
As an eCommerce entrepreneur who is running an online store built on PrestaShop, you must love to set up useful…
2 Comments
Hi
Thanks for this tutorial. In my PrestaShop 1.6.1.23 at new products/special pages when I go to the next page it says “Shop name – Page 2” which “shop name” is working correctly and showing my shop. But about “page” word in the title, I want to translate it to my language. How can I change the “page” word in meta title?
I couldn’t find the word in the Meta.php file (I’m not sure where to search for it)
Thank you in advance
for your issue:
Please open a ticket https://taydoapp.com/helpdesk
and give us your admin + ftp account
we can check this issue for help you.
Do not worry, if you need any our support. We are always ready to free work.
Thanks.