WordPress.org

Ready to get started?Download WordPress

Forums

Problem.. (6 posts)

  1. bohdaq
    Member
    Posted 5 years ago #

    h1 all)
    Plz help me in one trouble.
    I have the statick page on link http://arys-my.name/?p=18 for example, if i'll add some letters to the link (http://arys-my.name/?p=18?asd) the post will be viewed too. How to do displayed page 404 - Not Found if to the link will be added some letters?
    Sory for my language - i'm ukrainian :-)

  2. Ripose
    Member
    Posted 5 years ago #

    The 404 page is only displayed if the requested page does not exist.

    Are you trying to ask "Why is something displayed no matter what I enter?"

    I just checked your site, I understand your problem now.
    I will see what I can find.

    I am Canadian

  3. iridiax
    Member
    Posted 5 years ago #

    Your theme needs to have a 404.php file.

    http://codex.wordpress.org/Creating_an_Error_404_Page

  4. moshu
    Member
    Posted 5 years ago #

    I have the statick page on link http://arys-my.name/?p=18

    Actually, that is NOT a static page - that's a post.

    (if WP doesn't have a 404.php template files) it always displays the main/front page of the blog in case of an error/non-existent file.

    [I am a Canadian, too - but originally, a Transylvanian]

  5. bohdaq
    Member
    Posted 5 years ago #

    My template have 404.php

  6. iridiax
    Member
    Posted 5 years ago #

    Your site is NOT generating a 404, which is why the 404 page does not show. If you are using any sort of redirection plugin, disable it and contact your web host about this problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.