• Resolved omoc

    (@omoc)


    Hi,

    we getting a 404 on this structur (%category%/%postname%):

    /category_name/contribution/own-id

    own-id (like 1234) is evaluated by a php-script on contribution-site. everything works fine (correct content is shown), but in network-log we get a 404 with the this url.

    Can you help? It’s not possible to change the structur (in the moment).

    Array
    (
        [uri_parts] => Array
            (
                [lang] => 
                [uri] => category_name/contribution
                [endpoint] => 
                [endpoint_value] => 1234
            )
    
        [old_query_vars] => Array
            (
                [page] => 1234
                [name] => contribution
                [category_name] => category_name
            )
    
        [new_query_vars] => Array
            (
                [name] => contribution
                [page] => 1234
                [do_not_redirect] => 1
            )
    
        [pm_query] => 1
        [content_type] => Post type: post
        [version] => 2.2.9.7
    )
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @omoc,

    Could you provide me with a sample URL?

    Best regards,
    Maciej

    Thread Starter omoc

    (@omoc)

    Hi,

    it is possible to send you a pm? It’s a test-project … (but i will release the solution here on the thread).

    Regards (from another “metalhead”),

    Andreas

    Plugin Author Maciej Bis

    (@mbis)

    Hi Andreas,

    Yes, sure – please send all the details to contact /at/ maciejbis.net

    Best regards,
    Maciej

    Thread Starter omoc

    (@omoc)

    … perfect ??

    Thread Starter omoc

    (@omoc)

    i fixed the problem: send header(“HTTP/1.1 200 OK”); before the php script will be loaded ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Getting 404 on custom link structur’ is closed to new replies.