Support » Fixing WordPress » permalink generation incorrect?

  • Hi,
    I have set my permalinks structure to /%category%/%postname. This means, to my understanding, that i do not want any words in the permalinks like “section” or even “category”, just the category names themselves and the postnames.
    However when i mouse-over my front page, for example over a post author’s name, the link WP is generating reads mysite/AUTHOR/myname, or for another example over a category name the link reads mysite/CATEGORY/thecategoryname. These two words in capitals (AUTHOR and CATEGORY) are WP-generated, i didn’t choose to use them. And they are in English – which is not the site’s idiom.

    Can i get rid of these “extra” words? If not, i can live with them, but i need them in my language – where in the code can i change them?

    Thanks a lot,

Viewing 5 replies - 1 through 5 (of 5 total)
  • These are just some of the ways one can get a listing of posts – by author, category, etc. If you do not want them to be displayed you may certainly remove the hyperlink tags in your theme.

    I think i just found out that i would have to edit classes.php , which is somewhat an adventure (that is, if i want the links formatted as i said above, it would require me to hard-edit the default category base and author base).
    However, i think this could be an issue worth looking at for a complete i18n of WP, as to a non-english-speaking reader something like “author”, “feed” or “search” is as criptografic as ?p= in the URI.
    Thanks Beel! I will post this to the appropriate mailing list.

    You don’t have to modify core files. If you don’t want to have a link to posts by author, just delete the link tag surrounding the_author in your theme files.

    But i do want the link, i just don’t want the word “author” in english! It is as simple as removing the H from author.
    Thanks again

    Allright, what i tried failed completely. All i can say is, you were right! No surprise here.

    Anyway, just would like to leave the observation that for a complete i18n, the default category base and author base should be configurable (same goes for the words “search” etc generated by the permalink structure…)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘permalink generation incorrect?’ is closed to new replies.