I’ve faced a problem when accessing the site I created

[ad_1]

Hi

I have created a site with wordpress and today it’s time to publish the site.

This is a renewal site and the old site is not SSLed so this time the new site I made it always SSLed.

Then when I moved the whole site from sub directory to root directory, the site is totally functioned in [https://example.com]) but not functioned in [https://www.example.com]).

When accessing [https://www.example.com]), it shows

” **Warning**: require(\_\_DIR\_\_/wp-blog-header.php) \[[function.require]\]: failed to open stream: No such file or directory in **/home/users/0/……./index.php** on line **17**

**Warning**: require(\_\_DIR\_\_/wp-blog-header.php) \[[function.require]\]: failed to open stream: No such file or directory in **/home/users/0/……./index.php** on line **17**

**Warning**: require(\_\_DIR\_\_/wp-blog-header.php) \[[function.require]\]: failed to open stream: No such file or directory in **/home/users/0/……./index.php** on line **17**

**Fatal error**: require() \[[function.require]\]: Failed opening required ‘\_\_DIR\_\_/wp-blog-header.php’ (include\_path=’.:/usr/local/php/5.2/lib/php’) in **/home/users/0/……./index.php** on line **17** ”

​

Because of the search engine is directing to “www.” one so I have to figured out how to make the new site also accessible with www. But I cannnot find any solution online.

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer