Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #352308

    Hello,

    I would like to obscure the use of enfold/ in source pages altogether.
    I read I can remove the version on the source view and will do so.
    I would like to remove or rename the enfold theme so that
    wp-content/themes/enfold/js/
    will show as
    wp-content/themes/newname/js/ throughout

    but I have concerns what will happen with updates which are regular.
    Please advise correct procedure to follow.
    Note I have already made as a child theme per your instructions

    Thanks
    S

    #352920

    Hey spheor!

    Thank you for using Enfold.

    You can’t rename the theme folder because it will disable the theme. What you can do is redirect the users, if and when they stumble upon the themes directory, in which the probability is close to none. For seo purposes, you can disallow crawlers to access the directory by using robot.txt. Please refer to this link: http://codex.wordpress.org/Search_Engine_Optimization_for_WordPress#Robots.txt_Optimization

    An example of a robots.txt file would be:

    Allow: /
    Disallow: /wp-admin/
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/themes/enfold/framework/
    Disallow: /feed/
    Disallow: */feed/
    Disallow: /wp-content/themes/enfold/config-layerslider/

    You can use this plugin to edit the .htaccess file and add redirects: https://wordpress.org/plugins/wordpress-seo/

    Cheers!
    Ismael

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