Links to plugin files not resolving
-
Has anyone seen an issue where links to plugin files can’t be resolved and results in 404 errors?
For example, I have a plugin that drops a page template into the active theme directory, and this template file references a reset.css file. The reset.css file is found in the /wp-contet/plugins/[plugin-name]/templates folder.
Everything is fine until you create a new page with the template and then view the page; the layout is wrong. When viewing the source, I see that the link to the reset.css file is correct (http://site.com/wp-content/plugins/%5Bplugin-name%5D/templates/reset.css), but when I put that URL in the browser it results in a “page not found” error.
I’ve tried deactivating plugins, checked permissions, and turned on the debug log, but so far nothing has helped.
Any ideas?
The topic ‘Links to plugin files not resolving’ is closed to new replies.