• https://workhate.co.uk/index.php?p=99

    The two links above are essentially the same post. However, they appear to show up differently depending on how one accesses them. I’m not sure how this happens, but it causes me a problem.

    Now, if i make any changes in CSS, mainly in regards to the main content div, it only seems to show up in the second link (the cat/paged one rather than the p one), the main thing here being the overflow. In the p, it restircts half the page, but if i change it on the stylesheet, it remains the same.

    This wouldn’t essentially be a problem, and to a large extent isn’t. But my main issue is that the link that works on the cat and paged functions appears to be dynamic, and knocks all the paged numbers back one very time i update, meaning i can’t use these when linking externally to specific pages, because it won’t stay the same page for very long. (in other words, the next time i update, these two links won’t link to the same picture)

    What i need are pages that i can link externally that won’t lead to a different page after a few days, but in the format of the second link (the one with cat and paged in the url)

    Can anyone help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sazazezer

    (@sazazezer)

    Sorry, it seems i inadvertatly turned the second link into the first two paragraphs.
    For clarity’s sake, here are those links again:

    Link 1
    Link 2

    the reason for the difference is this..

    https://workhate.co.uk/index.php?p=99 is a single post page

    It is dependent on what is inside your single.php

    https://workhate.co.uk/index.php?cat=3&paged=2

    That is a category archives page, which depending on what files are includes in your current theme looks to category.php or archive.php for it’s formatting. If you have neither an archives.php nor a category.php, then your theme’s index.php formats that page.

    The first link is what is considered your permalink page, and that url should always point to that post. The number inside the url (99) is your first give away there, it contains that post’s unique ID #.


    What i need are pages that i can link externally that won’t lead to a different page after a few days, but in the format of the second link (the one with cat and paged in the url)

    See what I wrote above regarding what theme files produce what pages.

    If you like the way your archives display and want a similar look on your single post pages then you need to make changes to your single.php so that it resembles the other theme file (without looking at your theme, I have no way of telling you which one it is).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two ways to view the same page’ is closed to new replies.