• 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: https://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)
  • Since the error no longer exists, there’s not a lot we can do to help.,

    Thread Starter Nick McBurney

    (@nick-mcburney)

    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

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

    Thread Starter Nick McBurney

    (@nick-mcburney)

    Hi Esmi,

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

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

    Thread Starter Nick McBurney

    (@nick-mcburney)

    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

    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?

    Thread Starter Nick McBurney

    (@nick-mcburney)

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

    Were the other rules above or below the WordPress block?

    Thread Starter Nick McBurney

    (@nick-mcburney)

    Below.

    thanks for your quick responces btw ??

    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.

    Thread Starter Nick McBurney

    (@nick-mcburney)

    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.