This hosting maintenance note, published on July 12, 2017, is titled "Two Methods for Adding and Enabling URL Rewriting Rules in the WDCP Panel Environment." The environments or tools involved include WordPress, Apache, Nginx, and the BT Panel.
Software and deployment conditions
Although the WDCP panel has been around for many years and has a considerable user base, even though in the last six months or so there have been simple software updates to the previously unupdated versions, there are still some shortcomings in the details.
Domain and site configuration
Add the rewrite rules from wordpress.conf to the corresponding Nginx rewrite directory. In summary, the two methods above can be used to add custom rules to a WDCP panel site.
Parameters recorded in the original text
- Platform ComponentsManagement panel
Matters mentioned in the article
- First, add URL rewriting rules to the WDCP backend panel.
- Second, modify it directly in the configuration file.
- 1. Add the rewrite rules from wordpress.conf to the corresponding Nginx rewrite directory.
- 2. Modify the configuration file
Usage Environment
WordPress, Apache, Nginx, and BT Panel.
Key points to check
Compatibility checkFirst, verify that the theme or plugin supports the correct WordPress and PHP versions. Before modifying the template, keep a recoverable copy and check the post pages and mobile layout in a preview environment.
Environmental verificationFirst, confirm the actual web server and PHP runtime environment used by the site. Command-line and website processes may use different configuration files; any changes should be verified through the website entry point.