Home  >  Article  >  CMS Tutorial  >  How to bind domain name to phpcms column

How to bind domain name to phpcms column

王林
王林Original
2020-02-06 15:46:202683browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn