Add rewrite rule for rewrite endpoint
Rewrite rules only handle incoming requests, they aren’t involved in link generation. The primary WordPress rewrite system is parsed internally with PHP, you won’t see any changes to an .htaccess file when you add an endpoint. The basic .htaccess rules essentially say “If this isn’t a request for a physical file or directory on the … Read more