Can I Use PHP To ReDirect If .htaccess file Isn't Present
-
Hey guys,
Question here. I have a client that uses Yahoo Hosting. Yes, I said it. Yahoo Hosting. They are horrible, atrocious, whatever word you can think of. On a WP install, they don’t even allow an .htaccess file. So every page has index.php in the URL set through the Permalink structure so all the pages load.
Now, I can add PHP strings to that PHP file, and I was wondering how I can call on the Redirection plugin using PHP so that when someone clicks on a page that doesn’t exist anymore, they plugin sees the page it’s supposed to redirect to and redirect accordingly. I’m pretty sure it can be done somehow but don’t know exactly where to start with this.
Thanks
- The topic ‘Can I Use PHP To ReDirect If .htaccess file Isn't Present’ is closed to new replies.