Site logo

[Resolved] Author Archive Page

Home Forums Support [Resolved] Author Archive Page

Home Forums Support Author Archive Page

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2138522
    iamarghya

    So, I used an element for showing the author meta below my post, and when I click on the Author name it took me to the author archive page…But I didn’t know if is it an inbuilt feature to have an author archive page? or it is created for that element because I hadn’t checked it earlier. As I am the only author I think having an author archive page can create duplicate content issues…So 1st of all answer me is this normal to have an author archive page or it is being created somehow? ☹.

    #2138650
    Ying
    Staff
    Customer Support

    Hi there,

    Author archive is generated automatically by WordPress.

    But if your author meta is added by a block element, you can remove the dynamic link from the author name 🙂

    #2138840
    iamarghya

    So the author archive page was there from the start, from when I installed WordPress but I hadn’t checked it at all right? so as I am the only author is there any way to disable the author archive page ??

    #2138856
    Elvin
    Staff
    Customer Support

    Hi there,

    You can disable the author archive page with a plugin.

    If you have SEO plugins installed, they can actually disable it for you.
    Example – https://yoast.com/help/disable-enable-author-archives/

    Without plugin, you may have to resort to PHP snippets or htaccess.

    Here’s a brief article about it – https://www.optimumcreative.com/disable-author-archive-author-page-or-author-url-in-wordpress/

    #2138867
    iamarghya

    if I want to add the PHP solution do I need to add it to the theme editor or I can add this by code snippets plugin?

    #2138881
    Elvin
    Staff
    Customer Support

    if I want to add the PHP solution do I need to add it to the theme editor or I can add this by code snippets plugin?

    Code snippets is enough. 🙂

    Here’s how to add PHP snippets –
    https://docs.generatepress.com/article/adding-php/

    #2138890
    iamarghya

    I read the article u gave me, so I have to just add the PHP code in the code snippets plugin and activate it and it will be done? right? and the PHP code in the article is correct, right?

    #2138893
    Elvin
    Staff
    Customer Support

    I read the article u gave me, so I have to just add the PHP code in the code snippets plugin and activate it and it will be done? right? and the PHP code in the article is correct, right?

    Assuming you’ve copied it properly w/o any syntax issues then it should be fine.

    What the PHP snippet does is, it redirects any user who try to access the author archive page to the home page(wp_redirect( home_url() );).

    #2138902
    iamarghya

    oh, that works…Thank you very much…Whenever a problem arrives the subscription is worth it❤. Thank you again.

    #2138905
    Elvin
    Staff
    Customer Support

    No problem. 😀

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.