[resolved] problem with post titles not linking to post (5 posts)

  1. grishart
    Posted 3 years ago #

    hi all
    I am having trouble with my category template page. I have this code on it <h1 class="page-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1> But it is not then linking to the post.

    Instead I get the following error page not found.

    I am using multi sites could this be the problem?
    [ Moved to Multisite ]

  2. That code looks ok to me, so I'm guessing that it could be because you are using Multisite and something is not quite right with your settings.

  3. Should be the same in Multi as in single.

    What URL is it putting out?

  4. grishart
    Posted 3 years ago #

    Hi all

    I looked at the permalinks and it was showing /blog/ in grey that I could not change. I am now using multi sites for each category as this was the only way to get my taxonomy to work!

    Must have set up the multi sites wrong at the start :-(

  5. If you use subfolder multisite, then yes, you get /blog/ slapped in your URLs for the main site. This is not a bug, this is how it's supposed to work.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.