• Hi,

    When one page of posts is full they continue onto page 2 of the site and so on. However, I realised that if I type http://www.rpedwards.co.uk/page/999999 then I could go back and forward on each page – even though they shouldn’t exist.

    Currently there is a page 2 (still being coded to sort out a custom field/thumbnail and border issue).

    How do I stop my site from creating these extra pages. Ultimately, is the server having to store/create X amount of extra pages? I though about the 404 page (which I haven’t yet created) – is that a step in the right direction?

Viewing 1 replies (of 1 total)
  • Hi,

    If you haven’t created the 404 page yet then you should see the index if you try to go to a URL that does not exist. Typing in what you have above should generate an error if that many pages do not exist, hence the 404 page is called (resulting in users seeing the index page currently).

    404.php is certainly a step in the right direction.

    I’d also suggust reading up on the Template Hierarchy which gives a very good insight in to exactly how Wordpess detarmains which template to use.

Viewing 1 replies (of 1 total)

The topic ‘A Miliion pages?’ is closed to new replies.