Please use clean and non-bootstrap themes to test this issue.
Add URL resource to a course
Go to URL page index page (/mod/url/index.php) and make sure the page contains resource name in h2.
Visit the setting for activity within the course and admin, make sure the 'Display URL name' option is not available.
view the page and make sure it has:
course name as h1
resource name as h2
Browse around URL activity and make sure there's no error occur.