Forums

[resolved] <?php bloginfo('rss2_url') ?> - Where is this ultimately pulling the data from? (3 posts)

  1. Xandor
    Member
    Posted 1 month ago #

    I moved domains from http://www.example.com/sitename to http://www.sitename.com. Everything seems to be working with one exception. The theme I am using still displays the RSS feeds as http://www.sitename.com/ohhimovie/?feed=rss2. Every other address has been updated it seems, except for my RSS feeds.

    The theme pulls the RSS feed urls using <?php bloginfo('rss2_url') ?>.

    So my question is, where is that value ultimately stored? Is it in the Database? If so, I will just access it through phpMyAdmin and update it.

    Help me!

    <?php if ( ($feed = arras_get_option('feed_url') ) == '' ) : ?>
    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" title="<?php printf( __( '%s latest posts', 'arras' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
    <?php else : ?>
    <link rel="alternate" type="application/rss+xml" href="<?php echo $feed ?>" title="<?php printf( __( '%s latest posts', 'arras' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
    <?php endif; ?>
    
    <?php if ( ($comments_feed = arras_get_option('comments_feed_url') ) == '' ) : ?>
    <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'arras' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
    <?php else : ?>
    <link rel="alternate" type="application/rss+xml" href="<?php echo $comments_feed ?>" title="<?php printf( __( '%s latest comments', 'arras' ), wp_specialchars( get_bloginfo('name'), 1 ) ) ?>" />
    <?php endif; ?>
  2. Xandor
    Member
    Posted 1 month ago #

    It was a theme setting. I've fixed it.

  3. searchen
    Member
    Posted 4 weeks ago #

    Xandor...

    I have the same issue... how did you fix the theme?

    Many thanks, Peter

Reply

You must log in to post.

About this Topic