• customer service QQ:    WeChat: Contact number: 18613993467     

empire cms Backend access link prompts "illegal source" solution

Suyou Network (10 years of experience), serves tens of thousands of companies, and has fixed transparent quotations.Domain name registration, hosting /One-stop service for server and website source code.A physical company, a professional team, worth choosing!Website building business: corporate website construction, company official website production, foreign trade website construction, website imitation, website copying, imitation site, foreign trade website construction, single-page customer service WeChat【 suyoufuwu】


Reasons for prompting "illegal source"

empire CMS After the update and upgrade to 7.2, a new background security mode was added, and the background launched King Kong mode to verify the source of the link.All background links need to be logged in before accessing. Directly forcing the link to the background page will prompt "illegal source".Users who are not logged in to the backend normally cannot directly access the content, which ensures the security of the backend data.

empire cms Backend access link prompts "illegal source" solution

So in our daily use, we normally access the background link and also prompts how to solve the problem of "illegal source". The solution is as follows.

“Illegal Source" Solution

1、Add the link to the end <?=$ecms_hashur['href']?>Functions, such as:

Link address with parameters:

$ecms_hashur=hReturnEcmsHashStrAll();
abc.php?<?=$ecms_hashur['href']?>&a=get

Link address without parameters:

$ecms_hashur=hReturnEcmsHashStrAll();
TagsClass.php<?=$ecms_hashur['whehref']?>

<?=$ecms_hashur['href']?>After each login, the system will dynamically generate a random authentication code. Each time the background link is accessed, it will determine the link. <?=$ecms_hashur['href']?>Is the authentication code generated by the system? <?=$ecms_hashur['href']?>If the authentication codes are equal, if not equal, it will prompt "illegal source".


2、Turn off the safe King Kong mode. If you don’t know much about development, it is recommended to turn off the safe mode in the background directly.

In the "Security Parameter Configuration" of the system menu, as shown in the figure below, close the background and "Open the background source authentication code"

empire cms Backend access link prompts "illegal source" solution


The above is the "Empire" shared by Suyou Network with everyone cms The background access link prompts "Illegal Source" solution". Thank you very much for your patience to read this article. We will provide you with more information on reference, use or learning and communication.We can also provide you with:Enterprise website construction, website imitation, website copying, imitation site, foreign trade website construction, foreign trade website construction, company official website productionFor services, our company serves customers with the service concept of "integrity, professionalism, pragmatism and innovation".If you need cooperation, please scan the code to consult, and we will serve you sincerely.

TAG Label:

National branch station

National branch station