This topic has 11 replies, 2 voices, and was last updated 7 years by Laura.

  • Author
  • #176222
     SteveHood
    Participant

    When I add a description to a category or tag, it shows on all pages under that category or tag. I’m trying to avoid duplicate content and removed the descriptions I added. How can I prevent the description from showing on a paginated page? I only want it showing on the first page. Thanks!

    #176297
     Laura
    Moderator

    Hello, can you send me the link to the pages where you want to hide it? I can help you with some css 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #176460
     SteveHood
    Participant

    Hello Laura!

    The description on the category and tag pages have not been added because of the duplicate content issue.

    For example, if I post a description for the category “Heartburn Causes” (https://howtotreatheartburn.com/category/heartburn-causes/) the description will show on page two (https://howtotreatheartburn.com/category/heartburn-causes/page/2/) as well as page one of the archive. I’m trying to have all descriptions show on page one only for all categories and tags. Is there code I can add to a PHP file? Or is there some way to accomplish this with CSS as you suggest?

    Thank you for your help!

    #176586
     Laura
    Moderator

    Hello, i could check it out but i do not see any description

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #177539
     SteveHood
    Participant

    Hello Laura,

    I have added the description back to the pages I mentioned above. Descriptions are duplicated in all category archives when I post a description. The same goes for tags. I’d really like to be able to modify the code to prevent this duplicated content.

    Thank you for your help.

    #177633
     Laura
    Moderator

    Hello, i do not see it duplicated, please check attachment

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    Attachments:
    You must be logged in to view attached files.
    #177658
     SteveHood
    Participant

    Hello. I’m probably not being clear. The description is on multiple pages. I don’t want Google to see it as duplicate content. Can the description for categories and tags be only on page one of the archive? It’s showing on all archive pages: one, two, three…

    The same description shows up on all of these pages:

    https://howtotreatheartburn.com/category/heartburn-causes/ https://howtotreatheartburn.com/category/heartburn-causes/page/2/
    https://howtotreatheartburn.com/category/heartburn-causes/page/3/

    Thank you!

    #177792
     Laura
    Moderator

    Hello, i am so sorry for the misunderstanding. Please try by adding this to style.css of child theme

    COPY CODE
    
    .paged .archive-description {
        display: none !important;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #177820
     SteveHood
    Participant

    Laura, you’re awesome! Thank you! It works perfectly. 😀

    #177911
     Laura
    Moderator

    Happy to help 🙂 If you can rate us 5 stars at themeforest that would hep a lot 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #178037
     SteveHood
    Participant

    Happy to rate you 5 stars! 😀

    #178101
     Laura
    Moderator

    Thanks you :D!

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 12 posts - 1 through 12 (of 12 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?