| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How to modify Contact Us meta tags? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How to modify Contact Us meta tags?
At www.cheapglasses.net, I found the following pages have the same description:
Contact us My Account Register <meta name="description" content="The powerful shopping cart software for web stores and e-commerce enabled stores is based on PHP5 with SQL database with highly configurable implementation based on templates" /> How can we modify each page's meta tags (title, description,keywords),pls?
__________________
https://www.cheapglasses.net/ sells cheap eyeglasses online v5.2 https://www.rx-safety-glasses.com/ https://www.vsgoggles.com/ https://www.glassestech.com https://www.bestpriceglasses.com |
|||||||
#2
|
|||||||||
|
|||||||||
Re: How to modify Contact Us meta tags?
Out of the box you can change the meta description and keywords for content pages only (products, categories, brands, articles, ...). I.e. for those pages that contain information that people may search for in search engines. I believe that for other types of pages the meta tags are almost useless and give you nothing from the SEO perspective.
However, you can alter the tags by creating a module that overrides the \XLite\Controller\AController::getMetaDescription( ) and \XLite\Controller\AController::getKeywords() methods.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
Re: How to modify Contact Us meta tags?
Quote:
how to do, pls?
__________________
https://www.cheapglasses.net/ sells cheap eyeglasses online v5.2 https://www.rx-safety-glasses.com/ https://www.vsgoggles.com/ https://www.glassestech.com https://www.bestpriceglasses.com |
|||||||
#4
|
|||||||||
|
|||||||||
Re: How to modify Contact Us meta tags?
For the contact us page you should create classes/XLite/Module/XC/CustomSkin/Controller/Customer/ContactUs.php with the following contents and then enable Custom Skin module (or redeploy the store if the module is enabled already):
PHP Code:
For other pages you should create similar files, but with a different location/namespace/name of the class being extended. Also, you need the @LC_Dependencies only for controller classes that are added by modules (change it in accordance with the module name), for core classes skip it.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#5
|
|||||||
|
|||||||
Re: How to modify Contact Us meta tags?
I have create ContactUs.php under classes/XLite/Module/XC/CustomSkin/Controller/Customer/
but did not find this module name under /admin.php?target=addons_list_installed
__________________
https://www.cheapglasses.net/ sells cheap eyeglasses online v5.2 https://www.rx-safety-glasses.com/ https://www.vsgoggles.com/ https://www.glassestech.com https://www.bestpriceglasses.com |
|||||||
#6
|
|||||||||
|
|||||||||
Re: How to modify Contact Us meta tags?
Do you see in under /admin.php?target=addons_list_installed&substring=c ustom%20skin ?
If not, please check if there is the classes/XLite/Module/XC/CustomSkin/Main.php file.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions Last edited by qualiteam : 02-16-2016 at 08:00 AM. |
|||||||||
#7
|
|||||||
|
|||||||
Re: How to modify Contact Us meta tags?
no Main.php, I have created this file with the following contents, still not working
Code:
__________________
https://www.cheapglasses.net/ sells cheap eyeglasses online v5.2 https://www.rx-safety-glasses.com/ https://www.vsgoggles.com/ https://www.glassestech.com https://www.bestpriceglasses.com |
|||||||
#8
|
|||||||
|
|||||||
Re: How to modify Contact Us meta tags?
solved.
Re-deploy your store via the admin area of your X-Cart, this is very important, after I re-deploy www.cheapeyeglasses.net, I got what I need. Detailed steps, pls visit http://kingphp.com at http://kingphp.com/411.html
__________________
https://www.cheapglasses.net/ sells cheap eyeglasses online v5.2 https://www.rx-safety-glasses.com/ https://www.vsgoggles.com/ https://www.glassestech.com https://www.bestpriceglasses.com |
|||||||
|
#9
|
|||||||||
|
|||||||||
Re: How to modify Contact Us meta tags?
You can actually redefine the default meta description via a language label, no need to write a module.
The one you are looking for is 'default-meta-description'.
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#10
|
|||||||
|
|||||||
Re: How to modify Contact Us meta tags?
Quote:
good idea
__________________
https://www.cheapglasses.net/ sells cheap eyeglasses online v5.2 https://www.rx-safety-glasses.com/ https://www.vsgoggles.com/ https://www.glassestech.com https://www.bestpriceglasses.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|