Title: rss feed 2.0 &#8211; feed.php change permalink
Last modified: August 19, 2016

---

# rss feed 2.0 – feed.php change permalink

 *  [J32](https://wordpress.org/support/users/j32/)
 * (@j32)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/rss-feed-20-feedphp-change-permalink/)
 * Hi,
 * in my wordpress blog I have changed the link to a post with a custom field calls“
   url”, what keeps the link to the post.
 * To be able to use the rss feed I would like to change in the feed.php
 *     ```
       function the_permalink_rss() {
       	echo apply_filters('the_permalink_rss', get_permalink());
       }
       ```
   
 * the get_permalink() with the custom field “url”.
 * I tried to replace “get permalink()” with “get_post_custom_values(“url”)” but
   it doesn’t work.
 * I also tried to change the function into
 *     ```
       function the_permalink_rss() {
               $values = get_post_custom_values("url");
       	echo apply_filters('the_permalink_rss', $values[0]);
       }
       ```
   
 * Doesn’t work either.
 * Somebody know the solution? thanks
 * Jarod
    Wordpress 2.7

The topic ‘rss feed 2.0 – feed.php change permalink’ is closed to new replies.

## Tags

 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [J32](https://wordpress.org/support/users/j32/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/rss-feed-20-feedphp-change-permalink/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
