In this tutorial, I will walk you through redirecting a URL in WordPress without using any plugins.
You can open a Terminal or Command Prompt window and do the following:
$cd to /var/www/html
$sudo nano .htaccess
Append to the end of file “Redirect 301 old-URL new-URL”
Save file and exit
$sudo service apache2 restart
Post a Comment
Note: Only a member of this blog may post a comment.