Running non-WordPress PHP files

To run non-WordPress PHP files in a subfolder alongside a WordPress installation, follow these steps to modify your .htaccess file: Choose a Subfolder Name: Decide the name for your subfolder, e.g., mycustomphp. Modify the .htaccess File: Add the following lines above the # BEGIN WordPress section to exclude your subfolder from WordPress’s URL rewriting: RewriteEngine … Read more

How can I make /wp-admin the root url?

You can potentially use redirects to achieve this, it may not be the most ideal or stable solution, and could cause problems with your site. This is why you’re seeing a “too many redirects” error. Every time WordPress loads, it checks if the requested URL is supposed to be the admin URL. If not, it … Read more