[wp-hackers] Wp rewrite rule binding to admin-ajax.php

Lox lox.dev at knc.nc
Thu Mar 10 21:49:46 UTC 2011


2011/3/11 Lox <lox.dev at knc.nc>

> So going to http://mywebsite.com/plugin_api/do/something should be rewrote
> to
> http://mywebsite.com/wp-admin/admin-ajax.php?action=test&do=do&command=something


But it doesn't every request to plugin_api is taken into account because I
do not get the 404 error page but always the front page. I did flush rewrite
rules and checked the generated rewrite rules: mine is in it.

-- 
Lox
lox.dev at knc.nc


More information about the wp-hackers mailing list