WordPress: How to do 301 redirects when the old URLs are index.php?variable=something
If you’ve ever looked at the index.php file of a WordPress installation, you know that there’s not much to it. It basically points to the header.php file and the chain of events starts from there that make any given page of your website. I decided I would inject my code just before that process starts. Read More …