Directory Structure of shared hosting so I can do a manual .htaccess

just looking for the directory structure i need to use for this. i do one of these about every 5 years and i can never find it so i need to ask. thanks!

You can see the path to the web directory of your site (its document root) when you edit Web-Hosting on the Manage-Domain page of web panel (typically /home/username/

To see your server’s directory structure, you could use the tree command (increase 1 to 2, 3, etc. for deeper listing):

ssh tree -dL 1 /

However, I don’t think you’d need that much detail for most .htaccess tasks…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.