Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2005
    Posts
    13

    Exclamation optimize website .. why the htaccess is not in the public_html

    hi:
    i have just noticed that when you enable the 'optimize website' option on any site the .htaccess file is placed under the home directory of the user not the public_html directory ...

    isn't this wrong ?
    is its something i have configured ?

    am using :
    Cpanel/WHM : 11.28.45
    PHP : 5.2.14
    Apache : 2.2.16

    thanks

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: optimize website .. why the htaccess is not in the public_html

    Quote Originally Posted by linux juggler View Post
    hi:
    i have just noticed that when you enable the 'optimize website' option on any site the .htaccess file is placed under the home directory of the user not the public_html directory ...

    isn't this wrong ?
    is its something i have configured ?

    am using :
    Cpanel/WHM : 11.28.45
    PHP : 5.2.14
    Apache : 2.2.16

    thanks
    Keep in mind that Optimize Website will affect all websites on your cPanel account. Websites on your cPanel account can be located both inside and outside public_html so your home directory is the correct place for this file to be placed (so all websites inherit this setting).

  3. #3
    Member
    Join Date
    Aug 2005
    Posts
    13

    Default Re: optimize website .. why the htaccess is not in the public_html

    okay thanks, so there is nothing wrong with my configuration ...

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: optimize website .. why the htaccess is not in the public_html

    Quote Originally Posted by linux juggler View Post
    okay thanks, so there is nothing wrong with my configuration ...
    Correct, nothing is wrong with your configuration.

  5. #5
    Member
    Join Date
    Aug 2005
    Posts
    13

    Default Re: optimize website .. why the htaccess is not in the public_html

    thanks for your reply ...

Similar Threads & Tags
Similar threads

  1. Optimize Website works only for main domain
    By manima in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-09-2011, 01:56 AM
  2. WHat does Optimize Website do?
    By mealto in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-15-2010, 02:29 PM
  3. Optimize website globally?
    By gavint in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-07-2009, 09:06 PM
  4. cpanel/whm optimize website issue
    By edenent in forum Optimization
    Replies: 3
    Last Post: 07-06-2009, 12:53 PM
  5. .htaccess /public_html ?
    By eva2000 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-06-2003, 01:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube