I am trying tyo change my url address by title, doing change by id its work and show all the content but when trying by title its not show content the .htaccess code is
RewriteRule ^blogview/([-a-zA-Z]+) single1.php?title=$1 [L,QSA]
and the page code is
<a class="bttn" href="/blogview/<?php echo $row['title']; ?>">MORE</a>
the link of url is Page link
更改规则,如下所示:
RewriteRule ^blogview/([A-Za-z\-]*)$ single1.php?title=$1 [L,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.