[wp-hackers] 404 page for missing .js file?
Ronald Heft
ron at cavemonkey50.com
Wed Jul 18 17:13:53 GMT 2007
You can modify the rewrite rules WordPress generates straight from a plugin.
Check the codex for a few different methods for doing so:
http://codex.wordpress.org/Function_Reference/WP_Rewrite
On 7/18/07, Andrew Ozz <admin at laptoptips.ca> wrote:
>
> Hi, is there an easy way to stop WordPress from generating 404 html
> pages for missing .js and .css files? These are completely useless, as
> the user never sees them anyway, just slow everything down.
>
> I know I can edit .htaccess and fix this, but I'm working on a plugin
> that hit another bug/limitation in WordPress and was hoping to turn
> these 404 pages off from whitin the plugin. Or perhaps I could file an
> "enhancement" ticket on trac.wordpress.org.
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Ronald Heft, Jr.
Information Sciences and Technology
Pennsylvania State University
cavemonkey50.com
9rules Network
More information about the wp-hackers
mailing list