Redirection not working when redirect from non WordPress site to WordPress site
-
I am trying to redirect from a non WordPress site to a WordPress site. The Redirection plugin is not working and the original site is displayed when you type in the address bar.
An example is trying to redirect from:
http://www.cookeryskills.com/html/congress_tarts.html
to
http://www.cookeryskills.com/recipes/cake-and-pastry-recipes/congress-tarts/The coding I have in my .htaccess file is as follows:
# BEGIN WordPress
<IfModule mod_rewrite.c>
DirectoryIndex index.php index.html index.htm
RewriteEngine On
RewriteBase /Beta/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /Beta/index.php [L]
</IfModule># END WordPress
I had previously amended the .htaccess file as set out in the tutorial below to add
DirectoryIndex index.php index.html index.htm.
This seems to have worked okay.http://wordpress.org/support/topic/moving-site-to-root-directory-while-wordpress-is-in-subdirectory
- The topic ‘Redirection not working when redirect from non WordPress site to WordPress site’ is closed to new replies.