Hi Claus,
I don’t use XXAMP specifically, but my image links would look like this: {site_url}images/uploads/whatever_my_image_name_is.png
Also, For what it is worth… the structure I use is to keep all of my own content seperate from the EE Directories… at my root level, I have an “Assets” folder and inside of that I have an “images” folder and I point my file upload directory to that. so for me, that link would look like: {site_url}assets/images/whatever_my_image_name_is.png. I think that may help you.
The “Directory Access is Forbidden” message is from the Index.html page in that directory because you are trying to access it directly.
Hi Russ,
you wrote
> … the structure I use is to keep all of my own content seperate from the EE Directories …
I tried that, but EE 7 wouldn’t accept it. I had a separate directory /bilder/uploads/, but I had to delete it again because EE 7 didn’t accept it, like {base_url}/bilder/uploads/.
Claus
I’m not sure what you mean by “EE wouldn’t accept it”. did you get an error in the control panel when you entered it that said it didn’t exist? If so, try again, but remove the backslash at the beginning.
Also, a couple things… just to be sure I’m understanding your setup… If you look in “Settings” -> URL and Path Settings. Does your {base_url} have a “/” at the end? for example: https://mysite.com/
IF it does…then make a couple changes to your URL….
First… replace “{base_url}. with “{site_url}” - I do not believe that base_url works on the front-end. and then remove the backslash directly after it… so your URL is “{site_url}images/uploads”.
> did you get an error in the control panel …
Yes. Besides that, I will make the modifications you suggested.
Claus
P. S.: I did as you suggested, but now the page is messed up. The style sheets are gone. I replaced {base_url} with {site_url} everywhere on the page. Maybe that was a mistake. :-( Is there a config file where I can fix those errors?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.