- The file meets all requirements.
A–Z a–z _ -.
For example, a JS resource with a file path and name that can be routed automatically to PHP:
Examples of JS resource files with file paths and names that cannot route to PHP:
When rewrite rules are added to a site, the added redirect will not work as expected until the site’s rewrite rules are flushed.
To flush rewrite rules in the WordPress Admin dashboard:
- Hover over VIP in the lefthand sidebar menu of the site’s WordPress Admin dashboard.
- Select Rewrite Rules from the fly-out menu.
- Select the “Flush Rules” button at the upper right of the Rewrite Rules dashboard.