Error with permalinks and plugin
-
Hi!
I set my wordpress to use Permalinks with the structure “Day and name”, e.g. http://localhost/wordpress/2009/02/25/sample-post/
The plugin “Ajax Comment Posting” tries to show an image using JavaScript with this line:
jQuery('#submit').after('<img src="wp-content/plugins/ajax-comment-posting/loading.gif" id="loading" alt="'+loading+'" />');
But my browser tries to access the image at
http://localhost/wordpress/about-me/wp-content/plugins/ajax-comment-posting/loading.gif
because the perma link for my current page is “/about-me”. What can I do? I can’t use any PHP commands in the JS file, and using a static URL isn’t good either.Please help me!
The topic ‘Error with permalinks and plugin’ is closed to new replies.