• Resolved Nadir

    (@seoprinciple)


    Hi

    I wanted to install this plugin https://tuggo.org/projects/diggit/

    I’ve changed the index.php as mentionned, and the plugin was installed. But then I wanted to remove this plugin since I didn’t want to have digg buttons on all pages.

    So I’ve removed the diggit php line on the index.php of my them.

    And here’s what happened: check my site and you’ll see: https://www.seoprinciple.com/

    I really don’t know why I did wrong. I did modify the index.php file so it’s the same as the one before I did the change.
    I’ve also removed the diggit button so I guess this is not the cause of that problem.

    Can someone please enlighten me on what I messed up?

    Thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Looks like your index.php has not been updated. The digg code is still showing up in your HTML. Also, after the digg injection, I see a self-closing SCRIPT tag. This is what is actually hiding your content.

    You might want to check on index.php directly vs. using the wordpress admin (i.e. FTP to a local file and edit).

    Try taking out the second script call <script type="text/javascript" />:

    <p><script type="text/javascript"> digg_url = ‘https://www.seoprinciple.com/how-to-get-full-access-to-wsjcom-for-free-wall-street-journal/19/’; </script> <script type="text/javascript" />Most of the articles...

    Thread Starter Nadir

    (@seoprinciple)

    Hi guys

    Thanks for your help! I should have double checked my last post, that’s where the digg script still was and it was messing everything up! Everything’s solved now

    Have an enjoyable weekend ??
    Cheers
    Nadir

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help: Modified Index.php and content disappeared!’ is closed to new replies.