Differences

This shows you the differences between the selected revisions of the page.

2014-11-02 2014-11-02
www.markanda.com (54.209.248.47) (hidden) Restored revision 1412232092. Undoing revisions 1414874620, 1414915820. (Petr) (hidden)
Line 1: Line 1:
-====== +====== Upload My Web Site ====== 
- Upload My Web Site ====== +//This guide contains simplified description of uploading and editing your website with WinSCP.//
-//This guide contains simplified description of uploading and editing  +
-your website with WinSCP.//+
-Managing website differs greatly with webhosting provider. This article  +Managing website differs greatly with webhosting provider. This article just summarizes basics you need to know to edit pages on your website or to upload new pages.
-just summarizes basics you need to know to edit pages on your website or +
- to upload new pages.+
===== Before Starting ===== ===== Before Starting =====
Line 15: Line 11:
===== Web Site Directory ===== ===== Web Site Directory =====
-Once you are connected, make sure you are in the remote directory  +Once you are connected, make sure you are in the remote directory dedicated to store a web pages. It may be the one you get in after logging in (it is the case if you do not see any subdirectories after logging in). But with some providers you will have several subdirectories available, from which only one is visible on the Internet. Such subdirectory will have a name like ''www'', ''htdocs'', ''httpdocs'', ''public_html'' or other.
-dedicated to store a web pages. It may be the one you get in after  +
-logging in (it is the case if you do not see any subdirectories after  +
-logging in). But with some providers you will have several  +
-subdirectories available, from which only one is visible on the  +
-Internet. Such subdirectory will have a name like ''www'', ''htdocs'',  +
-''httpdocs'', ''public_html'' or other.+
-All files you upload to this directory will be visible on the Internet.  +All files you upload to this directory will be visible on the Internet. So for example if you upload your page ''pictures.html'' into your web directory ''htdocs'' and your site domain is ''example.com'', anyone will be able to see your page at address ''http://example.com/pictures.html''.
-So for example if you upload your page ''pictures.html'' into your web  +
-directory ''htdocs'' and your site domain is ''example.com'', anyone  +
-will be able to see your page at address  +
-''http://example.com/pictures.html''.+
-By convention there is a single file that gets displayed if you do not  +By convention there is a single file that gets displayed if you do not specify any file in the address directly, i.e. frontpage. The name of the file is usually ''index.html'' or ''index.htm'' (or different extension if you use some scripting language).
-specify any file in the address directly, i.e. frontpage. The name of  +
-the file is usually ''index.html'' or ''index.htm'' (or different  +
-extension if you use some scripting language).+
===== File Names ===== ===== File Names =====
-Before you start uploading/creating pages, make sure you use reasonable  +Before you start uploading/creating pages, make sure you use reasonable file names. It is strongly recommended not to use punctuation characters, spaces and some special characters in filenames to be published on Internet. Hence instead of ''Mein Gästebuch.html'', use ''mein_gastebuch.html''.
-file names. It is strongly recommended not to use punctuation  +
-characters, spaces and some special characters in filenames to be  +
-published on Internet. Hence instead of ''Mein Gästebuch.html'', use  +
-''mein_gastebuch.html''.+
-Also URL (web addresses) are case sensitive, which is different to how  +Also URL (web addresses) are case sensitive, which is different to how Windows treat filenames. So if you first test your pages locally on Windows and links stops working once you upload the pages, it is probably for inconsistencies in letter cases. For example you may have a link to ''Mein_Gastebuch.html'', but the file is actually named ''mein_gastebuch.html''. This is not the same on Internet.
-Windows treat filenames. So if you first test your pages locally on  +
-Windows and links stops working once you upload the pages, it is  +
-probably for inconsistencies in letter cases. For example you may have a +
- link to ''Mein_Gastebuch.html'', but the file is actually named  +
-''mein_gastebuch.html''. This is not the same on Internet.+
===== Uploading Pages ===== ===== Uploading Pages =====
-You may start uploading by dragging your files to remote panel of  +You may start uploading by dragging your files to remote panel of WinSCP. You can drag the files either from local panel (if you are using [[ui_commander|Commander interface]]) or from Windows Explorer.
-WinSCP. You can drag the files either from local panel (if you are using +
- [[ui_commander|Commander interface]]) or from Windows Explorer.+
-Read [[guide_upload|guide to upload files]] or [[task_upload|full  +Read [[guide_upload|guide to upload files]] or [[task_upload|full documentation of uploading files]].
-documentation of uploading files]].+
-====== Level 1 Headline ====== 
===== Editing Pages ===== ===== Editing Pages =====
-If you do not need to maintain your files locally, you can  +If you do not need to maintain your files locally, you can [[task_edit|edit]] them directly on the remote server.
-[[task_edit|edit]] them directly on the remote server.+
===== Creating Pages ===== ===== Creating Pages =====
-If you want to create the new page, either create new file locally and  +If you want to create the new page, either create new file locally and upload it. Or use //File(s) > New > File// command.
-upload it. Or use //File(s) > New > File// command.+
===== Further Reading ===== ===== Further Reading =====

Last modified: by Petr