EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Reply
 
Thread Tools
Old 25 Aug 2018, 09:37 PM   #1
ArtMG
Junior Member
 
Join Date: Oct 2004
Posts: 17
Website upload feature 'broken' by index.html

Hi,

Within my Files storage allowance, I have created a Website as a target for one of my domains. This is to host a static website, and that much works fine.

I would like to give my website designer the ability to upload new versions directly, instead of me having to deploy them myself. I thought that the Files & Dir with upload feature would be perfect for this, as I can password protect it, giving only my web designer the key. The first time around this was fine, and they could upload all the html, css and image files, until the index.html. As soon as the folder contains a file called index.html the upload feature stops working, and you see the 'website content' instead.

I can still manipulate the files from my of personal Files area when logged onto my email, but my web designer with his password just sees the index.html contents instead of the file uploading tools. I tried making the 'live' site a subfolder of Uploads folder, but as soon as you browse into the folder containing an index.html file, the upload features disappear and you just see the website as published.

Is there perhaps a URL hack that we can do to 'see past' the index.html website page and get back to the file uploads? Does anyone have experience in delegating the upload capability for minor websites?

Thanks
ArtMG is offline   Reply With Quote

Old 25 Aug 2018, 10:26 PM   #2
FredOnline
The "e" in e-mail
 
Join Date: Apr 2011
Location: Manchester UK
Posts: 2,082
Just an idea, but could the index file be initially saved as htm extension instead of html to test?
FredOnline is offline   Reply With Quote
Old 26 Aug 2018, 01:11 AM   #3
BritTim
The "e" in e-mail
 
Join Date: May 2003
Location: mostly in Thailand
Posts: 2,673
Untested, but should work.

Put the bulk of the website in a subfolder. Have a minimalist index.html file in the initial folder which redirects to a main.html file (with the rest of the website) in the subfolder.

The tiny index.html file should never need changing.
BritTim is offline   Reply With Quote
Old 26 Aug 2018, 07:12 AM   #4
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 8,388
Arrow Redirect to folder which does not contain index.html file

Quote:
Originally Posted by BritTim View Post
Untested, but should work.
Put the bulk of the website in a subfolder. Have a minimalist index.html file in the initial folder which redirects to a main.html file (with the rest of the website) in the subfolder.
The tiny index.html file should never need changing.
I just tested this concept, and can’t imagine any other easy solution. This usually works, depending on the browser. For example, the website URL can point to an index.html file containing:
Code:
<meta http-equiv="refresh" content="0; URL='http://website.domain/files/main.html'" />
You then create a subfolder “files” and place the website contents there. You must not have any index.htm or index.html file in that subfolder. You can then make a password-restricted URL which allows uploading to that subfolder.

Bill
n5bb is offline   Reply With Quote
Old 26 Aug 2018, 06:03 PM   #5
ArtMG
Junior Member
 
Join Date: Oct 2004
Posts: 17
Thanks Bill & BritTim,

that sounds like it should work. I'm not sure on the impact of a Meta Refresh URL redirection on SEO or User Experience, but hopefully if I choose a short and sensible name for the folder it should work out reasonably.

I appreciate your support
Cheers
Art
ArtMG is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 03:58 AM.

 

Copyright EmailDiscussions.com 1998-2013. All Rights Reserved. Privacy Policy