Website has been blocked

Because you did not read.

Read carefully and follow instructions

From which file?

4 Likes

config.php

I don’t see how that code would make any connections.

All what it will do is to retrieve the full link base on a relative path, and that’s all.

I know that you have codes above, but since you explicity asked for this part, that’s all of my answer.

5 Likes

Because there is no index file in the folder. When a hosting server tries to load a website folder, it will look for a file called index.php, index.html or index.htm, which will be loaded as the “home page” of that folder. If no such file exists, you’ll see a 403 error.

Please choose which page you want to have as your website’s home page, and rename it to index.php so it gets loaded as the main page.

Defining a constant and a function in PHP isn’t go to do anything if the PHP code isn’t triggered. Which is the case here: our servers have no idea how to use your website code to render a page because the right files don’t exist in the expected location.

5 Likes

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