How Do I Hijack a URL from Plugin
-
How can a plugin hijack a URL in WordPress without touching the .htaccess file? And let’s assume %category%/%postname% is the preferred post URL format.
For instance, let’s say my plugin is in the folder:
wp-content/plugins/mycatalog
And I want to direct all URL traffic like…
http://[website]/catalog
http://[website]/catalog/product/400…to…
wp-content/plugins/mycatalog/app.php
Note a [website] could be something like http://mysite.com or http://mysite.com/wordpress, so whatever you propose should work with either one.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How Do I Hijack a URL from Plugin’ is closed to new replies.