• Hi, I want to create a link from the article title. This would involve changing the Permalink, wouldn’t it? How can I do that?
    What I mean is if someone clicks on the article title he should be redirected to another website.
    Bruno

Viewing 4 replies - 1 through 4 (of 4 total)
  • You should have something like this inside your index.php loop:

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

    Change <?php the_permalink() ?> to whatever you want instead.

    BTW, this thread is in the wrong section.

    Thread Starter brunobaer

    (@brunobaer)

    thanks for your reply. I did not express myself clearly. I just want to redirect single article – not every – when clicking on the title.
    BTW, which section should it be in?
    Bruno

    Then you should be looking at .htaccess.

    BTW, this thread is in the wrong section.

    Topic moved.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘creating link from article title’ is closed to new replies.