This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 17 - Pages: 2 [ Previous | 1 2 ] - Last Post: 20-Apr-2019 18:56 Last Post By: jGromit Threads: [ Previous | Next ]
karlmistelberger

Posts: 567
Registered: 5-Dec-2013
Re: Top level folders are not showing
Posted: 19-Apr-2019 16:51   in response to: wringel in response to: wringel
 
  Click to reply to this thread Reply
wringel wrote:
I have a similar issue; save that my site is hosted by 'Hostmonster' and not a private server.
One of my albums online can be viewed here: http://www.ringelstetter.net/Holy_Land_2013/holy_land_2013.html

Any assistance in getting this back to normal would be appreciated.


Sure. Your server is tinkering with Location:

erlangen:~ # curl -I ringelstetter.net/Holy_Land_2013
HTTP/1.1 301 Moved Permanently
Server: nginx/1.14.1
Date: Fri, 19 Apr 2019 14:47:16 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Location: http://ringelstetter.net/Holy_Land_2013/?where=Holy_Land_2013

erlangen:~ #

vs.:

erlangen:~ # curl -I mistelberger.net/Tiger
HTTP/1.1 301 Moved Permanently
Date: Fri, 19 Apr 2019 14:47:06 GMT
Server: Apache
Location: http://mistelberger.net/Tiger/
Content-Length: 238
Content-Type: text/html; charset=iso-8859-1
X-Varnish: 148082675
Age: 0
Via: 1.1 varnish (Varnish/6.1)
Connection: keep-alive

erlangen:~ #
wringel

Posts: 2
Registered: 7-Apr-2014
Re: Top level folders are not showing
Posted: 20-Apr-2019 17:26   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
I know they land in different folders; but I'm going to upload several photo albums. This is why I have been editing the Index.html file name. So when I set up my main home page with links to the right photo album.

Edited by: wringel on 20-Apr-2019 17:26
jGromit

Posts: 7,534
Registered: 31-Jan-2006
Re: Top level folders are not showing
Posted: 20-Apr-2019 18:08   in response to: wringel in response to: wringel
 
  Click to reply to this thread Reply
wringel wrote:
I know they land in different folders; but I'm going to upload several photo albums. This is why I have been editing the Index.html file name. So when I set up my main home page with links to the right photo album.

The folders will take care of that. The link to the album about your dog would be:
<a href="mydog/index.html">
And the link to the album about your cat would be:
<a href="mycat/index.html">
Renaming the index page is an unnecessary step.

In any event, I think Laza is absolutely correct - your pages are being fed through some sort of "page optimization" script before they're served to the site visitor, and that is what's causing them to fail.

ETA: BTW, since index.html is the default name for a page on the web, the link to your album, instead of being this:

http://www.ringelstetter.net/Holy_Land_2013/holy_land_2013.html

Would be just this:

http://www.ringelstetter.net/Holy_Land_2013/
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums