WordPress.org

Ready to get started?Download WordPress

Forums

Piano Black
Editing "page not found" message (3 posts)

  1. WebmasterJN
    Member
    Posted 2 years ago #

    Hello there
    I've shortened most of the pages' URL and I need to inform people through the Error page when they search for a page using the old URL.
    I've tried to modify the page.php file (Piano Black theme version 1.5) replacing " Sorry, but you are looking for something that isn't here." with ""Sorry, but you are looking for a page which has been removed. Go back to the HOME page and try again using the main navigation MENU to find what you're looking for: most of the official website’s pages now have a shortened URL." but it doesn't run.
    Could you please help me with this? Thanks a lot.
    /WmJN

  2. equalmark
    Member
    Posted 2 years ago #

    Try editing the 404.php file in your themes folder. If there isn't one you can create one.

  3. WebmasterJN
    Member
    Posted 2 years ago #

    Thank you for your reply. No, there isn't a 404.php file. But I'm wondering why I can't simply modify the sentence in the page.php...

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic