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行:
__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.  
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.  


[[Image:authandusers.png|640px|right|Users Authors and Users SubPanel]]
== Uploading Files ==


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


Back to [[Administration Panels]].
[[WordPress:Image:podz_filezilla_4.gif|left|thumb|300px|Figure 1: Host example #1]]
[[WordPress:Image:podz_filezilla_5.gif|right|thumb|300px|Figure 2: Host example #2]]
<div style="clear:both;margin:10px">
</div>


Your screen could have <tt>htdocs</tt> or <tt>public_html</tt> where the screenshots show <tt>mainwebsite_html</tt>.


==Manage Users==
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.


;Search Users :
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.
: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 :
The point of this exercise is to upload WordPress, so let us continue down that road:
: 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.


===User Table===
Right click in the server window:
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. 


;Delete Users :
[[WordPress:Image:podz_filezilla_6.gif|center|thumb|400px|Figure 3 : Server window]]
: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 :
Click '''Create Directory''', enter the name you want, and click '''Okay'''.
: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.


'''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>.


;User Table : The table of Users contains the following columns:
In this example, we have created the directory <tt>blog</tt>.


:*'''[ ] 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.
[[WordPress:Image:podz_filezilla_7.gif|center|thumb|256px|Figure 4 : Newly created directory]]
:*'''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==
Now the directory <tt>blog</tt> has been made, double-click on it to open it.
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]].
[[WordPress:Image:podz_filezilla_8.gif|center|thumb|406px|Figure 5 : The new and empty directory]]


[[Category:Administration Panels]]
Nothing there yet ... but note the folder with the dots following it -- clicking that takes you back up a folder level.
[[Category:Getting Started]]
 
== Upload 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>.
 
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:Image:podz_filezilla_9.gif|center|thumb|383px|Figure 6 : Folder navigation - 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:
 
[[WordPress:Image:podz_filezilla_10.gif|center|thumb|382px|Figure 7 : Folder navigation - bottom window]]
 
Hold the SHIFT key , and press the DOWN arrow on the keyboard to highlight all the files and folders in that window.
 
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.
 
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.
 
[[WordPress:Image:podz_filezilla_11.gif|center|thumb|509px|Figure 8 : Files in each folder should be the same]]
 
This concludes the guide for uploading files to your server, using an FTP client, FileZilla, especially with regard to installing WordPress.
 
You may want to read more about [[WordPress:Changing_File_Permissions|Changing File Permissions and seeing hidden files]] on the server.

2008年8月16日 (六) 14:33的版本

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

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.

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

Your screen could have htdocs or public_html where the screenshots show 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.

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:

Right click in the server window:

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

Click Create Directory, enter the name you want, and click 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.

In this example, we have created the directory blog.

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

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

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

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

Upload 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.

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.

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

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

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

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

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.

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

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

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

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