Home > Article > CMS Tutorial > 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:
Solution:
1. Find the file include\arc.listview.class.php and change
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)
is modified to:
3. Find
is modified to:
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!