I have problem to redirect page in paging system. I have write .htaccess as follows.
RewriteRule ^news.html?page=2 allnews.php?type=1&page2 [NC]
RewriteRule ^news.html allnews.php?type=1 [NC]
Actually I want to add paging system in the news.html. But it is not working :(
Please help me.
Probably final URI should be allnews.php?type=1&page=2
instead of allnews.php?type=1&page2
.
RewriteEngine On
RewriteRule ^news\.html$ /allnews.php?type=1 [NC,QSA]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.