Does migrating blog affect my feed?
-
Hi,
I’ve just switched to WordPress from Blogger and am wondering if it will affect my feed in some way. Do I have to specify a new path, or do anything else?
Thank you!
Alda
http://www.icelandweatherreport.com
-
Congrats on successfully moving your blog.
Codex: Finding Your Feed URLThanks haochi! 🙂
As for the link you sent … I’m really confused. This is all very new to me. I gather that I can install a piece of code in my .htacess file that will redirect my old feed to the new site, but from what I can see they only provide them for b2 and Movable Type users, not blogger. Does that matter?
I believe this is what you want for the .htaccess file (it redirects atom.xml and rss.xml – which Blogger uses – to WordPress’ Atom and RSS2 feed, respectively):
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^atom.xml$ ?feed=atom [R=302,L] RewriteRule ^rss.xml$ ?feed=rss2 [R=302,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Thank you so much.
So – if I install this, will my feeds redirect automatically, i.e. those readers who are already subscribed will continue to receive feeds from this new site??
Just speak to me as you would to a child … 🙂
Hi again
I added this code to my .htaccess file and published a post. Usually I have people logging on within minutes, but not so now. It’s been more than an hour and no one has come through on a feed, so I’m guessing it’s not working.
What exactly am I doing wrong??
So – if I install this, will my feeds redirect automatically, i.e. those readers who are already subscribed will continue to receive feeds from this new site??
It should. It basically redirects all requests to /atom.xml & rss.xml (which Blogger used) to WordPress’ equivalent with a 302 redirect.
It’s been more than an hour and no one has come through on a feed, so I’m guessing it’s not working.
Well, the redirection is not working, so either the code I posted above is wrong or you did something wrong.
* http://icelandweatherreport.com/atom.xml
* http://icelandweatherreport.com/rss.xmlHave you replaced the WHOLE .htaccess file with the code I posted above? Also, try to add a “/” (without quotes) in front of the two ? (question marks). Then click on the above two links to see if it’s working.
I didn’t replace the whole .htaccess file because there is already code in there to do with my permalinks … something about migrating from Blogger to WordPress, which affected my permalinks … as you can see I don’t know what I’m talking about, I just followed set instructions and it solved the problem at the time!
So, is the feed redirect code the only thing supposed to be in the .htaccess file, otherwise it won’t work??
Ok, then just add the following two lines
RewriteRule ^atom.xml$ /?feed=atom [R=302,L] RewriteRule ^rss.xml$ /?feed=rss2 [R=302,L]
after
RewriteBase /
in the .htaccess file.Haochi, the code in my .htaccess file looks like this
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>RewriteRule ^atom.xml$ /?feed=atom [R=302,L]
RewriteRule ^rss.xml$ /?feed=rss2 [R=302,L]Is that right?? Because the feed still isn’t working … 🙁
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^atom.xml$ /?feed=atom [R=302,L] RewriteRule ^rss.xml$ /?feed=rss2 [R=302,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
A much better, simpler, and faster way to do this:
Redirect 301 /atom.xml http://icelandweatherreport.com/?feed=atom Redirect 301 /rss.xml http://icelandweatherreport.com/?feed=rss2
Put these at the very top of the .htaccess file. No need for screwing with rewrite rules or anything else. Easy.
Also, you want a 301 redirect, not a 302. 302 is temporary, 301 is permanent.
Thank you Otto. That worked perfectly.
Hi guys,
I’m trying the redirect thing 301 for my former blogger feed:
http://mysite.com/feeds/posts/default?alt=rss
(I have wordpress 6 and i am using permalink)
unfortunately the redirect in my htaccess of this url does not work (i followed the advice of this thread), I also vainly try to use a plugin for redirect.
Any idea how to redirect this url to my wordpress rss feed?
hope you can help 🙂
- The topic ‘Does migrating blog affect my feed?’ is closed to new replies.