View Single Post
  #50 (permalink)  
Old 11-22-2008, 05:49 PM
alana r's Avatar
alana r alana r is offline
Master Babbler
 
Join Date: Oct 2008
Location: ireland
Posts: 222
alana r has more than the average amount of reputation points
Send a message via MSN to alana r Send a message via Yahoo to alana r
Default

ok
I have most of post 7 and 8 done

I had one problem re:

"Start by accessing your root folder with your ftp program and see if there is a file in there named "htaccess." Note that it has NO extension and you must make sure that yours does not when you upload it. Don't let your editor add a .txt or anything else.

IMPORTANT! I understand that with some hosts it doesn't show without them changing some settings. So make sure your ftp program, as Filezilla does, always asks before saving over an existing file if you do not see it. Or, ask your host about it.

With FileZilla, as with other ftp programs, you will also need to tell the program to "show hidden files" in order to see it. Just look under "view" and there is a setting for it.

If there is one, download a copy to work with. If there isn't, just make one. It is a simple text file (like html and css). There are absolutely no code elements or formatting associated with it. Open a text file in notepad (or NotePad) and name it htaccess.

So either begin with your existing htaccess file or create a new empty text file. Then at the top of this file put these two lines:

AddType text/html .shtml .shtm .htm .html
AddHandler server-parsed .shtml .shtm .htm .html

Even without this many (or most) hosts will work if you change all your file extensions to .shtml but this has problems associated with previous links, etc. If I were going to change all my extensions I would change to php and have all the advantages of php programming.

These two lines will enable all your .htm and .html extensions to work with includes."


Ok so the problem is I dont know anything about my ftp program, so I followed your instructions the best I could, (so please tell me if I did it wrong) so what I did was go to my host and found the ftp icon, went into it (called webshell) and looked for htaccess file, I didnt find one,
I set it to show hidden files and there still wasn't one so I made one with notepad and added the two lines, saved it as htaccess in the folder that I have saved the images folder etc.

evetything else went ok I think (hope)
__________________
A Great Quotes and Sad Love Quotes blog for quotes about life and love
Childrens party supplies
Visiting Ireland - places to see in Ireland.
Reply With Quote