Making Redirection plugin work in a custom script which uses wp-load.php
-
We have?a script which handles it’s own URL rewriting. e.g. /test/index.php?page=xyz is rewritten as e.g. /test/xyz
This index.php script uses
<?php require 'wp-load.php'; ?>
to work behind the scenes. Is it possible to make the Redirection plugin work in such an environments too?I am currently going through the plugin’s code to figure out how it works and where / if I can hook into the plugin’s features through a custom script.
I could just use .htaccess to do the redirection if this sounds unlikely to you too. But I thought if it was possible to manage it through the plugin it would be easier to manage in the long run.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Making Redirection plugin work in a custom script which uses wp-load.php’ is closed to new replies.