Jump to content

Anton_Aligned_Assets

Members
  • Posts

    2
  • Joined

  • Last visited

Anton_Aligned_Assets's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Hi guys, I was wondering whether I could get some assistance with a problem I'm having: I've started looking after my company's website and have recently set up a custom 404 error page for it. My .htaccess file reads: ErrorDocument 404 /404.html The problem I've got is that it's not working properly all the time. When the incorrect URL looks like this: www.companydomain.com/xxx everything works fine, but when an additional forward slash gets added in it stops working properly , for example if the URL looks like www.companydomain.com/xxx/yyy. The 404 goes through, and it tries to load the page, but all of the formatting to the text goes out the window and none of the linked images on the page, such as the header on the top, gets pulled through - instead of the images I get the black box with an X in it. What have I done wrong, and what do I need to do so that the correct 404 error page comes up for any combination put after the domain name. If anyone has any suggestions i'd be very grateful. Thanks!
×
×
  • Create New...