• Hello,

    I have a collection of posts which are being displayed by the archive template. These do not have click throughs to their own pages as it is not required but wordpress still creates the single post pages for these. I am not having issues where good are spidering these single post pages.

    Is there a way to stop wordpress creating some single post pages?

    Thanks

    Dave

Viewing 2 replies - 1 through 2 (of 2 total)
  • Open your index.php in your template directory and remove the
    link around the the_title – Tag…

    It could look like that:

    <h3><a href="<?php the_permalink() ?>" rel="bookmark">
    <?php the_title(); ?>
    </a></h3>

    Remove the link and it looks something like this:

    <h3><?php the_title(); ?></h3>

    No more single pages.
    This is either in the index.php or in the category.php… depending on your theme and settings.

    Thread Starter Dave Redfern

    (@daveredfern)

    Hello wearitwell.

    Thanks for replying but that isn’t catching my drift quite.

    I have already done this so when navigating the website the page seems not to exist but good can still find it.

    For example:-
    i have /testimonials/
    but the posts inside still have a single of /testimonials/1/
    That second url is accessible to the world even if it is not linked to in the /testimonials/ page.

    Google appears to be indexing this single pages regardless of whether they are linked during the site.

    Hope this makes more sense..?

    Dave.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Stop single post pages being created’ is closed to new replies.