WordPress.org

Ready to get started?Download WordPress

Forums

Links to pictures - .htaccess issue (1 post)

  1. squeetox
    Member
    Posted 7 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic