Ecshop Study: remove the <meta name = "generator" content = "ecshop v2.7.3"/> of powered by ecshop and Meta in the title.

Source: Internet
Author: User

This article uses ecshop v2.7.3 as an example. Other versions may be different.

How to remove powered by ecshop from the title:

Open the replicdes/lib_main.php file, and find row 156: $ page_title = $ globals ['_ CFG'] ['shop _ title']. '-'. 'powered by ecshop '; changed to: $ page_title = $ globals [' _ CFG '] ['shop _ title'];

Save and refresh.

<Meta name = "generator" content = "ecshop v2.7.3"/> removal method:

Open schemdes/cls_template.php;
Find row 1100:
$ Source = preg_replace ('/It can be commented out directly or modified into other content.

Another method is to retain the generator but display it as other content. The modification method is as follows:
Open schemdes/cls_ecshop.php
Find lines 21st to 23rd:
Define ('appname', 'ycsh ');
Define ('version', 'v2. 7.3 ');
Define ('release', '123 ');

Modify the content.

 

Ecshop Study: remove the <meta name = "generator" content = "ecshop v2.7.3"/> of powered by ecshop and Meta in the title.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.