Forums

Is it possible to remove the /author/ in the user profile URL/permalink? (7 posts)

  1. noheaven
    Member
    Posted 2 weeks ago #

    Hi everyone, I've been searching the web to find my answer and I just can't seem to find anything anywhere so I decided to post here.

    I want to make a community similar to http://vi.sualize.us and just like them or youtube or myspace, I would like users to have the most simple url to their profile...

    Is there any way to modify the user profile url/permalink from:

    http://website.com/author/username/

    to:

    http://website.com/username

    I know there's plugins to change the word "author" to something else, but is it possible to completely remove it?

    Any help would be extremely appreciated.

    Thanks!

  2. songdogtech
    Member
    Posted 2 weeks ago #

    Do you have a category titled "author?" If so, then look at this plugin: Wordpress Supplies » Wordpress Plugins » WP No Category Base

  3. noheaven
    Member
    Posted 2 weeks ago #

    Thanks songdogtech for replying.

    I don't have a category named "author", it's not the permalink structure of a category I want to modify, it's with the user profile permalink structure, I want to remove the "author". So that when you click on the author's username in a post (to see other post from this user), instead of going to:
    http://website.com/author/username/

    it would go to:
    http://website.com/username (like profiles on myspace or youtube)

    If I understand correctly, the plugin you are referring to removes the "category base", but I want to remove the "author base".

    Is there anyway to do this?

  4. MichaelH
    moderator
    Posted 2 weeks ago #

    Maybe this will help:
    http://sivel.net/2008/12/author-permalink-one-liner/

    Not sure if this .htaccess entry would work

    RewriteRule ^author/(.+)$ http://www.yourblog.com/$1 [R=301,L]
  5. noheaven
    Member
    Posted 2 weeks ago #

    Thanks MichaelH, if I understand correctly, this allows me to change the name of the "author base" from "author" to another name:

    Instead of:
    http://website.com/author/username/

    I could do:
    http://website.com/anything/username/

    But I want:
    http://website.com/username

    I would like to completely remove the "Author base", if possible at all...

    Thanks for helping

  6. songdogtech
    Member
    Posted 2 weeks ago #

    Noheaven: not using author links on my sites I didn't know what you meant. Searching around for other people who have wanted the same thing, it looks like that author base is wordpress core and might be rewritten with htaccess, as MichaelH pointed out. Try MichaelH's rule in your .htaccess.

  7. carlla
    Member
    Posted 3 days ago #

    If I understood, go to admin panel > Settings > Permalink

    try to use this structure:
    /%author%/%postname%/

    don't forget to use the 3 '/' , when I forgot it doesn't work =/

    Only it! you now can access the authors page in www.blog.com/username. Edit the author.php in your theme to show the author's profile. Create it if doesn't exists.

Reply

You must log in to post.

About this Topic