Forum Moderators: phranque

Message Too Old, No Replies

Rewrite RSS feed to a new destination

but I don't want to give it away.....

         

Terabytes

1:55 am on Apr 3, 2009 (gmt 0)

10+ Year Member



I need to redirect an .xml file from a subdirectory....I'm trying out adsense for feeds...and have to redirect my feed to the new URL.

is this correct:?

RewriteRule ^directory\filename\.xml$ [domain.com...] [R=301,L]

Is this the wrong approach, should I actually just change the link(s) to the Feed itself... with no redirect? or am I ok this way....

side note...I rank super well for this feed, am I "giving it away" by redirecting my feed to the new feed address? I think I might be...

I do over 6000 views a day for this feed and I'm hoping to monitize it.....but I don't want to screw it up by giving the feed to another domain... the feed would no longer reside within my domain after I do this...

am I about to lose out....?
thanks for your time!
Tera

g1smd

1:58 am on Apr 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You can

- advertise a URL within your domain and then proxy those requests to some other site. In that way, the content appears to be 'on' your domain,

OR

- you can set up a redirect to this new URL and search engines will update their indexes to list the new URL. The redirect stays in place forever so that prior bookmarks will continue to work.

Terabytes

2:10 am on Apr 3, 2009 (gmt 0)

10+ Year Member



ok...it's going to be redirected...
Is the syntax I used correct?

RewriteRule ^directory\filename\.xml$ [domain.com...] [R=301,L]

this will redirect the old file in the current directory structure to the new destination?

it's this part that I'm really inquiring about: (I've only redirected files from the root prior to this)

^directory\filename\.xml$

is that correct?
thanks!

g1smd

2:14 am on Apr 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The first \ should be / here.

The \. part is correct.

Terabytes

2:34 am on Apr 3, 2009 (gmt 0)

10+ Year Member



ok great!

one more question :)

If I place this redirect, uhhhhhh, how is G going to grab my feed? everytime it wants to update the new location, it will try to read my feed but it will be redirected to the new feed....

doesn't sound like it's going to work out...lol

thanks!

g1smd

7:11 pm on Apr 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I would assume that your redirect tells them the new location of the feed, they make a note of that, and then use that location for all future requests.