.htaccess Redirect 301 in Wordpress – From Post to Page
- by elocman
By default, Wordpress posts are added to RSS feed. For my website, I want to include Wordpress pages to RSS feed. I know that some plugins could help me. Instead, I try to use redirect 301 in .htacccess file.
My question is, will this way work fine for Google and other search engines?
Here’s what I did:
Published a new page and then a new post with the same title, desc, keywords and content (though I know that if there’s redirect 301 Google won’t "read" the post but switch to the page)
Added the line Redirect 301 etc. to my .htacccess file
Now my post is listed in RSS feed, and when you click on it you’re redirected to the page