i am working on a wordpress website.In this what i want is that when a user hit my website url as www.domainname.com/index.php
it should redirect to www.domainname.com
.That means i just want url without index.php . I also want that when user enters www.domainname.com/any-page-name
then it simply ends with slash just like www.domainname.com/any-page-name/
. I have tried rewrite rules in web.config file but it not works.Any help is appriciated , Thanks in advance.
Rewrite rules in .htaccess, the link below has a tutorial about it:
http://randomtype.ca/blog/the-wordpress-htaccess-file-explained/
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.