Search…

X3 Photo Gallery Support Forums

Search…
 
margouillat
Experienced
Topic Author
Posts: 34
Joined: 31 Jul 2011, 09:20

V0.8 : Redirect link problem

21 Dec 2014, 12:16

Hi,

with version 3.0.8 when I put a link like this:
http://loeildumargouillat.fr/Galeries/J ... itia_Blot/ -> Error 404
I have to put a page: http://loeildumargouillat.fr/Galeries/Judo/Portraits/ with a link that redirects to: http://loeildumargouillat.fr/Galeries/J ... itia_Blot/ -> for this to work


Another problem : photos in the slideshow does not respect the native format, it seems to me they appear as squares is my impresssion or ...



best regards
Margouillat
loeildumargouillat.fr
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: V0.8 : Redirect link problem

21 Dec 2014, 14:58

margouillat wrote:with version 3.0.8 when I put a link like this:
http://loeildumargouillat.fr/Galeries/J ... itia_Blot/ -> Error 404
I have to put a page: http://loeildumargouillat.fr/Galeries/Judo/Portraits/ with a link that redirects to: http://loeildumargouillat.fr/Galeries/J ... itia_Blot/ -> for this to work
Would you be able to provide a link to your panel so I can check some things?
margouillat wrote:Another problem : photos in the slideshow does not respect the native format, it seems to me they appear as squares is my impresssion or ...
You mean the aspect? If you navigate to examples/gallery/slideshow/ from your panel, you will find full instructions for the slideshow. Basically there are a few "fit" tags: "cover" sets the image to cover the entire screen, thus cropping away some of the image depending on image aspect vs screen aspect. "contain" contains the image within the screen, so the image is fully visible at original aspect ... This will of course mean you have empty spaces in some places.
 
margouillat
Experienced
Topic Author
Posts: 34
Joined: 31 Jul 2011, 09:20

Re: V0.8 : Redirect link problem

22 Dec 2014, 02:07

mjau-mjau wrote:
margouillat wrote:with version 3.0.8 when I put a link like this:
http://loeildumargouillat.fr/Galeries/J ... itia_Blot/ -> Error 404
I have to put a page: http://loeildumargouillat.fr/Galeries/Judo/Portraits/ with a link that redirects to: http://loeildumargouillat.fr/Galeries/J ... itia_Blot/ -> for this to work

Would you be able to provide a link to your panel so I can check some things?
http://loeildumargouillat.fr/panel/

do you need login and pswd?

I discovered that it's more complicated when you refresh a page is obtained 404 except the home page
Margouillat
loeildumargouillat.fr
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: V0.8 : Redirect link problem

22 Dec 2014, 05:20

margouillat wrote:http://loeildumargouillat.fr/panel/

do you need login and pswd?
Yes please :) Or you can check one thing for me. Rename the folder /Laetitia_Blot/ to /LaetitiaBlot/ and see if direct link works. I want to see if it is the underscore in the folder name.
 
margouillat
Experienced
Topic Author
Posts: 34
Joined: 31 Jul 2011, 09:20

Re: V0.8 : Redirect link problem

22 Dec 2014, 13:27

mjau-mjau wrote: Yes please :) Or you can check one thing for me. Rename the folder /Laetitia_Blot/ to /LaetitiaBlot/ and see if direct link works. I want to see if it is the underscore in the folder name.
Bingo! every folders with an underscore have this problem (404)
but it's more complicated
go to http://loeildumargouillat.fr/
in the menu-> Galeries/Judo en N&B/
and refresh.........404!!!
Margouillat
loeildumargouillat.fr
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: V0.8 : Redirect link problem

22 Dec 2014, 14:47

margouillat wrote:Bingo! every folders with an underscore have this problem (404)
I will look into this asap ...
margouillat wrote:but it's more complicated
go to http://loeildumargouillat.fr/
in the menu-> Galeries/Judo en N&B/
This is likely related to the "&" character in your folder name, and you should replace it. In fact, I am not even sure why you are using empty spaces and mixed cAsE in your folder names. Folder names become the "slugs" in your URL, and should therefore adhere to semantic values.

That folder for example should be named /judo-nb/ or /judo-en-n-b/ if required, although it has no function to keep it longer. Url's should be short, as human visitors don't read the URL to understand what its about, although a label/keyword may help. You should avoid all UPPERCASE, empty spaces, and special characters like &&.

http://en.wikipedia.org/wiki/Semantic_URL
 
margouillat
Experienced
Topic Author
Posts: 34
Joined: 31 Jul 2011, 09:20

Re: V0.8 : Redirect link problem

22 Dec 2014, 16:31

allright, thank you, everything is ok now
Margouillat
loeildumargouillat.fr
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: V0.8 : Redirect link problem

10 Feb 2015, 10:29

Just to close the _underscore issue.
https://forum.photo.gallery/viewtopic.p ... 508#p36508
mjau-mjau wrote:The folder name _underscore issue has now been fixed, and is pending release in v0.9.

Having said that, I would strongly recommend against using _ underscores in physical folder names in the first place. Folder names are what is displayed in the URL of the page, and should be as simple and pretty as possible. If you cannot restrict it to a single word, then use hyphens -

"Mount Everest"
domain.com/everest/ [BEST]
domain.com/mount-everest/ [STANDARDS]
domain.com/mount_everest/ [NO THNX]