Forums

Comments are leading to WP directory, not the comments page. (11 posts)

  1. Olivia
    Member
    Posted 7 years ago #

    I know exactly what my problem is, but not how to fix it.

    When I click a comments link on my WP page, the link is http://lovetaxi.org/wp/?p=4#comments. This just takes you to my entire WP directory. I know that the proper URL should be http://lovetaxi.org/wp/index.php?p=4#comments.

    So how do I change it so the proper URL shows?

  2. davestinner
    Member
    Posted 7 years ago #

  3. Olivia
    Member
    Posted 7 years ago #

    No, it doesn't.
    If you go to the main index, it does not work.

  4. Ryan Boren
    WordPress Dev
    Posted 7 years ago #

    index.php is not recognized as a directory index. The server needs to be configured to recognize index.php.

  5. Olivia
    Member
    Posted 7 years ago #

    The server recognizes index.php as the directory index. When you go to http://lovetaxi.org, you see http://lovetaxi.org/wp/index.php.

  6. Ryan Boren
    WordPress Dev
    Posted 7 years ago #

    http://lovetaxi.org/ isn't loading http://lovetaxi.org/index.php, however. index.php says "BRB". So, I see nothing to suggest that index.php is recognized as a directory index. How are you getting http://lovetaxi.org/ to display /wp/index.php?

  7. Olivia
    Member
    Posted 7 years ago #

    I meant that the server is recognizing /wp/index.php as the directory index, not index.php.
    /wp/index.php is set as the directory index through .htaccess.

  8. Ryan Boren
    WordPress Dev
    Posted 7 years ago #

    http://lovetaxi.org/wp/ gives a directory listing. That means it doesn't know that index.php is a directory index. You can try adding the following to /wp/.htaccess

    DirectoryIndex index.php

  9. Olivia
    Member
    Posted 7 years ago #

    Ah, that helped. Now I'm getting to the comments page. Thanks.

    But it would appear I'm having another problem. I'm not sure if this is WP or not, but it doesn't hurt to ask.
    This site is skinned [currently with two skins]. The default is skin 2. But even if I choose to use skin 1, when I click the comment link, I'm on skin 2. Any ideas?

  10. davestinner
    Member
    Posted 7 years ago #

    Have you tried clearing your browser cache?

  11. Olivia
    Member
    Posted 7 years ago #

    Yeah, I've tried that.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.