WordPress: Uploading WordPress to a remote host:修订间差异

来自站长百科
跳转至: 导航、​ 搜索
(新页面: __NOTOC__ ==Users → Authors & Users== The Authors and Users SubPanel allows you to add, change, or delete, your site's users. In addition, you can se...)
 
无编辑摘要
 
(未显示另一用户的1个中间版本)
第1行: 第1行:
__NOTOC__
(''This is part 2 of the [[WordPress:Using_FileZilla|Using FileZilla guide]]''.)
==Users → Authors & Users==


The [[Authors_and_Users_SubPanel|Authors and Users SubPanel]] allows you to add, change, or delete, your site's users.  In addition, you can search for users, and you can make bulk changes and deletions to a selected group of users.
('' 这是[[WordPress:Using_FileZilla|使用FileZilla指南]]的第2部分''。)


[[Image:authandusers.png|640px|right|Users Authors and Users SubPanel]]
To upload (or delete) files and folders to your web host, you will need an FTP application. One of many free options that are at your disposal is [[WordPress:Using FileZilla|FileZilla]]. Though written using screenshots from a Windows XP machine, using FileZilla, the following instructions carry over to just about every FTP client with a GUI (Graphical User Interface). You may want to read how to [[WordPress:Using_FileZilla|Set up FileZilla]] for your server, before you read the following.


要向你的网络主机上传(或者删除文件),你需要FTP应用软件。你可以处理的许多免费选项之一就是[[WordPress:Using FileZilla|FileZilla]]。虽然是使用Windows XP系统的屏面截图编写的,使用FileZilla,将下面的说明执行到每个拥有GUI(图形用户界面)的FTP client上。在阅读这些说明之前,你可能需要阅读怎样[[WordPress:Using_FileZilla|设置 FileZilla]]处理服务器。


Back to [[Administration Panels]].
== Uploading Files ==


== 上传文件 ==


==Manage Users==
How your server is setup differs from host to host. The screen shots you see here show two generic hosts:


;Search Users :
每个主机上的服务器设置可能都不同。你在这里看到的屏面截图显示了两类主机:
:At the top right of the User Table is a search box to help find users.  Enter a string in the box and click the "Search users" box.  Any User that contains the search string in the Username, Name, E-mail, or Website fields will be displayed, by [[Roles and Capabilities|Role]].  You can then add, change, and delete those users.  A "No matching users were found! " message will be displayed if no Users can be found that match the search string you entered.


;Filter Users :
[[WordPress:Image:podz_filezilla_4.gif|left|thumb|300px|Figure 1: Host example #1]]
: Just above the User Table, are filter links to All Users, and to Users belonging to the various Roles.  Clicking on one of those links, say Subscribers, will display all the Users assigned the Subscribe Role.  Click on All Users to again display all the Users in the table.
[[WordPress:Image:podz_filezilla_5.gif|right|thumb|300px|Figure 2: Host example #2]]
<div style="clear:both;margin:10px">
</div>


===User Table===
[[WordPress:Image:podz_filezilla_4.gif|left|thumb|300px|图 1: 主机例子 #1]]
The second section of the [[Users Authors_and_Users_SubPanel|Authors and Users SubPanel]] displays a table of all the users listed by Username order. 
[[WordPress:Image:podz_filezilla_5.gif|right|thumb|300px|图 2: 主机例子 #2]]
<div style="clear:both;margin:10px">
</div>


;Delete Users :
Your screen could have <tt>htdocs</tt> or <tt>public_html</tt> where the screenshots show <tt>mainwebsite_html</tt>.
:At the top of the table is the '''Delete''' button.  Any User that has the checkbox (left of Username) set, will be deleted when the Delete button is clicked.  On clicking the Delete button, a Delete Users panel will display with a message "You have specified these users for deletion:" with a list of the Users you are deleting with the following question:
:: '''What should be done with posts and links owned by this user?'''
::* '''Delete all posts and links''' - Check this radio button and click the Confirm Deletion button to delete the User(s) as well as any posts and links attributed to those User(s).
::* '''Attribute all posts and links to''' - Check this radio button, select a User from the adjacent drop-down box, and click the Confirm Deletion button to attribute all the posts and links for the Deleted User(s) to the User you selected in the pulldown box.  Upon successful completion of the deletion process, a splash message box near the top of the panel will display "x user(s) deleted".  


;Change User Role :
你的界面可能有<tt>htdocs</tt>或者<tt>public_html</tt>,屏面截图在这里显示为<tt>mainwebsite_html</tt>。
:To the right of the Delete button is a '''Change role to''' pull-down box.  Select a Role, and all the Users that have the checkbox (left of Username) checked, will be changed to that Role upon clicking the Change button. Upon successful completion of the changes, a splash box with the message "Changed roles." will display.


To install WordPress double-click the one that is web-root directory for webpages on your server. This is usually named <tt>htdocs</tt>, <tt>public_html</tt>, <tt>mainwebsite_html</tt>, <tt>www</tt>, <tt>web</tt>, or something very similar. The other folders are not of consequence in installing WordPress.


;User Table : The table of Users contains the following columns:
要安装WordPress,请双击你的服务器网页的根目录。这个目录通常命名为<tt>htdocs</tt>, <tt>public_html</tt>, <tt>mainwebsite_html</tt>, <tt>www</tt>, <tt>web</tt>,或者其它相似的名称。安装WordPress时,其它文件夹并不重要。


:*'''[ ] check box''' - Check this box if this user is to be affected by the Delete or Change (role) functions.  There is also a checkbox in the column header to the left of the text Username--click that checkbox to cause all Users to be checked.
You should now see listing of files and folders that are contained inside your server's root folder. Just how many there are depends on what and how much you have on your website.
:*'''Username''' - The login of the User. To edit a User, click on the Username link, the [[Users_Your_Profile_SubPanel|Profile and Personal Options SubPanel]] will then display for you to make the necessary changes. In addition to the Username, all users have a unique identification number which WordPress uses to identify users internally.  To determine that '''User ID''', hover the mouse over the Username link, and the User ID will be revealed as part of the URL in the browser status bar.
:*'''Name''' - The first and last names of the User.
:*'''E-mail''' - The User's e-mail address.
:*'''Role''' - The Role assigned to that User.
:*'''Posts''' - The number of Posts written by that User.


==Add New User==
现在你会在服务器根目录上,看到文件和文件夹的列表。有多少文件和文件夹,取决于你的网站上有多少。
In this section, you may add a new Users to your blog.  If the '''Anyone can register''' option is set in the Membership section of [[Administration_Panels|Administration]] > [[Administration_Panels#General|Settings]] > [[Settings_General_SubPanel|General]], users can register themselves at <nowiki>http://your wordpress url/wp-register.php</nowiki>.  Regardless of that setting, you can manually create new users here.
:*'''Username (required)''' -  Enter the username of the new user here.  This will also be used as the '''Login''' name of the new user.
:*'''First Name''' -  Enter the first name of the new user here.
:*'''Last Name''' - Enter the last name of the new user in this text box.
:*'''E-mail (required)''' -  Enter a valid e-mail address of the new user here.
:*'''Website''' -:  You may enter the new user's website URL in this text box.
:*'''Password (twice)''' - Enter a password for the new user twice here, once in each text box.
:*'''Role''' -  Select the desired Role for this User from the drop-down box.
:*'''Add User''' -  Clicking this important button to save the new user's information into WordPress' database.  If you don't click this button, the user will not be added.  A flash message at the top of the panel well advise you that the new user has been added.


Back to [[Administration Panels]].
The point of this exercise is to upload WordPress, so let us continue down that road:


[[Category:Administration Panels]]
关键是要上传WordPress,因此,我们现在继续:
[[Category:Getting Started]]
 
Right click in the server window:
在服务器窗口中点击:
 
[[WordPress:Image:podz_filezilla_6.gif|center|thumb|400px|Figure 3 : Server window]]
 
[[WordPress:Image:podz_filezilla_6.gif|center|thumb|400px|图3 : 服务器窗口]]
 
Click '''Create Directory''', enter the name you want, and click '''Okay'''.
 
点击'''创建目录''',输入你命名的目录名称,并且点击'''Okay'''。
 
'''NOTE:''' The name you choose will be where your WordPress weblog will appear, and although it can be changed later, it's much better to avoid that by choosing what you want now. For example, if your website has the URL <tt><nowiki>http://example.com</nowiki></tt> and you want your weblog to be located at <tt><nowiki>http://example.com/blog</nowiki></tt>, then name the new folder <tt>blog</tt>.
 
'''注:'''你选择的目录名称,就是你的WordPress网络博客即将显示的地址名称。虽然这个名称随后可以更改,但是你最后现在选好,避免以后更改。例如,如果你的网页拥有URL<tt><nowiki>http://example.com</nowiki></tt>而且你希望你的网络日志,位于<tt><nowiki>http://example.com/blog</nowiki></tt>,那么请命名新的文件夹<tt>博客</tt>。
 
In this example, we have created the directory <tt>blog</tt>.
在这个例子中,我们已经创建了目录<tt>博客</tt>。
 
[[WordPress:Image:podz_filezilla_7.gif|center|thumb|256px|Figure 4 : Newly created directory]]
 
[[WordPress:Image:podz_filezilla_7.gif|center|thumb|256px|图4 : 新创建的目录]]
 
Now the directory <tt>blog</tt> has been made, double-click on it to open it.
 
现在目录<tt>博客</tt>已经创建好了,双击这个目录,将其打开。
 
[[WordPress:Image:podz_filezilla_8.gif|center|thumb|406px|Figure 5 : The new and empty directory]]
 
[[WordPress:Image:podz_filezilla_8.gif|center|thumb|406px|图5 : 新的空目录]]
 
Nothing there yet ... but note the folder with the dots following it -- clicking that takes you back up a folder level.
 
目录中还没有任何内容…但是注意文件夹后面带有点号—点击,带你备份文件夹层级。
 
== Upload WordPress ==
 
== 上传WordPress ==
 
Before you begin to upload WordPress, it is essential to have [http://www.wordpress.org/download downloaded WordPress], and unzipped it, on your local computer. When you unzip the <tt>downloaded .zip</tt> file, a folder called <tt>wordpress</tt> will be created. Please note the location of this folder in your computer. You may also want to prepare the downloaded files for installation, by reading [[WordPress:Installing WordPress]] and completing the relevant steps, such as editing <tt> wp-config-sample.php</tt>.
 
在你开始上传WordPress之前,已经拥有[http://www.wordpress.org/download 已下载的 WordPress],并且将其解压到了你的本地电脑上,这一点,很重要。当你解压<tt>downloaded .zip</tt>文件的时候,会创建一个称为<tt>wordpress</tt>的文件夹。请注意这个文件夹在你的电脑上的位置。你可能准备将已下载的文件,安装,请阅读[[WordPress:Installing WordPress|安装WordPress]],完成相关的步骤,例如编辑<tt> wp-config-sample.php</tt>。
 
In Area 2 of [[WordPress:Using_FileZilla#Set_Up_FileZilla|Using Filezilla -> Figure 1]], find your way to where you have the WordPress folder on your computer after unzipping the zip file that you downloaded.
 
在[[WordPress:Using_FileZilla#Set_Up_FileZilla|使用Filezilla -> 图 1]]的第二个区域,在解压了你下载的文件夹后,查找你将WordPress文件夹放在电脑的什么位置,
 
[[WordPress:Image:podz_filezilla_9.gif|center|thumb|383px|Figure 6 : Folder navigation - top window]]
 
[[WordPress:Image:podz_filezilla_9.gif|center|thumb|383px|图6 : 文件夹导航 - top window]]
 
When you have found it and clicked the <tt>wordpress</tt> folder, the window underneath that will show the contents of said folder:
 
你找到这个文件夹后,请点击<tt>wordpress</tt>文件夹,下面的窗口会显示上述文件夹的内容:
 
[[WordPress:Image:podz_filezilla_10.gif|center|thumb|382px|Figure 7 : Folder navigation - bottom window]]
 
[[WordPress:Image:podz_filezilla_10.gif|center|thumb|382px|图7 : 文件夹导航 - bottom window]]
 
 
Hold the SHIFT key , and press the DOWN arrow on the keyboard to highlight all the files and folders in that window.
 
按住SHIFT键,同时按住键盘上的向下箭头,突出那个窗口上的所有的文件和文件夹。
 
Now RIGHT-click, and choose '''Upload''' from the menu.  Now watch ...... everything should be uploaded straight to your website.
 
现在右击,从菜单中选择'''上传'''。现在观察……所有内容应该都直接上传到了你的站点。
 
Once that has happened, then whatever is in the server window should be on your computer window. The <tt>blog</tt> folder on the server, and the <tt>wordpress</tt> folder on your computer should be identical with regards to the contents.
 
上传好后,服务器窗口中的任何内容,都会出现在你的电脑窗口上。服务器上的<tt>blog</tt>文件夹和你的电脑上<tt>wordpress</tt>文件夹,内容应该是一样的。
 
Click on folders -- such as <tt>wp-admin</tt> -- in both windows and check that each window has the same list of files and folders.
 
点击文件夹—例如<tt>wp-admin</tt> --在两个窗口中,核实每个窗口都有相同的文件和文件夹列表。
 
[[WordPress:Image:podz_filezilla_11.gif|center|thumb|509px|Figure 8 : Files in each folder should be the same]]
 
[[WordPress:Image:podz_filezilla_11.gif|center|thumb|509px|图8 : 各自文件夹中的文件应该是相同的]]
 
This concludes the guide for uploading files to your server, using an FTP client, FileZilla, especially with regard to installing WordPress.
 
这样结束了使用FTP client, FileZilla,将啊文件上传到你的服务器上的指南,特别是有个安装WordPress方面。
 
You may want to read more about [[WordPress:Changing_File_Permissions|Changing File Permissions and seeing hidden files]] on the server.
 
你可以在服务器上阅读更多的关于[[WordPress:Changing_File_Permissions|更改文件权限和查看影藏文件]]的内容。

2008年8月16日 (六) 15:46的最新版本

(This is part 2 of the Using FileZilla guide.)

( 这是使用FileZilla指南的第2部分。)

To upload (or delete) files and folders to your web host, you will need an FTP application. One of many free options that are at your disposal is FileZilla. Though written using screenshots from a Windows XP machine, using FileZilla, the following instructions carry over to just about every FTP client with a GUI (Graphical User Interface). You may want to read how to Set up FileZilla for your server, before you read the following.

要向你的网络主机上传(或者删除文件),你需要FTP应用软件。你可以处理的许多免费选项之一就是FileZilla。虽然是使用Windows XP系统的屏面截图编写的,使用FileZilla,将下面的说明执行到每个拥有GUI(图形用户界面)的FTP client上。在阅读这些说明之前,你可能需要阅读怎样设置 FileZilla处理服务器。

Uploading Files[ ]

上传文件[ ]

How your server is setup differs from host to host. The screen shots you see here show two generic hosts:

每个主机上的服务器设置可能都不同。你在这里看到的屏面截图显示了两类主机:

left|thumb|300px|Figure 1: Host example #1 right|thumb|300px|Figure 2: Host example #2

left|thumb|300px|图 1: 主机例子 #1 right|thumb|300px|图 2: 主机例子 #2

Your screen could have htdocs or public_html where the screenshots show mainwebsite_html.

你的界面可能有htdocs或者public_html,屏面截图在这里显示为mainwebsite_html

To install WordPress double-click the one that is web-root directory for webpages on your server. This is usually named htdocs, public_html, mainwebsite_html, www, web, or something very similar. The other folders are not of consequence in installing WordPress.

要安装WordPress,请双击你的服务器网页的根目录。这个目录通常命名为htdocs, public_html, mainwebsite_html, www, web,或者其它相似的名称。安装WordPress时,其它文件夹并不重要。

You should now see listing of files and folders that are contained inside your server's root folder. Just how many there are depends on what and how much you have on your website.

现在你会在服务器根目录上,看到文件和文件夹的列表。有多少文件和文件夹,取决于你的网站上有多少。

The point of this exercise is to upload WordPress, so let us continue down that road:

关键是要上传WordPress,因此,我们现在继续:

Right click in the server window: 在服务器窗口中点击:

center|thumb|400px|Figure 3 : Server window

center|thumb|400px|图3 : 服务器窗口

Click Create Directory, enter the name you want, and click Okay.

点击创建目录,输入你命名的目录名称,并且点击Okay

NOTE: The name you choose will be where your WordPress weblog will appear, and although it can be changed later, it's much better to avoid that by choosing what you want now. For example, if your website has the URL http://example.com and you want your weblog to be located at http://example.com/blog, then name the new folder blog.

注:你选择的目录名称,就是你的WordPress网络博客即将显示的地址名称。虽然这个名称随后可以更改,但是你最后现在选好,避免以后更改。例如,如果你的网页拥有URLhttp://example.com而且你希望你的网络日志,位于http://example.com/blog,那么请命名新的文件夹博客

In this example, we have created the directory blog. 在这个例子中,我们已经创建了目录博客

center|thumb|256px|Figure 4 : Newly created directory

center|thumb|256px|图4 : 新创建的目录

Now the directory blog has been made, double-click on it to open it.

现在目录博客已经创建好了,双击这个目录,将其打开。

center|thumb|406px|Figure 5 : The new and empty directory

center|thumb|406px|图5 : 新的空目录

Nothing there yet ... but note the folder with the dots following it -- clicking that takes you back up a folder level.

目录中还没有任何内容…但是注意文件夹后面带有点号—点击,带你备份文件夹层级。

Upload WordPress[ ]

上传WordPress[ ]

Before you begin to upload WordPress, it is essential to have downloaded WordPress, and unzipped it, on your local computer. When you unzip the downloaded .zip file, a folder called wordpress will be created. Please note the location of this folder in your computer. You may also want to prepare the downloaded files for installation, by reading WordPress:Installing WordPress and completing the relevant steps, such as editing wp-config-sample.php.

在你开始上传WordPress之前,已经拥有已下载的 WordPress,并且将其解压到了你的本地电脑上,这一点,很重要。当你解压downloaded .zip文件的时候,会创建一个称为wordpress的文件夹。请注意这个文件夹在你的电脑上的位置。你可能准备将已下载的文件,安装,请阅读安装WordPress,完成相关的步骤,例如编辑 wp-config-sample.php

In Area 2 of Using Filezilla -> Figure 1, find your way to where you have the WordPress folder on your computer after unzipping the zip file that you downloaded.

使用Filezilla -> 图 1的第二个区域,在解压了你下载的文件夹后,查找你将WordPress文件夹放在电脑的什么位置,

center|thumb|383px|Figure 6 : Folder navigation - top window

center|thumb|383px|图6 : 文件夹导航 - top window

When you have found it and clicked the wordpress folder, the window underneath that will show the contents of said folder:

你找到这个文件夹后,请点击wordpress文件夹,下面的窗口会显示上述文件夹的内容:

center|thumb|382px|Figure 7 : Folder navigation - bottom window

center|thumb|382px|图7 : 文件夹导航 - bottom window


Hold the SHIFT key , and press the DOWN arrow on the keyboard to highlight all the files and folders in that window.

按住SHIFT键,同时按住键盘上的向下箭头,突出那个窗口上的所有的文件和文件夹。

Now RIGHT-click, and choose Upload from the menu. Now watch ...... everything should be uploaded straight to your website.

现在右击,从菜单中选择上传。现在观察……所有内容应该都直接上传到了你的站点。

Once that has happened, then whatever is in the server window should be on your computer window. The blog folder on the server, and the wordpress folder on your computer should be identical with regards to the contents.

上传好后,服务器窗口中的任何内容,都会出现在你的电脑窗口上。服务器上的blog文件夹和你的电脑上wordpress文件夹,内容应该是一样的。

Click on folders -- such as wp-admin -- in both windows and check that each window has the same list of files and folders.

点击文件夹—例如wp-admin --在两个窗口中,核实每个窗口都有相同的文件和文件夹列表。

center|thumb|509px|Figure 8 : Files in each folder should be the same

center|thumb|509px|图8 : 各自文件夹中的文件应该是相同的

This concludes the guide for uploading files to your server, using an FTP client, FileZilla, especially with regard to installing WordPress.

这样结束了使用FTP client, FileZilla,将啊文件上传到你的服务器上的指南,特别是有个安装WordPress方面。

You may want to read more about Changing File Permissions and seeing hidden files on the server.

你可以在服务器上阅读更多的关于更改文件权限和查看影藏文件的内容。