Skip to main content

Where is domain home dir defined?

Comments

3 comments

  • cPanelMichael
    Hello @Ming Lu, It's likely the WordPress directory was modified using one of the methods documented on the link below: Giving WordPress Its Own Directory " WordPress Codex Can you confirm if any rewrite rules exist in the .htaccess file within the /home/username/public_html directory? Thank you.
    0
  • Ming Lu
    Hello, Michael: I tried to find .htaccess file yesterday, but I could not find it within the /home/username/public_html directory. I also searched the file in whole my file system, and only find following one: public_html/wordpress/wp-content/plugins/akismet/.htaccess Then I did a lot of operation, including (1) remove wordpress, (2) copy all public_html sub-folders from a backup file. Now it seems my domain home folder is /home/username/public_html: when I enter Giving WordPress Its Own Directory. I did steps (7,8,9) in Method II (With URL change). Maybe it is the reason I was run into problem. Thanks for your help.
    0
  • cPanelMichael
    Hello @Ming Lu, I'm glad to see you were able to solve the issue. Going forward, it's a good idea to install WordPress using the WordPress Manager option in cPanel (if your hosting provider has enabled it). We document this option at: WordPress Manager - cPanel Knowledge Base - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.