Log In · Register

 
Question about meta http?, Web Design
marynmissouri
post Nov 2 2008, 06:20 PM
Post #1


Marynmissouri
***

Group: Member
Posts: 41
Joined: Jan 2008
Member No: 606,116



Ok hopefully this wont be so hard.

What do I put inside of my (meta http) code in the beginning of my website?
CODE
Example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="WHAT GOES HERE?" content="text/html; charset=iso-8859-1" /><title>TITLE GOES HERE</title>


Do I put in words for search options or do I put in a word that describes my page? Such as About or Contact.


Thank You

Mary


 
 
Start new topic
Replies (1 - 4)
mipadi
post Nov 2 2008, 09:19 PM
Post #2


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



In your example, you should put in "content-type". But you don't really need the <meta> tags at all.

The <meta http-equiv> tags just add or modify an HTTP header. If you don't know what HTTP headers are, don't worry about it, because you probably don't need to change them anyway.
 
marynmissouri
post Nov 3 2008, 10:43 AM
Post #3


Marynmissouri
***

Group: Member
Posts: 41
Joined: Jan 2008
Member No: 606,116



Well I'm working on my website and I have a few pages and it was sugested to me to use scripting but I'm not sure were?

The script I'm to use is:

CODE
<meta
http-equiv="refresh" content="0; url=your new address.html">



I have several pages that I have built that go with my main doamin name such as...

http://mydomain.com/about

http://mydomain.com/contact


My problem is first off I cant get those pages to view and i had made seperate directories for them in my httpdocs.

I deleted the directories and just added them in the httpdocs with the main index.html and you could view the pages but no css style and no images?

I was on the phone with my hosting co. 4 times in the past 2 days because I thought they could help and I had a tech. tell me to uplaod my files into my root and to add ftp/subdomain names naming them about.html and contact.html.

Well I was desperate and willing to try anything and I had to spend 2 and 1/2 hours on my phone after that with another tech.

So now I have everything cleaned out of my httpdocs (including the docs that were just sitting in the open in my root) other then my main index.html and I want to upload my files but I dont want to keep doing the same thing over and over again and getting the same results.
For some reason my hosting account runs super slow and it takes forever to do anthing other then uploading with my filezilla ftp uploader.

Oh and get this I was apparently using the wrong username when uploading my files. I had transferred 3 domains and now I'm in the process of setting them up and I was uploading files yesterday but when I would log into my hosting command console they were not there. Then I would upload directly using there uploader...(agian trying to solve the problem and trying anything) and my files would just disappear?

I had to go back and delete whatever was there because the tech said the files were not going in the right place and I could not even see them on my command console.

Its pretty hartbreaking when you work so hard and put a lot of time and effort while trying to be patient and follow through with everything that has been suggested to you and it just dont work.

Anyway I had to of done something right because at least my page is viewable now.

http://drama-art.com

If you could can someone please help.

Thanks

Mary
 
mipadi
post Nov 3 2008, 10:53 AM
Post #4


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



QUOTE(marynmissouri @ Nov 3 2008, 10:43 AM) *
Well I'm working on my website and I have a few pages and it was sugested to me to use scripting but I'm not sure were?

The script I'm to use is:

CODE
<meta
http-equiv="refresh" content="0; url=your new address.html">

Oh, okay. Well, that <meta> tag will just redirect someone to a new page.

Let's say you have a page at "http://my-awesome-domain.com/index.html", and you put <meta http-equiv="refresh" content="0; url=http://my-other-site.com/page.html">. If I navigate to http://my-awesome-domain.com/index.html, I'll automagically get redirected to http://my-other-site.com/page.html.
 
marynmissouri
post Nov 3 2008, 10:56 AM
Post #5


Marynmissouri
***

Group: Member
Posts: 41
Joined: Jan 2008
Member No: 606,116



Yes, I have messed with it a little. When I added it to my index.html it would not even show? I added http://mydomainame.com/about and then I had probelems viewing it. I would get a 404 error code.
 

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: