Home > CMS Tutorial > PHPCMS > body text

How to bind domain name to phpcms column

王林
Release: 2020-02-06 15:46:20
Original
2724 people have browsed it

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}">
Copy after login

Add after it:

<base href="{$PHPCMS[siteurl]}">
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template