Kirby redirect content txt files to a server path

I have a test site at… http://beta.lånera.se (IDN domain) and when I try to access a txt file it will redirect me to a server path. The file I try to access is…

http://beta.lånera.se/content/kreditgivare/vivus/company.txt

I want to have an error page because I don’t want others to read my content from the txt files. That part works. My error page says “dasda” right now. I got redirected to this…

http://beta.lånera.se/www/webvol2/8q/h6y6vi3fcu7fnjx/beta.xn--lnera-mra.se/public_html/error

That part I don’t like.

Questions

  1. Why am I redirected to the server path?
  2. How can I fix it?
  3. Is it bad security for hackers knowing the sever path?

I’m on a shared host and everything else works like expected. I have not installed any redirect plugins, or any plugins at all.

Coul you try to uncomment RewriteBase /mysite in your .htaccess and change it to RewriteBase / ?

1 Like

Seems to work on my live domain now, but not on the beta sub domain. Very strange.

However I don’t care for my sub domain so it’s kind of acceptable, for my case.