WordPress.org

Ready to get started?Download WordPress

Forums

permlinks bug? (4 posts)

  1. ihad
    Member
    Posted 10 years ago #

    when I use /%postname%
    and edit my htaccess file accordingly the posts are correctly linked but I no longer can access the admin page:
    "Sorry, no posts matched your criteria."
    link: http://localhost/wp/wp-admin/
    link should be: http://localhost/wp/wp-login.php
    but the rewrite always transforms it to http://localhost/wp/wp-admin/
    am I doing something wrong?

  2. Nick Momrik
    Member
    Posted 10 years ago #

    You are only using /%postname%?
    If you do this, it treats /wp-admin/ as a popstname and attempts to open index.php with a post titled "WP Admin". In fact, any folder on your site will get treated like this.
    If you use this permalink structure you also cannot have the same postname on different days I believe.
    From my understanding it is recommended to use something before /%postname%, such as the recommended permalink structure in the options, which uses /archives/ in addition to the date of a post.

  3. ihad
    Member
    Posted 10 years ago #

    indeed! thanks for the explanation.

  4. Nick Momrik
    Member
    Posted 10 years ago #

    Glad it helped!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.