Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-21-2017, 02:29 PM   #1
Pete
Confirmed User
 
Pete's Avatar
 
Join Date: Jan 2001
Location: Mr. Rogers Neighborhood
Posts: 6,617
Basic HTML question

why is it that when I upload this html to a server it shows up as text and not an html page

<!DOCTYPE html>
<html>
<head>
<title>Heading Example</title>
</head>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
__________________
Evoke Electronics
Pete is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 02:36 PM   #2
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 24,767
Works fine...

What did you name the file including extension?
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 02:44 PM   #3
shake
frc
 
Industry Role:
Join Date: Jul 2003
Location: Bitcoin wallet
Posts: 4,663
It's a server config issue. The browser isn't being told it's an html file. Try different file extensions or you'll need to config the server to tell the browser the correct mime type.
__________________
Crazy fast VPS for $10 a month. Try with $20 free credit
shake is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 03:12 PM   #4
Smack dat
So Fucking Banned
 
Industry Role:
Join Date: Jul 2016
Posts: 4,613
you have uploaded it as a txt file.
Smack dat is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 03:13 PM   #5
Pete
Confirmed User
 
Pete's Avatar
 
Join Date: Jan 2001
Location: Mr. Rogers Neighborhood
Posts: 6,617
index.htm
__________________
Evoke Electronics
Pete is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 03:15 PM   #6
LouiseLloyd
SO FUCKING SCAMMED
 
LouiseLloyd's Avatar
 
Industry Role:
Join Date: Mar 2010
Location: UK
Posts: 1,257
Rename the file to .html
__________________

ARE YOU USING WORDPRESS
Tube ThemePaysite ThemeTikTok Theme
LouiseLloyd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 03:19 PM   #7
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 24,767
Quote:
Originally Posted by Pete View Post
index.htm
Try opening locally on your PC without a server - If that does not work then I would guess you have named it something like index.htm.txt - I have done it lots of times when editing with NoteBook...
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 04:54 PM   #8
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
I can't tell without loading the file ...
If have a server question why is there no URL?
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 06:21 PM   #9
NatalieK
Natalie K
 
NatalieK's Avatar
 
Industry Role:
Join Date: Apr 2010
Location: Spain
Posts: 18,537
Quote:
Originally Posted by Pete View Post
index.htm
Quote:
Originally Posted by LouiseLloyd View Post
Rename the file to .html
either of these should show as web page & not .txt

must be server issue
__________________
My official site NatalieK.xxx My free porn & affiliate blog Natalie K affiliate programFirst time girls
Skype: gspotproductions - "Converting your traffic into income since 2005"
NatalieK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 06:28 PM   #10
TheDynasty
See Signature
 
Industry Role:
Join Date: Apr 2016
Location: noneya
Posts: 5,882
Rename notepad file index (.html) when you save to your desktop or folder
__________________
Try out WP-SCRIPT The Best Tube Script
TheDynasty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 06:30 PM   #11
RyuLion
 
RyuLion's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: San Diego
Posts: 32,054
Quote:
Originally Posted by TheDynasty View Post
Rename notepad file index (.html) when you save to your desktop or folder
__________________
RyuLion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-21-2017, 09:01 PM   #12
MFCT
Confirmed User
 
Industry Role:
Join Date: Jan 2015
Posts: 1,489
If its something like Wordpress, your HTML belongs in the "text" tab of the editor, not the "visual" tab.
__________________
Keeping you abreast of the teens that get undressed.
Girls By Location - Couples By Location - Guys By Location - Trans By Location
MFCT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2017, 11:39 AM   #13
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,170
It's probably the file extension.
But another random thought: Did you maybe type that as text instead of code in a WYSIWYG editor?..
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2017, 12:22 PM   #14
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,788
What happens if you try it in a different browser?
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2017, 06:45 PM   #15
Pete
Confirmed User
 
Pete's Avatar
 
Join Date: Jan 2001
Location: Mr. Rogers Neighborhood
Posts: 6,617
Got it figured out. My editor added some fucked up code that I didn't see. Rookie mistake I guess.
__________________
Evoke Electronics
Pete is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2017, 07:41 PM   #16
RyuLion
 
RyuLion's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: San Diego
Posts: 32,054
Quote:
Originally Posted by Pete View Post
Got it figured out. My editor added some fucked up code that I didn't see. Rookie mistake I guess.
Happens to the best of us..
__________________
RyuLion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2017, 07:44 PM   #17
Pete
Confirmed User
 
Pete's Avatar
 
Join Date: Jan 2001
Location: Mr. Rogers Neighborhood
Posts: 6,617
Its back to Dream Weaver!
__________________
Evoke Electronics
Pete is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-22-2017, 08:28 PM   #18
xXXtesy10
Fakecoin Investor
 
xXXtesy10's Avatar
 
Industry Role:
Join Date: Jul 2012
Location: New Delhi, IN
Posts: 7,128
you know dreamweaver but no understand basic html? holy fuck you drunk?
__________________
WARNING: Stay Away From Marlboroack aka aka Brandon Ackerman
https://gfy.com/21169705-post8.html
Donny Long is Felon, Stalker, Scammer & Coward
http://www.ripoffreport.com/reports/...lon-int-761244
xXXtesy10 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
heading, html, page, text, question, upload, basic, server



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.