Testing URL ReWrite .htaccess or web.config

There are at least two methods to test if URL ReWrite is functioning: Are pretty permalinks working? Break .htaccess or web.config to determine if the web server is processing URL ReWrite. Interestingly, IIS and Apache are subject to the same “break” and both respond with server errors if rewrite is broken. IIS web.config Add some… Continue reading Testing URL ReWrite .htaccess or web.config

How to Create a Development WordPress Site Mirror

Here is one way you can set up and run a development (dev) WordPress site, then move the database to production (prod) without manipulating data. Here’s how the “mirrors” were created. Considerations in Brief We developed on separate hardware for dev and prod, but this method may work just as well on the same machine,… Continue reading How to Create a Development WordPress Site Mirror

Protecting Files/Folders, Deny Web Server, Allow PHP

We would like to provide an extra level of security for files and folders that we can’t move outside the web server document root. A common scenario with shared web hosting is that IIS or Apache and PHP run under the same user account. We can give this additional security by leveraging the difference effect… Continue reading Protecting Files/Folders, Deny Web Server, Allow PHP