Support » Fixing WordPress » Requested URL not found – Tempory Error Message

  • Hi,

    I have noticed an issue with the subpages in my website, when I try and load a sub page i get the following error message:

    Not Found
    The requested URL /shipping-services/ was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    The error can be solved (temporarily) by saving the permalink settings again, im not sure what is causing this as I’ve not updated plugins etc.

    Website can be seen here: http://www.tuscorlloyds.com – I have just resaved permalink settings so is working at time of writing.

    Any advice would be much appreciated!

    Thanks
    Nick

Viewing 12 replies - 1 through 12 (of 12 total)
  • esmi

    (@esmi)

    Forum Moderator

    Since the error no longer exists, there’s not a lot we can do to help.,

    Any ideas on what could be causing this? i dont really want to let it go down whilst I can keep it working but need a permanent solution

    esmi

    (@esmi)

    Forum Moderator

    The only thing that springs to mind is that your .htaccess file is being deleted or damaged intermittently.

    Hi Esmi,

    Ive rebuilt my htaccess and seems to be workig OK but ill let you know if I notice anymore isues

    esmi

    (@esmi)

    Forum Moderator

    If it happens again, check your .htaccess file immediately.

    Yeah this error is still happening, looks like something is happening to the htaccess file.

    It is being replaced by a default htaccess with just this code:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Any ideas what could be causing the htaccess file to be affected the way it is?

    thanks

    esmi

    (@esmi)

    Forum Moderator

    That .htaccess file looks just fine to me. It’s a bog-standard WP .htaccess file for a site (in the root domain) using custom permalinks. What makes you think it’s not correct?

    I did have some other code in the htaccess for security reasons so the htaccess which I coded has been replaced by this default

    esmi

    (@esmi)

    Forum Moderator

    Were the other rules above or below the WordPress block?

    Below.

    thanks for your quick responces btw 🙂

    esmi

    (@esmi)

    Forum Moderator

    OK. General rule of thumb: always add any custom rules above the WordPress rewrite block. That block should always be the last entry in your .htaccess file.

    OK thanks, ive decided ill leave the .htaccess for now, just so I can see if it happens again + if not ill try putting the code back in above the WordPress rewrite stuff.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Requested URL not found – Tempory Error Message’ is closed to new replies.