I have an RSS feed built with Views on a Drupal 7 installation. I want to append the following string to each feed item's URL but don't know how: "#rss"

For example, let's assume my RSS has a feed item linking to a blog post


I would like to add the hashtag to the end of it, so I get



This hash tag will allow me to see who is visiting the site from my RSS feed as it'll appear on my Analytics program.

I could use Feedburner or other 3rd party feed tracking alternatives, but I am purposefully staying away from them, for reasons we don't need to go into.

Anyhoo, I only managed to get the Views RSS to work recently and have no idea how to modify the feed item URL. Can anyone help? Please assume I am a novice at this.

  • 1
    you need to rewrite the url in your rss view
    – rémy
    Commented Feb 16, 2013 at 9:47
  • @rémy sorry but how do I rewrite the URL?
    – damx
    Commented Feb 16, 2013 at 15:17
  • in that view - how do you link to the node ? there should be options - one named rewirte
    – rémy
    Commented Feb 16, 2013 at 19:10

1 Answer 1


In the RSS view, look at the format section. If you're like me, you'll have the following

Format: RSS feed
Show: Content

enter image description here

  1. Make sure to switch "Content" to "Fields", otherwise you won't ever see the "rewrite" options that the commentators keep mentioning above. Add all the necessary fields you'll need for the RSS feed. You should get something like this (Ignore the field Hardcoded...)

    enter image description here

  2. Now, click on the "Content:Path" field (which you should've added), expand the "Rewrite Results" section, and tick the "Rewrite the output of this field" checkbox.

  3. In the provided textbox, add your custom URL parameter. In my case, I wanted a hashtag, so I added the following:

  4. And, you're done! You may be asking, how did you know what to put in that textbox? Scroll down a bit and expand the "Replacement Patterns" section. You can add all types of stuff. I found this post useful. Of course, I discovered it after I had solved the problem. Still good to know.

Feels good solving my own problem, though special thanks to Remi who pointed me in the right direction.

It seems pretty obvious after the fact and maybe that's why no one wanted to actually write out an answer but for beginners like me, it's obscure. Anyway, I wrote this out in detail in the hopes you won't get stuck here. Hope it helps :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.