I'm designing a website in PHP and I would like to work with rewrite rules. All the forums I look for say to edit nginx's configuration file or apache's htaccess file. How to use rewrite_rules in WordPress without editing anything on server?
Can you please reply with a working sample..
Wordpress does use a rewrite file if the function is enabled and available to the server, basically what the rewrite does it redirect all requests to a main index.php file which then based on the URL format you have configured depends on how the URL is handled.
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.