#/movements/ is not found

1 messages · Page 1 of 1 (latest)

native frost
#

I have just downloaded the brutal template as a second project I'm working on with astro to try and make it into my site. I did not like the CMS /blog/ path so I went to rename, everything as movements. While it sounds stupid it did actually work, but only half way. For some reason, even though literally everything else works and the posts can be found through CMS, /movements/ isn't a path of my site? I'm going to read over the docs again on CMS in the mean time but this doesn't make sense really.

velvet zodiac
#

Well, first thing I'm noticing is that it says /movement/ in your address bar, can you just make sure that's not the issue here?

velvet zodiac
#

Figures, just wanted to make sure!

native frost
#

I'm not sure what to do in terms of like

#

helping understand my situation

velvet zodiac
#

Can you send me a screenshot of the folder you renamed in VSCode / The code editor of your choice so I can see the folder structure?

native frost
velvet zodiac
#

Was just about to ask for that kek

#

Are there any warnings in your console when you try to run the dev server / build the project?

native frost
#

I still have blog in components but no one will see it 🫣

#

Nope

velvet zodiac
#

And if you go to /movements/media, that shows up?

native frost
#

Nope

#

But it's put into my section

#

Like it appears on the site

velvet zodiac
#

Would it be possible for you to publish the repo on GitHub so I can take a look myself?

native frost
#

Sure.. I kind of forgot how to

velvet zodiac
#

Feel free to ping me once you've got it published

native frost
#

What files do you need?

native frost
velvet zodiac
#

Just wanted to start the project myself to see if I can't get it to work, publishing it to GitHub would allow me to clone it

native frost
velvet zodiac
#

Appreciate it, taking a look now!

native frost
#

If you found the site linked to this one and got confused it’s just cause I’m experimenting with themes

velvet zodiac
#

You're fine

#

Alright found the issue. Seems you deleted the src/pages/blog/ directory which contained the logic for all that

#

Re-adding all those files and renaming the folder from blog to movements should fix the issue! (Don't forget to update all references to the old collection name inside the pages of that folder too!)

native frost
#

@velvet zodiac , sorry to continue the ticket but could you help me with a bad gateway error

native frost
#

nginx is in a docker container and I don't know where the config is

#

or logs or anything that would help