Links are not working

Hey all, I just uploaded a website on a server and the links are not working.
The path in the htaccess seems correct. Is there anything else I could try?

Thanks for any help.

I rewriting enabled on the server?

Yes, I also tried a lot of different pathnames

my webspace directory is this:

/website

Rewriting:

RewriteEngine on
RewriteBase /

Does your domain point to this directory or do you run Kirby in yourdomain.com/website?

Is the .htaccess file actually read? Check by. inserting some random characters, it should then throw. an error.

Yes my domain point to this directory and it also throw an error when inserting random characters… Just thinking what else it could be

And without setting the rewrite base it doesn’t work either? I guess “links not working” means subpages and Panel not working?

What is your PHP version?
Have you set a URL in your config.php?
Are you using any plugins?

Okay so it must be something different, because the panel is working.

PHP Version: 7.2

I’ve set no URL in my config.php

Plugins:
gallery field plugin: https://github.com/TimOetting/kirby-gallery
and this video plugin: https://github.com/wottpal/kirby-video

Btw the site is running without problems on my own server…

  • What sort of error message do you get? Check the server and php error logs for anything that might hint to the cause of this error.

  • Also, what happens in the network tab of dev tools when you click a. link?

The error message with random characters is an internal server error

network tab shows no reaction when clicking on a link

I just saw that its working without www. in the url

Then you should force either www or non-www in your .htaccess or server config file. The same content should not be available under two different URLs.

Perfect. This worked!