Redirect a Page to external URL


My theme provides a bunch of menu-level Pages .

I want one of them to redirect to the login/register page (<blog>/wp-login.php)

Solution: Install the “Page Links To” plugin



Another alternative: (haven’t tried this yet.. but same idea)


How to remove logo and copyright from footer in WordPress theme


So you bought and applied a theme to your blog

Now you want to remove the theme’s copyright and logo or replace it with your own


Edit footer.php

located in :


How to send email from WordPress install


For allowing users to register, reset passwords etc WordPress stand-alone installation needs to send emails.

Solution: You need to install Postfix 

For Ubuntu:

Postfix can easily be installed through apt-get:

sudo apt-get install postfix


Enabling Permalinks on WordPress install (Ubuntu 12.10)


Permalinks require mod_rewrite and .htaccess


1. To enable mod_rewrite in Ubuntu, you just need to write this command in terminal
sudo a2enmod rewrite

Restart apache2 after this by typing “service apache2 restart”

2.  To get Permalinks working you will need to place an .htaccess file in your wordpress’s web directory(/var/www or /var/www/<blogname> in case of multiple blogs on same host) and add the following: 

# BEGIN WordPress 

RewriteEngine On 
RewriteBase / 
RewriteRule ^index\.php$ – [L] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . /index.php [L] 

# END WordPress 


3.  Change the permissions on the .htaccess file to “chmod 666” so wordpress can update it when you switch permalink patterns from the settings page

Note: This is a hidden file so it will only show up when you type “ls -altr

4. Open up the following file, and replace every occurrence of “AllowOverride None” with “AllowOverride all”  (note : “all” should be in lower-case for this to work)

1) sudo nano /etc/apache2/sites-available/default 
2) sudo service apache2 restart

5. Change the permalink in WordPress admin console(http://your-wordpress-domain/wp-admin.php)  to what you want by going to Settings -> Permalinks -> and clicking to “Save Changes”. 

This will update the .htaccess file. Double-check this by checking the timestamp of the .htaccess file after clicking “Save changes” on WordPress admin console