My .htaccess files are intercepting with wordpress .htaccess files, which modules and which settings (specified by .htaccess) are required for WD site to work? In other words, where can I find default WD .htaccess file?
WordPress does not contain
The rules are written into file by
Note that multisite installation has different (more complex) rules and seems to be handled differently.
Here is the default code for that file.
you can check it here for default htaccess file.
Thanks. I hope it helps little.
Use the Freenode's #wordpress to find the appropriate documentation, usually in the
The WP_Rewrite API states
so you must use the API to do the changes, not fully sure what it means but I think it means you cannot trust in your hard-coded .htaccess -files -- things may change even with different WD -versions! So use the API.
The code here has some conditions if the .htaccess -file exists -- not 100% of their inferences because not well-documented and cannot understand the naming there but the central message is probably that the safe way to maintain the rewrite rules is to use the WP_Rewrite API, WP may change in the future.
For example, a simple Apache-rewrite