Accessing the CSS directly for one of the Kentico sites necessitates logging in

After launching the 3rd site on my Kentico install with multiple sites, I am encountering a strange issue. Files such as images, scripts, or CSS files are not loading by their relative path on this particular site. Instead, when I try to access the URL directly, I am directed to a Kentico login screen.

Even weirder is that if I use the same URL path but add one of the other site's domains in front of it, the image loads without any issues.

newsite.com/imageURL <- doesn't load
othersite.com/imageURL <- loads
otheroldsite.com/imageURL <- loads

I have never encountered anything like this before, and I hope this explanation makes sense.

Answer №1

To kick things off, begin by focusing on CSS implementation to ensure it is enabled for your new website:

 Navigate to CSS stylesheets\YourCSSName\Sites

When dealing with the media library, ensure that you have the necessary permissions in place:

 Go to Media libraries\YourMediaLibraryName\Security

Verify that 'See library Content' permission is granted to All Users.

In terms of scripts, they are usually located in ~/CMSScripts/Custom/, which means any site in your scenario should be able to access them. If your script is there but still cannot load, the issue may not be related to Kentico permissions.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Header and footer remain unaligned

Bookstore.html <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> ul { list-style-type: none; padding: 20px; overflow: hidden; background-color: black; width:1230px; p ...

Redirecting an autoplaying HTML5 video to full screen upon completion

Although I have seen this question asked before, I am struggling to make it work. I am new to javascript and only have a basic understanding of it. I have a link on my website that directs users to a full-screen video that autoplays, which is working fine ...

JavaScript code is failing to render data properly within HTML documents

I am facing an issue while trying to display data extracted from JSON in HTML. Despite my efforts, the data is not showing up on the webpage. I am unsure about what might be causing this error. Any assistance in resolving this matter would be greatly appre ...

Adjust Side Navigation Bar based on window size alteration

I am currently working on implementing a side navigation bar for a website. At the moment, I am utilizing a <nav> element and populating it with <li> items to establish my sidebar. My code snippet is as follows (note: in-line styling is tempor ...

Instructions on sending search fields by pressing the enter key

Developing my application in React.tsx, I have a menu window that consists of numerous div elements with input fields, checkboxes, and select elements. Upon clicking the submit button, a list of results with user-selected filters appears. As an additional ...

Alter the design when the height of a div is adjusted

On my webpage, I have multiple divs displayed in a masonry layout. The masonry effect works smoothly, but I am facing an issue with the divs expanding in height when users leave comments. The masonry layout does not automatically adjust to accommodate the ...

How can you insert content or advertisements into the HTML generated by a PHP server?

I'm currently utilizing Laravel and Vue.js in my project. Although it may seem like a simple query, I want to ensure that everything is working properly before moving forward. This involves... Utilizing a WYSIWYG editor to save content into an HTM ...

Displaying a table in Chrome/Firefox with a mouseover feature

Hovering over the rows of this table triggers a display of descriptions. html: <tr title="{{transaction.submissionLog}}" class="mastertooltip">... JavaScript: $('.masterTooltip').hover(function(){ // Hover functionality ...

Unable to override the Bootstrap theme

Despite trying multiple methods, I've found it challenging to override the CSS of Bootstrap specifically for this paragraph element P.fs-5.text-muted. Interestingly, all other CSS elements are easily modifiable. Here's an example that works: H1. ...

Listen for changes in the div height in Angular 2 using HostListener

After spending hours researching Event Listeners in Angular 2, it's clear that there is a lack of comprehensive documentation on the topic. My goal is to set the height of various div groups (generated using ngFor) to match the height of the tallest ...

Error message: "When namedPlaceHolder parameter is disabled, bind parameters must be in the form of an

Currently revamping my query due to a crucial API redesign. With the presence of a "file" as multipart/form-data, I found the need for a form handler since NextJS lacked one. After some workarounds with "multiparty", now I can successfully parse the incomi ...

The variable in Angular stopped working after the addition of a dependent component

Currently, I am working with Angular and have implemented two components. The first component is a navigation bar that includes a search bar. To enable the search functionality in my second component (home), I have added the following code: HTML for the n ...

Calculate the sum of a column in a table that is dynamically populated

I'm using jQuery to load a table with data: function getSales(customerId, fromDate, toDate){ $.ajax({ type: 'POST', url: 'ajax/sale_pl.php', data:{customer_id:customerId, from_date:fromD ...

Lack of consideration for height within tables positioned absolutely

In the case of an absolutely positioned element with display: table, if the height is explicitly set and the content exceeds this height, the element will adjust to wrap around the content rather than maintaining the specified height value. #main { wi ...

Using Bootstrap's card component, design a grid layout for your website

I am attempting to construct a grid using the Bootstrap 4 card component. After reviewing the documentation and utilizing the card-deck feature, I aim to have each row consist of two columns with the behavior similar to col-12 col-md-6. Additionally, the s ...

Altering the appearance of a div following the execution of a header redirect

Essentially, I have a SignUp and LogIn form that pops up when activated by a button. See code below: LogIn <!-- Popup LogIn --> <div class="bg-modal"> <div class="modal-content"> <div class="close& ...

Using three.js to detect mouseover events exclusively on objects, rather than on the

I am a newcomer to Three.js and I am attempting to display tooltips only on cubes or blocks. Fortunately, I found a helpful resource at . However, I noticed that the tooltip changes color and text on background checkboxes as well, which is not what I want ...

What could be causing my second ajax call to render the page unresponsive?

I am encountering an issue with my AJAX call. It works fine on the first attempt, but when I try to call it a second time, the page becomes unresponsive. I am not sure what is causing this issue. The code is located within the document ready function. The ...

mobile input sliders for selecting ranges

While working on a custom audio player, I encountered an issue with the default html5 input range object. Everything else seems to be working perfectly, with all events firing as needed, except for a frustrating problem on mobile Safari with iOS 11.4: Whe ...

In PHP/HTML, check if a tab already exists before creating a new one

Currently, I am using PHP to retrieve a list of users from the database and have included a link with them. My goal is to have the linked file open in a new tab, but using target="_blank" causes a new tab to open every time I click on the link. However, I ...