How to setup custom static homepage in WordPress site?

Step::1 Login to your cPanel dashboard and click on File Manager

Step::2 Then go to public_html

Step::3 Here are some of the files which are responsible for homepage of your WordPress site like index.php, index.html, sample.html Now you just need to prioritize them in order to set the default homepage.

Step::4 Find .htaccess file inside public_html (If you don’t find .htaccess file then click on Settings from the top right corner to access the Settings menu. Select the Document Root and make sure Show Hidden files(dotfiles) is selected. Click on Save button.)

Watch this video to learn how to find htaccess or hidden (DOT) Files in cPanel-

https://bit.ly/33G17LK

Step::4 Right-click the .htaccess file and Click on Edit.

It will show up the Edit pop up. Click on Edit button

Step::5 Add the following line of code in your .htaccess file to configure your index page.

Step::6 The server will read the file from left to right. If the server doesn’t find the first one, it will look for another one in the right.

Step::7 Save the changes and close the editor.

Visit our Blog for more details. You can also watch the video here.

  • How to setup custom static homepage in WordPress site, setup custom static homepage in WordPress, wordpress, wordpress tutorials
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Fix WordPress error “There has been a critical error on your website”

Step::1 First of all login to your cPanel and go to File ManagerStep::2 Go inside public_html and...

How to Stay Logged in for a longer period in your WordPress?

Step::1 First of all you must know the theme which is currently activated in your website. So...

How to bulk delete spam comments in your WordPress website?

Step::1 Login to your cPanel and click on File Manager sectionStep::2 Go to public_html and then...

How to Change WordPress logo in wp-admin page?

Step::1 Login to your cPanel and go to File Manager sectionStep::2 Now go to Public_html Step::3...

How to Change WordPress Admin Username?

Step::1 Login to your WordPress dashboardStep::2 Now at the same time login to your WordPress...