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

Dreamweaver dedecms|Software download page tag, Dreamweaver dedecms_PHP tutorial Dreamweaver dedecms|Software download page tag, Dreamweaver dedecms_PHP tutorial

13 Jul 2016

Dreamweaver dedecms|Software download page tag, Dreamweaver dedecms. Dreamweaver dedecms | software download page tag, Dreamweaver dedecms small upload date: /small[field:pubdate function="GetDateTimeMK(@me)"/] small recommended level: /small[field:softrank function='

Can dedecms use mip? Can dedecms use mip?

23 Jul 2019

Of course dedecms can use mip. The MIP specification released by Baidu is to speed up the loading speed of mobile web pages. Since MIP web pages have a good user experience, Baidu will give priority to including MIP web pages, which brings more PV to the site and is more conducive to SEO.

Detailed introduction to mip Detailed introduction to mip

11 Jun 2017

Search "Baidu MIP" on your mobile phone and you will see a result with a lightning logo. I quickly tried it, and indeed MIP results with the lightning logo appeared in Baidu web search: The page from the MIP official website ranked second in the picture is an example of MIP, with the lightning logo, which is actually the MIP official website. logo. The page that opens after clicking on this result looks like this: From the URL, it shows the cache on Baidu server. It is worth noting that MIP pages appear in ordinary web search results, not just in news searches. This advancement speed is much faster than Google,...

How to create initial MIP configuration and template files How to create initial MIP configuration and template files

01 Nov 2018

This article mainly introduces you to the preliminary use of MIP, that is, how to create mip configuration files and mip template files. MIP stands for Mobile Web Accelerator.

What does Mip mean and what are its functions? What does Mip mean and what are its functions?

01 Nov 2018

MIP is a set of open technical standards for mobile web pages. By providing MIP-HTML specification, MIP-JS runtime environment and MIP-Cache page caching system, mobile web pages are accelerated.

What is Mip's inline frame component? What is Mip's inline frame component?

03 Nov 2018

MIP's inline frame component is a built-in component of MIP, and built-in components are components included in mip.js and can be used directly without introducing additional JS scripts. The tag for the inline frame component in MIP is <mip-iframe>.

Explanation of important attributes in Mip carousel component Explanation of important attributes in Mip carousel component

03 Nov 2018

MIP, mobile web accelerator. <mip-carousel> represents a display method used to support images in MIP, supporting multi-image carousel.

What is the infinite scroll component in Mip What is the infinite scroll component in Mip

06 Nov 2018

MIP stands for Mobile Web Accelerator. The infinite scroll component in MIP (mip-infinitescroll infinite scroll) means that when the user scrolls to the bottom of the page, more data is loaded asynchronously, which is usually suitable for information recommendation.

How to test the operation of Mip page How to test the operation of Mip page

02 Nov 2018

This article mainly introduces how to conduct MIP page testing. MIP mobile web accelerator is used to improve the loading speed of our mobile website. For users who focus on mobile website development, mastering MIP technology has certain advantages.

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