.htaccess Redirect 301 in Wordpress – From Post to Page
Posted
by
elocman
on Pro Webmasters
See other posts from Pro Webmasters
or by elocman
Published on 2012-11-29T14:22:13Z
Indexed on
2012/11/29
17:19 UTC
Read the original article
Hit count: 488
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
© Pro Webmasters or respective owner