Page is a not externally linkable
- Hardware and OS Related Technologies
-- Website Technology Issues
---- 301 Redirect For Wordpress Site


anand84 - 5:11 pm on Apr 9, 2010 (gmt 0)


Hi

I will be performing the 301 redirect tomorrow..Have this small doubt that I hope you shall clarify

For redirecting, I was advised to place this in .HTACCESS


Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.example.com/$1 [R=301,L]


I just checked with my existing htaccess file which reads thus (I'm quoting only the relevant portion)

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress


Now, my doubt is will it simply suffice if I add the Options +FollowSymLinks and RewriteRule (.*) http://www.example.com/$1 [R=301,L] immediately before and after the boldened text in the quote above?

Please clarify.

Thanks

[edited by: engine at 5:35 pm (utc) on Apr 9, 2010]
[edit reason] please use example.com [/edit]


Thread source:: http://www.webmasterworld.com/website_technology/4090110.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com