Hi i've deleted some static .htm pages. The site has been converted to a wordpress site. I've tried adding the following to .htaccess file but has not worked: Redirect 301 /old.html http://www.mysite.com/page1/ Essentialy i want to redirect the old individual html pages to new directory structure wordpress creates when creating each page.
Hi, There are three things you can do: 1) Apache .htaccess Singe Page Redirect Redirect 301 /old/oldpage.htm /new/http://www.mysite.com/page1 2) Apache .htaccess Canonical Redirect Follow the same steps as before but insert the code below instead (it will redirect all the visitors accessing http://domain.com to http://www.domain.com) Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^domain.com [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc] 3) Install the Simple 301 redirects Plugin Good luck
This is what we use for 301 redirect almost the same as above but works great.. Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.pinellashosting.com/$1 [R=301,L]