badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

how to delete the permalink(landing pages) of image in the media library

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #51038
    happyeungin
    Participant

    For instance, i notice every image i uploaded will have a separate page(a permalink to the image)

    like this : https://moesonson.com/articles/uncategorized/2/attachment/image10/

    This is not good, how do I remove the page for every image?

    Because I dont need a page for every image. I only need the image to be uploaded and use it my post.

    #51040

    Hi happyeungin,

    Why you want to remove the link on image from attachment page? Its a default WordPress feature. No one will have that link unless and until you provide that link. To remove the link from attachment page it needs code customisation. You need to hire a developer as this is a new feature to be added in the theme.

    Thank you

    #51041
    happyeungin
    Participant

    I dun want those pages visable on search engine which will might not be good for page ranking. I think i should set no follow for all the image links.

    #51078

    Hi happyeungin,
    Sorry, this is the core feature of WordPress where there will be attachment page links for all the images and we cannot remove those features as this is the core feature of WordPress.
    Thank you!

    #51080
    happyeungin
    Participant

    Is there a way to set no-index for all the attachement pages?

    #51087

    Hi happyeungin,

    We don’t support that level of code customization. You can create a new attachment.php file in your child theme and customize the code.

    We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.

    http://codex.wordpress.org/Child_Themes

    Thank you!

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