Seo Friendly URL results in CSS IMG and JS not working
This is because your relative URIs have their base changed. Originally, the base is /
when the page is /swift-details.php?id=foo
, and the browser properly fills in relative links with the /
base. But when the browser goes to a page like /swift/details/foo
the base suddenly becomes /swift/
and it tries to append that in front of all relative URLs and thus none of them load.
You can either make your links absolute, or change the URI base in the header of your pages (inbetween the <head> </head>
tags):
<base href="/">