[wp-hackers] Rewrite hooks/filters documentation?

Robin Adrianse shorty114 at shorty114.net
Tue Nov 28 23:23:42 GMT 2006


if /wp-admin/images/newfile.png doesn't exist, then it will pass it to the
rewriter. It doesn't matter if the directory exists or  not in this case. At
least that's my understanding.

On 11/28/06, Jeremy Visser <jeremy.visser at gmail.com> wrote:
>
> On Tue, 2006-11-28 at 02:46 -0800, Viper007Bond wrote:
> > Example: /wp-admin/images/newfile.png ->
> >                  /wp-content/plugins/myplugin/image.png
>
> I doubt you could do that, as the .htaccess rules specify that any real
> directories or files won't get passed to index.php, thus not getting
> rewritten.
>
> If a directory /images/ didn't exist on the server, then you could
> probably rewrite that. (Don't ask me how.) But you can't really
> guarantee that a plugin user wouldn't have the /images/ directory.
>
> --
> Jeremy Visser
> Email: jeremy.visser at gmail.com GPG id: CF13C41A
> Website: http://narnia.bounceme.net/jeremy/
>
> _______________________________________________
> 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