define('DISALLOW_FILE_EDIT', true); define('DISALLOW_FILE_MODS', true); Knowledge Base | WP Hosting

Knowledge Base

Get the most out of your shiny new WordPress site.

How to create a redirect in PHP

Say you had domain.com/folder, and you’d like it to automatically redirect to domain.com/otherfolder, do the following: <?php // redirecting elsewhere header("Location:...

Learn More