August 26, 201313 yr 1. edit apache httpd.conf as below: <VirtualHost *:80> DocumentRoot /home/yourrootpath ServerName www.1573dy.com ErrorLog logs/blog_error_log CustomLog logs/blog_access_log common </VirtualHost> <Directory "/home/yourrootpath"> Options FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> 2. create .htaccess file and chmod 777 # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress ~ 3. restart httpd service. I get the procedure from http://www.1573dy.com
Create an account or sign in to comment