Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder cineweekly.com's Avatar
    Join Date
    Aug 2010
    Posts
    485
    Thanks
    14
    Thanked 3 Times in 3 Posts

    Error 404 menu links don't update in subfolders

    I use php in all my files including my error 404 file so it has the same navigation as the rest of the site. My problem is, while my 404 works when the error is on mydomain.com/wherever, the css style sheet isn't called when the error is on mydomain.com/subfolder/wherever

    How can I fix this? Thanks.


    EDIT: Actually it doesn't call the css style file. The links work. Here are a working and nonworking 404 on my site:
    Working: cineweekly.com/404.php
    Non Working: cineweekly.com/sunday/dfghljkgsn
    Last edited by cineweekly.com; 09-12-2010 at 09:43 PM.

  • #2
    Regular Coder cineweekly.com's Avatar
    Join Date
    Aug 2010
    Posts
    485
    Thanks
    14
    Thanked 3 Times in 3 Posts
    I fixed it by adding a / on the 404 page:

    <link href="/core-style.css" rel="stylesheet" type="text/css" />


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •