Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Apache Server
- localhost:10000
- Apache Webserver -> Global configuration -> Configure Apache Modules -> "rewrite" Enabled
- $ nano /home/user/www/wordpress_directory/.htaccess
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /wordpress_directory/
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /wordpress_directory/index.php [L]
- </IfModule>
- //change mode to writable; 666 = rw rw rw
- $ chmod 666 /home/user/www/wordpress/.htaccess
Advertisement
Add Comment
Please, Sign In to add comment