Home >CMS Tutorial >PHPCMS >How to bind domain name to phpcms column
1. Resolve the domain name to be bound to the column to the space IP of the virtual host, and bind the domain name to the corresponding column directory.
2. Then modify the header.html file. This file is in the /templates/default/phpcms directory by default.
Find the following code:
<meta name="generator" content="Phpcms {$version}">
Add after it:
<base href="{$PHPCMS[siteurl]}">
3. In the "Basic Configuration" in the background, set the URL to the address of the homepage.
Go to "Channel Management" and set the domain name bound to the column.
Find the config.php file in the root directory and set the value of $cookiedomain to .phpcms.cn.
Finally updating the web page and cache is complete.
Recommended related articles and tutorials: phpcms tutorial
The above is the detailed content of How to bind domain name to phpcms column. For more information, please follow other related articles on the PHP Chinese website!