Pitfalls of WordPress Install
Posted: October 28th, 2005 | Author: Administrator | Filed under: General | No Comments »For the most part, the WordPress setup is simple. Maybe too simple. Instead of pulling your hair out, check out some of the bumps you may encounter while getting your Blog to work:
- Make sure your WordPress database and user are already setup and running within MySQL before you begin installation.
If you are not sure how to do this, start MySQL and issue the commands:
CREATE DATABASE wordpress;
GRANT ALL ON wordpress.* TO <wordpress_user> IDENTIFIED BY '<wordpress_user_password>';
FLUSH PRIVLEGES;
Of course, you need to replace <wordpress_user> with the username you desire, e.g. wpadmin. Similarly, you need to replace <wordpress_user_password> with your desired password.
- If you want to use cruft free style URLs, ensure that your Apache web server has the mod_rewrite engine compiled in.
If you are being hosted by a third party, you pretty much don’t have a choice in this matter. However, if you run your server in-house, a quick recompile with the –enable-rewrite option will do the trick.
Also, you need to ensure the AllowOverride All option is set within your httpd.conf file. If you host multiple domains, add the option within your <VirtualHost >. For example:
<virtualhost *:80>
ServerName mydoman.com
ServerAdmin admin@mydoman.com
DocumentRoot /var/www/mydomain.com/html
<directory "/var/www/mydomain.com/html">
Options FollowSymLinks
AllowOverride All
</directory>
</virtualhost>
Leave a Reply