• mosley

    (@mosley)


    I just changed my permalinks from default to Date and name based. My problem is when I click on the post title and it goes to the single post per page. The images are not there. But the are fine in my home page.

    Any suggestions?

    Also, my comments dont work, they never have???

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    You linked to the images using relative paths instead of complete paths. Since the URL path is different on the single post pages, your relative paths don’t work.

    Basically, instead of having the image src’s look like this:
    ../wordpress/wp-content/uploads/2007/03/whatever.jpg

    Use the full path to them:
    http://11thfloor.net/wordpress/wp-content/uploads/2007/03/whatever.jpg

    And your comments don’t work because you don’t have the call in your single post page to include the comments or the comment form. Somewhere you need to have a call to the comments_template(); function.

    Thread Starter mosley

    (@mosley)

    Otto24, Thanks for the assistance…

    The relative path issue fixed the links. Thanks!

    But regarding my comments, I do have the call to the comments_template(); function in my single.php. i dont think this is being called though, because I edited, by removing the sidebar, but it was still in there. What file is it calling?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    comments_template calls upon your theme’s comments.php file. If there is no such file, it includes the default theme’s comments.php file.

    Thread Starter mosley

    (@mosley)

    OK, I have the comments.php file in my theme folder. Why is this not working?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Permalinks problem with image links’ is closed to new replies.