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

John 3:16 Media wp at john316media.com
Thu Mar 10 22:27:12 UTC 2011

I had a problem with 404 errors after registering a custom posttype
and taxonomy, flushing rewrite rules didnt work for me either.
Howevver going to permalink options switching to default rules p=
saving, then switching back and saving worked for me.

On Thursday, March 10, 2011, Lox <lox.dev at knc.nc> wrote:
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list