WordPress.org

Support

Support » How-To and Troubleshooting » Links to pictures – .htaccess issue

Links to pictures – .htaccess issue

  • Hi,
    I was trying to use the date and name based permalink style. However in my post, there are pictures inserted like this:
    <img src="wp-content/uploads/2007/07/image.jpg" />
    This is interpreted by the browser like this:
    http://mysite.com/2007/07/22/article-name/wp-content/uploads/2007/07/image.jpg
    Which is obviously not the path of the picture, the real one is:
    http://mysite.com/wp-content/uploads/2007/07/image.jpg
    How can I fix this?
    Thank you very much.

  • The topic ‘Links to pictures – .htaccess issue’ is closed to new replies.