403 error forbidden - Updated Faux Pizza site

Website URL

http://willstorey.infinityfreeapp.com/horizontal

Error Message

403 Forbidden

Server or website configuration is blocking you from viewing this page

Other Information

I’m trying to upload my updated website with copied file from my original files with updated code and added style.css for my school assignment but after I uploaded my work, the site redirected to the 403 error. Is there any way to fix this?

Read on

3 Likes

Yeeah … this is isn’t helping at all because my directory is not missing and the file to horizontal does contain the index.html.

It does?

Is it exactly index.html, or it is just Index.html, index.HTML, or other things?
Remember that the servers are case sensitive.

3 Likes

Exactly all lowercase, not a single uppercase. I used notepad++ to ensure it’ll set to lowercase when the files are created/saved.

Wrong, I see E404

This should help

3 Likes

:man_facepalming:… please disregard my recent posts as I just got the instruction wrong and got my files in proper order in the proper directories. It’s working but the only issue is the font I plugged in is not showing on every computer, only on mine. Is it the css problem or does it need a file for the site to work?

Did you upload the font file to the site so that everyone can see it? If it only works on your computer, then only your computer has the font file right now.

The font-family line in your css will not display correctly as browsers will only display websafe fonts as standard

/* Body styling */
body {
	font-family: Black Pizza;
	background-color: #CFB54F;
}

You’ll need to upload the font to your website and do something like this (adjust file/directory names to suit)

/* My Pizza Font*/
@font-face
{
	font-family: Pizza;
	src: url('Pizza.ttf') format('truetype');
}
/* Body styling */
body {
	font-family: Pizza;
	background-color: #CFB54F;
}

Click this link below for more details

6 Likes

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