Help with resources

You can rely on me for the stupid questions !!

.. Resources cannot be accessed once uploaded …

It’s looking for resources under peteryates.co.uk which is the old site

The new site is at peteryates.co.uk/2025/…

(Once complete - obviously, I’ll move the site to ‘/’)

So how do I change the addressing to look for resources at peteryates.co.uk/2025/resources instead of peteryates.co.uk/resources ?

Many thanks

… and why does the homepage look in the right place (peteryates.co.uk/2025/resources) and therefor find it’s resources … when all of the other pages look in the wrong place (peteryates.co.uk/resources) and don’t ?

?

I’ve viewed your new site and your resources seem to be in place:

Ensure you use the “Re-Publish All Files” command from the menu if you’re changing the location of where you’re publishing the site (just to ensure all files get uploaded).

Well buggered if I know what’s going on - any clues anybody ?

Have you tried using “Re-Publish All Files” command from the File menu?

If you tried republishing all files and it still didn’t work, please share your Project file via Elements Cloud so we can take a look.

Hi Dan

Thank you - here is my link :

elementsapp://downloadDocument/i5V2sbXgKalt

If I export the files to my local disk and edit the file (for example) print_shop.html … I can clearly see that it’s accessing the WRONG resources folder : that of the old site peteryates.co.uk and not the new site (under construction) at peteryates.co.uk / 2025.

Please - how can I change this ?

I’m sure this is the reason that my printshop page (for example) is broken - Print Shop | Peter Yates, Artist and Architect 1920-1982

Thank you Dan !!

Jol

Hi @jbob

I’ve seen several cases of this over the past few days and I’m not sure if it’s an issue with the way Elements writes file paths when exporting, but check out the below showing your print shop page

new-site

You’d need to clear out the Folder field in the page inspector. Now you’ve got a / there which sticks the page file in the website root directory. As this is a subpage, the recommended way (and the way Elements does it by default) is to use a subpage/index.html or subpage/index.php. hierarchy.

You’ve got a mix of pages where you have it set as the default way (nothing in the folder field) and other pages where you have a / in the folder field which sticks the page file in the web root directory.

The file paths to the resources directory are getting written as a relative path (../) at the beginning which tells the server to move one level up when searching for the resources folder.

Since you’re sticking your new site in a subdirectory “2025”, your server moves up one level when searching for the resources folder, which isn’t the correct path to that resources folder.

Hope that makes sense.

EDIT: Alternatively, when developing a new site, it’s probably easier to do that on a subdomain (like https://2025.peteryates.co.uk) instead of in a subfolder (like https://peteryates.co.uk/2025)

1 Like

Yup, @differentdan is right :blush: Clear that Folder path out or put a name in there you want to use, like: “printshop” - you should also change the filename to index.html

Folder: printshop
Filename: index.html

This will give you a much cleaner URL :slight_smile:

Thank you so much Dang and Dan - I’m motoring now !!

1 Like