.htaccess - Rewrote url with htaccess issue -


i'm not sure if bug or doing wrong rewrote url from

system/?lnk=something system/something , it's working fine.

now problem if add slash after system/something/ still loads page, seems without css, totally renders differently reason. have clue why?

check page declare location of css. try using absolute path (from domain). instance..

<head> <link rel="stylesheet" type="text/css" href="/css/mystyle.css"> </head> 

would link www.domain.com/css/mystyle.css regardless of page on... however... if put follows....

<head> <link rel="stylesheet" type="text/css" href="mystyle.css"> </head> 

assume in css folder, work if in folder.

so url rewrite making level deeper in folder not linking correctly stylesheet.


Comments

Popular posts from this blog

Linux vanilla kernel on QEMU and networking with eth0 -

rdbms - what exactly the undo information lives in oracle? -

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -