Home Website Source Code Baidu mip Dreamweaver/DEDECMS transformation MIP tutorial and download

Dreamweaver/DEDECMS transformation MIP tutorial and download

Create a MIP multi-end based on the existing site

If you already have a DreamWeaver UTF site and need to carry out MIP transformation and create a new MIP site to achieve common data with the main site, you can follow the following operations.
Our goal is to try not to move anything on the main site, so here I only performed one operation on the main site when transforming the MIP site
Just add a system parameter for the MIP address.
Proceed as follows:
Enter the background and click "System" "Basic System Parameters" "Add New Variable"


The variable name is cfg_mip Parameter description MIP address Then click to save the variable
After saving the variable, there will be an additional mip address in the basic system parameters. You can fill in the second-level domain name you bind to the new MIP, click Save, and that’s it!

Instructions for creating a MIP site


Our website is generally a virtual host or server (VPS/cloud server). For these two situations, the differences are as follows:

Virtual host, open a new virtual host, preferably in the same computer room, resolve the mip domain name to the new virtual host, and bind the MIP domain name to the virtual host, then copy your main site program to Inside the new virtual host. If it is just the same computer room, not the same server, go to the data folder of the MIP site to find the common.inc.php file, and change $cfg_dbhost = 'localhost'; localhost here to the database IP or database domain name, and the database must Allow remote connections.

For the server, you can create a new site, bind the MIP domain name, and then parse the MIP domain name. You can also copy the main site's program and put it into the new site. Same method for VPS/cloud servers.
Now that the creation of the MIP site is complete, use the MIP domain name to access it to see if it can be accessed normally. If so, it means that the new MIP site is successful,
Let's start replacing the template and some program files. miptihuan.zip (25.55 KB, download times: 284)
Here is the MIP template for your DreamWeaver site, which is different from the first template!
Unzip to

Overwrite this include folder directly into the include folder of your current MIP site,
Among them arc.archives.class.php

In line 253, 254, and 255, replace the domain name starting with IMG with your main site or image address. Replace the domain name starting with mip with your MIP address

Open the templates folder. There is a mip folder inside, which contains five files. It is overwritten into the template used by your current MIP site and replaces the current template. If you have changed the name of the homepage, list page, or content page, or Additional pages have been added, and you need to modify and replace them yourself.
If the template program contains my MIP address, replace all with your mip address
Because I directly call the main site picture, where the main site is included, change it here to your main site address
Then log in to the MIP site backend, update the cache and generate the entire site with one click, and check it out.
Inspection and submission are explained on the first floor. .
I hope everyone will reply in time if you don’t understand the part after reading the tutorial. I will fix it from time to time!
Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

WordPress plug-in--WP BaiDu Submit structured data plug-in quickly and comprehensively submits web pages to Baidu, wordpress--wp_PHP tutorial WordPress plug-in--WP BaiDu Submit structured data plug-in quickly and comprehensively submits web pages to Baidu, wordpress--wp_PHP tutorial

12 Jul 2016

WordPress plug-in--WP BaiDu Submit structured data plug-in quickly and comprehensively submits web pages to Baidu, wordpress--wp. WordPress plug-in--WP BaiDu Submit structured data plug-in quickly and comprehensively submits web pages to Baidu, wordpress--wp 1. Introduction to WP BaiDu Submit WP BaiDu Submit helps to have Baidu webmaster platform chain

Complain about Baidu search, be less hooligan and more responsible! , Baidu search less one_PHP tutorial Complain about Baidu search, be less hooligan and more responsible! , Baidu search less one_PHP tutorial

12 Jul 2016

Complain about Baidu search, be less hooligan and more responsible! , Baidu search is one less. Complain about Baidu search, be less hooligan and more responsible! , Baidu search is missing. As a programmer, I rarely use Baidu. The same technical problem can be easily found on Google.

Baidu map event processing--getting the latitude and longitude (simple use of Baidu map)_html/css_WEB-ITnose Baidu map event processing--getting the latitude and longitude (simple use of Baidu map)_html/css_WEB-ITnose

24 Jun 2016

Baidu Map event processing--getting the latitude and longitude (Baidu Map is simple to use)

Use PHP to capture Baidu Tieba mailbox data, PHP to capture Tieba mailbox_PHP tutorial Use PHP to capture Baidu Tieba mailbox data, PHP to capture Tieba mailbox_PHP tutorial

12 Jul 2016

Use PHP to capture Baidu Tieba mailbox data, and PHP to capture Tieba mailbox. Use PHP to capture Baidu Tieba mailbox data, PHP to capture Tieba mailbox Note: This program may be very suitable for those friends who are doing Baidu Tieba marketing. When I visit Baidu Tieba, I often see Lou

yii2 integrates Baidu editor umeditor and umeditor image upload problem solution, yii2umeditor_PHP tutorial yii2 integrates Baidu editor umeditor and umeditor image upload problem solution, yii2umeditor_PHP tutorial

12 Jul 2016

yii2 integrates Baidu editor umeditor and umeditor image uploading problem solution, yii2umeditor. yii2 integrates Baidu editor umeditor and umeditor image upload problem solution, yii2umeditor Next, let’s talk about how the Yii2 framework integrates Baidu editor umeditor. umedi

Baidu share icon problem_html/css_WEB-ITnose Baidu share icon problem_html/css_WEB-ITnose

24 Jun 2016

Baidu share icon problem

Baidu map page display_html/css_WEB-ITnose Baidu map page display_html/css_WEB-ITnose

24 Jun 2016

Baidu map page display

Login method like Baidu_html/css_WEB-ITnose Login method like Baidu_html/css_WEB-ITnose

24 Jun 2016

Login method like Baidu

Unified configuration management-Baidu disconf_html/css_WEB-ITnose Unified configuration management-Baidu disconf_html/css_WEB-ITnose

24 Jun 2016

Unified configuration management-Baidu disconf

See all articles See all articles

Hot Tools

WordPress MIP: Fanly MIP template, supports independent domain name binding

WordPress MIP: Fanly MIP template, supports independent domain name binding

The Fanly MIP theme plug-in with the same name is here, the Fanly MIP plug-in for WordPress MIP. The definition of Fanly MIP is to allow more WordPress students to introduce Baidu MIP faster and more conveniently, and enjoy the traffic, weight or pleasure brought by Baidu MIP

mip web page template with div css layout, free download of mip template.

mip web page template with div css layout, free download of mip template.

mip web page template with div css layout, free download of mip template.

[Empire MIP transformation] Empire cms7.2 template modification tutorial + template download

[Empire MIP transformation] Empire cms7.2 template modification tutorial + template download

[Empire MIP transformation] Empire cms7.2 template modification tutorial + template download

wordpress mip transformation: singularity dining table mip template

wordpress mip transformation: singularity dining table mip template

wordpress mip transformation: singularity dining table mip template

emlog mip theme emlog_Fanly-MIP

emlog mip theme emlog_Fanly-MIP

emlog_Fanly-MIP is a theme simple article page specially made for Baidu MIP. There are no comments yet. This theme is MIP compliant and setting up the center is easy! It can be better used with the following functions

Hot Article