1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Remove link to author page

Discussion in 'Free Divi Community Forum' started by Quentin Hervé, Aug 31, 2021.

  1. Quentin Hervé

    Quentin Hervé New Member

    Hello guys,

    I have remove the author archive pages from my website using Yoast.

    I want to keep the author name on my article pages. Nevertheless, on those pages, the author name is still clickable, and you will be redirected to the homepage if you click.

    So, I would like to know how to keep the author name displayed but not make it clickable ?

    Cheers !
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Add custom vertical navigation for your Divi site. Turns into slide in menu on mobile:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  3. Quentin Hervé

    Quentin Hervé New Member

    Hello Divi Team,

    Thank you for the tips. Unfortunately, the only thing it does is "disabling" the pointer on the author name. Nevertheless, in the source code, the href balise is still there which is not good from a SEO perspective.

    upload_2021-9-13_22-36-2.png

    What should I do to get rid of it ?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade logo carousel design for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    You may use jQuery to remove it. Try the below code at WP Admin > Divi > Theme Options > Integration > Body Code:
    Code:
    Log In or Sign Up to view this code.
     
  5. Quentin Hervé

    Quentin Hervé New Member

    Hello guys,

    Thank you! So, I changed it a bit otherwise it was looping on loading the page.

    Here is the snippet I used:

    Code:
    Log In or Sign Up to view this code.
    Nevertheless, I still have my crawlers finding author URLs in the source code of articles, and I don't find where neither understand how...
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Modern & powerful Agency Divi layout pack, featuring team carousel, sliding menu, etc.View Demo
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    jQuery is only used to modify what the visitors see.

    If you really want to remove it from the source code as well, then try the below code at your child theme functions.php:
    Code:
    Log In or Sign Up to view this code.
     
  7. EvaDD

    EvaDD New Member

    I had the same issue and found the above code works for me. Thank you for sharing it.
     
    1. PRO MEMBER PERKS Divi Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More