WordPress.org

Ready to get started?Download WordPress

Forums

How to edit Page code- cant find my website page in .php files (8 posts)

  1. info@promedia.ie
    Member
    Posted 1 year ago #

    Hi everyone,

    website: http://promedia.ie/

    ill try to be very specific as Ive searched for the answer but can't find it.

    ok so i want to delete the following line from each page of my website:

    30: < meta name="robots" content="NOODP,NOYDIR" />

    that line is on everypage and I have 7 pages each with a unique URL for example:

    http://promedia.ie/video-production/

    I hope to remove that line that is blocking google robots from indexing my pages.

    i'm sure i have to edit the .php file and then save it but i dont know where that page is in my .php files.

    any ideas would be much appreciated.

    thanks,

    total newbie.

  2. info@promedia.ie
    Member
    Posted 1 year ago #

    Just to add

    i have already un checked the box that turns off the NOODP robot block in my Yeost SEO settings page - however the line still appears on each page when I view source code.

    thanks again

  3. esmi
    Forum Moderator
    Posted 1 year ago #

    Try looking in your theme's header.php file?

    Have you tried asking about this on http://cyberchimps.com/forum/free/ifeature-free/ ?

  4. info@promedia.ie
    Member
    Posted 1 year ago #

    sorry everyone slioght change

    the correct code line I want to delete from every page is:

    <meta name="robots" content="noindex,follow,noodp"/>

    thanks

  5. info@promedia.ie
    Member
    Posted 1 year ago #

    Hi esmi

    yes ive gone to

    wordpress/dashboard/appearance/editor/header.php and its not there

    also gone to cPanel/wp-content/themes/header.php and i can t see the code to erase it

    thanks

  6. info@promedia.ie
    Member
    Posted 1 year ago #

    i can see the code when i go to the url: http://promedia.ie/video-production/

    its on line 44

    i just can feckin edit it and delete so the google robots can start indexing my site again.

  7. info@promedia.ie
    Member
    Posted 1 year ago #

    thanks esmi i will try the cyberchimps forum and see if there is an answer there

    in the meantime i hope this forum can find an answer

    Best

    nick

  8. info@promedia.ie
    Member
    Posted 7 months ago #

    hi guys

    forget to close this

    i got the answer on the cyberchimps forum

    its basically a matter of clicking off the non index robots on your wordpress YEOST PLUGIN

    cheers

    Nick

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags