WordPress.org

Ready to get started?Download WordPress

Forums

Disable Author Pages
[resolved] Disable any author URLs, such as /author/not-a-valid-author/ (5 posts)

  1. Matt Jensen
    Member
    Posted 4 months ago #

    Hi there

    Nice plugin, works well.

    However, whilst it redirects any valid author page as expected, it doesn't redirect from any non-existing author pages - such as:

    /author/notavalidauthor/

    So someone can still theoretically find out what username's are in use on a site, but trying ones to see which get redirected, vs. which go to a '404 Not Found' page.

    I added the plugin to a site to try to improve security, and I guess from my perspective as such it doesn't entirely 'disable author pages'.

    I don't know if this could be added, but could be a good addition to the plugin.

    http://wordpress.org/plugins/disable-author-pages/

  2. Frank Staude
    Member
    Plugin Author

    Posted 4 months ago #

    hi,

    there are probably two possibilities.

    • Author pages on the 404 page redirect, then it is the same as non-existent authors pages
    • Intercept of 404 in non-existent authors pages and redirect to the set target in the plugin page.

    I'll see to to find out what is possible.

    Frank

  3. Matt Jensen
    Member
    Posted 4 months ago #

    Hey there, yes either option would sound good to me.
    Cheers
    Matt

  4. Frank Staude
    Member
    Plugin Author

    Posted 4 months ago #

    Hi

    "Intercept of 404 in non-existent authors pages and redirect to the set target in the plugin page." is implemented in version 0.4

    Frank

  5. Matt Jensen
    Member
    Posted 4 months ago #

    Love your work Frank, thanks, seems to work well.

    FYI in the plugin options page, such you change "Redirect non exists author pages" to "Redirect non-existent author pages".

Reply

You must log in to post.

About this Plugin

About this Topic