Ecshop AD link Address open have problem modify affiche.php for normal link

Source: Internet
Author: User

Believe that many have used ecshop webmaster know that
Ecshop AD link address in the form of
"Affiche.php?ad_id=1&uri=http%3a%2f%2fwww.ecmoban.com"
In the middle of it with affiche.php made a transition, the purpose is to statistical advertising effect.
This connection has the possibility of a transition error, and is not conducive to SEO, can be changed to a direct form, that is, the background set what the link address, directly open what the link address.
This can be modified as follows:
Open the Web site root directory (that is, the server root)/includes/lib_insert.php file
Locate the following code:
$ads [] = "<a href= ' affiche.php?ad_id= $row [ad_id]&amp;uri=". UrlEncode ($row ["Ad_link"]). "‘

Modified to:

$ads [] = "<a href=". $row ["Ad_link"]. "‘
Note: There are two places to modify

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.