WordPress.org

Ready to get started?Download WordPress

Forums

Permalink Problems (3 posts)

  1. mc2w
    Member
    Posted 5 years ago #

    Hi, a friend of mine setup a permalink structure where the posts are rewritten to look like php files.

    /%postname%-%post_id%.php

    However, the author links are changed to http://opentray.com/author/Teh%20Blizz/ , which leads to a 404 error.

    After trying to see where it would redirect me by going to http://opentray.com/index?author=1 , it didn't, so I have reason to believe that WordPress has no support for permalinks that look like files, but yet still changes author links as if they were.

  2. SamVDW
    Member
    Posted 5 years ago #

    I have the same issue. Was there ever a resolution found with it?

  3. victorbv
    Member
    Posted 5 years ago #

    I had the sama problem (wp 2.7.1 running on Windows) and solved by changing the file "wp-includes/author-template.php". At line 422, where you read

    $link = get_option('home') . trailingslashit($link);

    replace by

    $link = get_option('home') . $link;

    Hope it helps.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags