Welcome Guest, Not a member yet? Register   Sign In
URI with Slash

I have set the base url set to be 'http://domainname/public/'.  The links to css and js files are <link href="assets/css/..." rel="stylesheet">. Everything works well until I try to access a page with a slash in it, e.g. 'http://domainname/product/1'.  Now the path to the css and js becomes 'http://domainname/product/assets/css/...'.  The css and js files can't be found.
Why does this happen?

Messages In This Thread
URI with Slash - by Grath - 03-16-2023, 07:01 AM
RE: URI with Slash - by kenjis - 03-16-2023, 07:03 PM
RE: URI with Slash - by InsiteFX - 03-16-2023, 11:10 PM
RE: URI with Slash - by LieoUhlerredyh - 03-24-2023, 12:47 AM

Theme © iAndrew 2016 - Forum software by © MyBB