• tweakben

    (@tweakben)


    I must be a nitwit. But I cant figure this one out. πŸ™‚

    I run two sites, both are the same. WooCommerce, WordPress SEO, Jetpack etc….

    On one site, http://www.DOMAIN-1.com/?p=1234 works. On the other site, http://www.DOMAIN-2.com/?p=1234 results in an Error 404 not found.

    Can anyone point me to a direction to look and figure this out? Usually I like Google to help me, but when searching for “?p= not working” it shows me a bunch of non-related WordPress capital P conversion fixes which is so a few years ago not anything to do with the actual problem of ?p= not working. πŸ™‚

    Thanks so very much for any direction, or a solution!

    Ben

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tweakben

    (@tweakben)

    Bump!

    Clayton James

    (@claytonjames)

    Since “?p=XXXX” is the default permalink structure, the most likely causes are;

    A) either the resource you are requesting does not exist on domain2.com, or..

    B) the permalink structure on domain2.com has been changed to something other that the default setting.

    Some reference material to get started: Using Permalinks

    Thread Starter tweakben

    (@tweakben)

    But ?p=xxxx isnt a permalink…… Permalinks are set identically on both domains.

    ?p=xxxx where x is your post ID # is basic functionality. That’s why it’s confusing me why it isnt loading. πŸ˜‰

    Clayton James

    (@claytonjames)

    But ?p=xxxx isnt a permalink.

    Yes it is. From the first two paragraphs in the resource I pointed you to above:

    “The default looks like

    http://example.com/?p=N

    where N is the Post ID number. It works on all server environments, but it doesn’t look as nice as some of the other options.”

    That’s why it’s confusing me why it isnt loading. πŸ˜‰

    If your request is identical on both domains, ex:

    domain1/?p=1234

    domain2/?p=1234

    …and domain2 gives you a 404 (not found) error, then it would be reasonable to assume that resource ?p=1234 might not exist (at least with the same ID) on domain2.

    If your post exists on both domains (as in, you can see them both in the editor on both domains) then compare the post ID’s of those resources. If the database from domain1 wasn’t imported for use on domain2 (meaning they were both separate, fresh installations of WordPress) then the ID’s probably wouldn’t be the same.

    Just a guess, mind you.

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

The topic ‘?p=XXXX not working……’ is closed to new replies.