Support » Fixing WordPress » Permanent Link set to Both?

  • Greetings,

    I am developing a new syndication site and I need each article to have both a link to it’s own webpage within my site, as well as a link to the sydicated source.

    I have found that the ‘permanent link’ option can be set to internal, or external. internal *almost* does exactly what I want, in creating a new page within my website for that individual news article, but I also need the link back to the source, either on the summary page, or in the individual page, or both.

    Any help you can provide would be greatly appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Do you think you could expand upon this just a little bit? What do you mean by syndicated source, did you mean the feed, or another site that’s displaying your content?

    And where did you want the link to appear?

    Sure, and thanks for responding.

    Ok, I am getting a few news sites RSS feed, and importing their news articles into my wp blog using FeedWordPress.

    For each article I import, I want to dynamically create it’s own webpage within my site. For example, if you click on the title of the syndicated news article on the main page my blog, it will take you to another page within my blog, where that article is the only article in the page. But in this ‘individual’ page, there is also link that will take the reader to the original source of the article.

    Clear as mud, I know. Let me know if you need further clarification.

    So, I need both individual pages for each article in my blog, as well as linkbacks to the original source of the news atricle. Does that make sense?

    Ok, I just noticed that in some of the posts, there is a ‘read more’ link, that links back to the original article, which is perfect. However, not all of the posts have this.

    Is this perhaps a question more suited for the FeedWordPress plugin?

    I found a way to do this, but I’m not sure if it’s the ‘correct’ way. Perhaps someone could point out if I’m doing anything wrong here.

    In the wp-content/themes/default/index.php file, I found the line that adds the title

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

    So, If my permalinks are set to external, I can create an internal link for the same article by adding a ling like this…

    <h2><a href="index.php?p=<?php the_ID() ?>" rel="bookmark" title="internal Link to <?php the_title(); ?>">Read More</a></h2>

    Anyone see anyting wrong with that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permanent Link set to Both?’ is closed to new replies.