What Is the Path to Your Website’s Root Home Directory and How to Change It | Hostinger Help Center

  • 7,000
  • Tác giả: admin
  • Ngày đăng:
  • Lượt xem: 7
  • Tình trạng: Còn hàng

The root home page directory is the thư mục that contains your website's data on a server. As a general rule, it is public_html.

To find the exact path đồ sộ your root directory, go đồ sộ WebsitesDashboard, tìm kiếm for FTP accounts on the sidebar, and click on it:

Next, scroll down đồ sộ the Create New FTP trương mục section. The root thư mục path will appear there:

The path will be in either one of the two following formats:

The home page directory cannot be changed on our Web, WordPress, and Cloud hosting packages due đồ sộ control panel restrictions. Alternatively, you can host your files on a subdirectory and create a redirect on your .htaccess tệp tin as follows:

Replace domain.tld with your tên miền name and subdirectory with the name of the thư mục where your website’s files are located.

In case you definitely need đồ sộ change your home page directory, you can consider hosting your project on a VPS Plan 😊


Related Articles

How đồ sộ Import a Database Over SSH on cPanelHow đồ sộ Check the Number of Inodes and Disk Usage per DirectoryHow đồ sộ Open the Website’s Root Directory via SSHMoving a WordPress Website From a Subdomain đồ sộ the Root DomainHow đồ sộ fix "Could not create directory" Error