Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29043

    Guys – I redone our site and was just working on putting in 301 redirects for the old sites pages to hit our new homepage rather than a 404

    I noticed Google had already indexed alot of pages from our new site (done with Enfold)

    However it was also picking up alot of theme files (which I’d prefer it not to)

    Is there away of stopping Google doing this (without losing indexing of other pages??)

    For instance its indexing folders such as: (I’ve changed the theme folder name from Enfold to reference the sites name!)

    /themes/digi-v201/framework/‎

    /wp-content/themes/digi-v201/framework/js/‎

    /wp-content/themes/digi…/config-layerslider/‎

    /wp-content/themes/digi-v201/framework/css/

    etc etc

    ranks quite a few…

    Any help very appreciated!!

    G

    #139537

    Create a Robots.txt file and block the wp-content folder

    User-agent: *

    Disallow: /wp-admin/

    Disallow: /wp-content/

    Disallow: /wp-includes/

    Allow: /wp-content/uploads/

    Something like this should do it

    #139538

    Hey!

    I use following rules on my websites

    User-agent: *
    Disallow: /cgi-bin
    Disallow: /wp-admin
    Disallow: /wp-includes
    Disallow: /wp-content/plugins
    Disallow: /wp-content/cache
    Disallow: /wp-content/themes
    Disallow: /*?*
    Disallow: /*?
    Allow: /wp-content/uploads

    Regards,

    Peter

    #139539

    cheers guys!!!

    quick other question – is it dangerous to leave it as it is??

    just out of interest… when you click on any of the php files it doesn’t allow it to be loaded but stilll…..hmm

    #139540

    It’s not “dangerous” but it wont help your SEO efforts.

    #139541

    thanks greg!

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

The topic ‘Google indexing the Enfold Theme folders’ is closed to new replies.