Home  >  Article  >  CMS Tutorial  >  How to modify and beautify DreamWeaver's pagination

How to modify and beautify DreamWeaver's pagination

王林
王林Original
2019-11-09 09:24:412705browse

How to modify and beautify DreamWeaver's pagination

Solution:

Let the paging addresses "Home" and "1" be the same as the category page addresses. If it is an old site, the search engine The duplicate list_4_1.html page has been included, then 301 go to the homepage or delete it. The effect is as follows:

How to modify and beautify DreamWeavers pagination

Solution:

1. Find the file include\arc.listview.class.php and change

How to modify and beautify DreamWeavers pagination

Add this code in front of "//Get links to the previous page and homepage";

2. Find the following lines of code (just before "//Get links to the previous page and home page" below)

How to modify and beautify DreamWeavers pagination

is modified to:

How to modify and beautify DreamWeavers pagination

3. Find

How to modify and beautify DreamWeavers pagination

is modified to:

How to modify and beautify DreamWeavers pagination

Complete!

If it is an old site and the search engine has already included a page like 'list_1_1.html', you can go to the homepage through 301. If it is a virtual machine and cannot be modified, delete it.

Recommended tutorial: Dream Weaving Tutorial

The above is the detailed content of How to modify and beautify DreamWeaver's pagination. 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
Previous article:DedeCMS column settingsNext article:DedeCMS column settings