Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #788836

    Hello, i just have sold enfold theme. But before i edit my website. a lot of theme folder got indexed by google. you can see site:sitename.com. for example ……com\wp-content/themes/enfold/config-layerslider/ or ….. com /wp-content/themes/enfold/framework/php/avia_shortcodes/img/?DD

    Why does it originate? How can solve this problem?

    #788882

    Hey mstfmhc,
    I was going to tell you about Robots.txt and “disallow” but looking at your Robots.txt you seem to have some good rules there, but why would you want this:

    Allow: /wp-admin/admin-ajax.php
    Allow: /wp-content/uploads

    I would disallow them.
    The problem you have now is you are open to being hacked, please add this to your .htaccess file to disallow folder view, “Index of”:

    Options -Indexes

    You can also try to request a removal from Google: https://www.google.com/webmasters/tools/removals

    Best regards,
    Mike

    #791980

    Should i make
    Disallow: /wp-admin/admin-ajax.php
    Disallow: /wp-content/uploads ?

    And i will try to add .htacces file to disallow folder.

    #791994

    Hi,
    Please don’t “i will try to add .htacces file to disallow folder.”
    just add “Options -Indexes” to the top line.
    in your robots.txt, I would make those two lines disallow.

    Best regards,
    Mike

    #793034

    hi can you check is it ok? i added “Options -Indexes” to my .htaccess but i can reach my index of

    #793042

    Hi,
    Can you post FTP access to in Private Content area?

    Best regards,
    Mike

    #793058

    i wrote but can you tell me how did you do. cause i have same problem my other website.

    #793083

    Hi,
    I have not had this error before, my research shows that it’s an server error which needs to be fixed my your host. Please check with them and let us know the outcome.

    You should check that the Apache config allows for the .htaccess to be executed. In your virtualhost config, there should be a line:
    AllowOverride All
    If there isn’t, that’s why the .htaccess isn’t taking effect.

    https://stackoverflow.com/questions/10769880/htaccess-file-not-being-read-options-indexes-in-htaccess-file-not-working/10769898

    Best regards,
    Mike

    #795044

    hello thanks for your help. i wrote my hosting corp. and said that they detected troble my hosting. and fixed it.

    #795184

    Hi,
    Glad to hear it’s sorted out, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘unnecessary index problem’ is closed to new replies.