As you know, WordPress is built on PHP Platform. It uses dynamic homepage. But what, when we want to use a static page built with HTML, or any other language. For WordPress and

are both different. SO if we want to use static page as homepage in WordPress, Insert below code in your theme’s function.php file.

remove_filter('template_redirect', 'redirect_canonical');

Make sure you will add the above code before ?>