Friday 19 July 2013

Uploading the WordPress files via FTP

✦ You can choose a different folder from the root. You aren’t required to
transfer the files to the root directory of your Web server. You can choose
to run WordPress on a subdomain or in a different folder on your account.
If you want your blog address to be http://yourdomain.com/blog,
you transfer the WordPress files into a /blog folder (where yourdomain
is your domain name).

✦ Choose the right file permissions. File permissions tell the Web server
how these files can be handled on your server — whether they’re files
that can be written to. Generally, PHP files need to have a permission
(Chmod is explained in Chapter 2 of this minibook) of 666, whereas file
folders need a permission of 755. Almost all FTP clients let you check
and change the permissions on the files, if you need to. Typically, you
can find the option to change file permissions within the menu options
of your FTP client.

Some hosting providers run their PHP software in a more secure format —
safe mode. If this is the case with your host, you need to set the PHP files to
644. If you’re unsure, ask your hosting provider what permissions you need
to set for PHP files.

0 comments:

Post a Comment