Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #529566

    Hi,

    One of my clients using the Enfold theme is not amused about the author archive page showing up in the search results. Is there a way to hide, disable or remove the page? Or to prevent showing up in the search results?

    #530236

    Hey BuroStaal!

    about which kind of search results are you talking about?

    Cheers!
    Andy

    #530342

    Sorry, the Google Search Results. The Author Archive pages showed up in Google and my client didn’t appriciated it.

    #530565

    Hi,

    You can block search engines via your robots.txt file, here’s a guide how to do it: http://tools.seobook.com/robots-txt/

    Best regards,
    Rikard

    #539165

    Hi Rikard,

    Thnx for the link, I didn’t know that! So if I put this lines in my robot.txt it prevends Google from showing the author pages?

    User-agent: *
    Disallow: /author/

    I’m not really sure, because ‘author’ isn’t a directory or something, I hope you know if it’s okay like this.

    #540067

    Hey!

    Yes, that will work but i think it should cover more URLs, refer to this reply:
    https://wordpress.org/support/topic/how-to-completely-remove-authorusername-url#post-3961402

    Cheers!
    Josue

    #776802

    I inserted the below to my robots.txt file on Monday (April 3) however the author page is still appearing on google search for the site. Is there anything else specifically that I need to do? I read both articles referenced on this thread along with the links referenced within those links.
    Please advise.

    User-agent: *
    Disallow: /author/
    Disallow: /author
    Disallow: /author*
    Disallow: /author/*

    Thank you

    #777060

    Hi,

    I think you will have do something in your Google Webmaster account as well to request that they not be shown, I’m not sure how to do that though. Only adding that to your robots.txt file will likely not change anything in Googles index.

    Best regards,
    Rikard

    #872900

    If you have Yoast SEO plugin installed (free version), go into “Titles & Metas”, then, in the “Archives” tab, the first section is “Author Archives”. Make sure it’s set “disabled,” then save changes, clear your cache, and the problem should be solved. This resulted in my “About Author” page disappearing, and my 404 to Homepage plugin sending people straight to the homepage. Hope this is helpful!

    #873057

    Hi willmfraz,

    Thanks for sharing, much appreciated.

    Best regards,
    Rikard

    #873243

    Thanks!!

    #1047491

    Hi,

    I follow this instructions and still when you look at the ource code of my homepage you can see the vcard author.

    Do you have another solution ?

    Thanks a lot,
    Clément

    #1047696

    Hi Blue_Bear,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Could you please attach some screenshots of the issue?

    Best regards,
    Victoria

    #1047714

    Hi,

    Please find enclosed a screenshot of the source code of the home page where you can see the vcard author and below the temporary acces to the website.

    Thanks,
    Clément

    #1047879

    Hi Clément,

    Thank you for that. Can you disable caching and minification for now?

    Best regards,
    Victoria

    #1047916

    it’s done
    best regards,
    clement

    #1048906

    Hi Clément,

    Image 2018-12-23 at 21.50.45.png
    Well, you’ll need to edit this file to remove it
    /enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1049703

    Hi Victoria,

    Thanks for your reply. I works ! but partialy. I still have a vcard for the post from the blog.

    Thanks a lot.
    Happy new year !!
    Clément

    • This reply was modified 5 years, 10 months ago by Blue_Bear.
    #1050184

    Hi Clément,

    Thanks for the update, I’m not sure if you still need help though? If you do then please let us know.

    Best regards,
    Rikard

    #1050306

    Hi Rikard,

    Sorry if it was confusing, yes I still need your help cause you still can see a vcard author in the source code :
    vcard

    I think this mention comes from another file that why it’s still here but wich one?

    Thanks,
    Clément

    #1050439

    Hi,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

      function remove_vcard_author(){
      ?>
      <script>
      (function($){
      $(document).ready(function(){
      $(".av-masonry-author").removeClass("vcard author");
      });
      })(jQuery);
      </script>
      <?php
      }
      add_action('wp_footer', 'remove_vcard_author');

    Best regards,
    Mike

    #1052368

    Hi Mike,

    It’s not working apparently :/

    Best regards,
    Clément

    #1052375

    i did not remove it but redirect it via htaccess entry to a custom portfolio entry.

    like:
    Redirect 301 /author/name/ https://homeurl/portfolio-item/name/

    so you got your own custom things for the authors

    #1052378

    Hi Guenni007,

    Can you give me more detail please? Is it not a security issue that you can see author name in the code source? It is the first step to hack your site ? Am I wrong ?

    Thanks a lot !
    Clément

    #1052382

    Depends on your passwords!

    In principle you are of course right that the username should not appear – but f.e. the name ( Display name publicly as ) that was specified in the profile.
    Maybe a mod knows a good replacement for those permalinks – not to use the username but the name instead.

    there was a little plugin for that : Display Name Author Permalink
    so the permalink is with the nice-name and not the username.
    And on meta description this name is set too: so your Name might be yellow-feather but your username is blue_bear ;)

    But i do not test it – i only read about that

    #1052402

    this here seems to work better: https://wordpress.org/plugins/edit-author-slug/

    you will have then additional fields to customise the permalink structure and the shown name – which is not the loggin User name

    Edit: if you want to create it afterwards – i guess you have to refresh permalinks and edit for each user the account info !

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