Unable to navigate panel tabs on live site (works on local)

Hi there,

I’m having an issue where I can’t navigate between the tabs in my site.yml or pages.yml (page template) files.

Everything works perfectly on my local environment (Herd), but once I access the panel on my live site, I can’t switch between those tabs.

There are no console errors and no debug logs showing up.

I can still access other parts of the panel — like Settings, Users, System, and Pages — without any problem. It’s just the tab navigation that’s broken.

I’m not sure where to start looking for the cause. Any suggestions on what might be going wrong or how to debug this? Using kirby 5.1.3 → i just upgraded, it was also true in 5.0.x

Thanks in advance!

What happens in the console if anything? What do you see in the network tab when you click on a tab link? Have you made sure to clear the browser cache?

image

Thanks for helping out.
I am using various browsers. I have a firefox: no cache plugin to erase cache easily. it also happens in chrome and brave, or safari.

In this example I go to my navigation tab ( a yaml that stores all my different site navigation menu’s) perfectly working on local.

I see: panel/site/?tab=navigation
and directly pages?page=1

I see the exact same thing on localhost.

I have deleted my live server folder plenty of times and reuploaded a working localhost site. ensuring no failed transfers are visual in my file transfers.

Can you reproduce the issue on your server with a simple setup based on a fresh Starterkit?

I found out what was wrong

RewriteRule ^(.*)$ index.php?q=$1 [L]

This caused the issue. For some reason it had added ?q=$1 [L] to the index.php in .htaccess.
How this happened, I do not remember, the project has been in development for several months.

I found out about the issue when comparing to the github starter kit. starterkit/.htaccess at main · getkirby/starterkit · GitHub removing the ?q=$1 [L]

ps: It came to my attention that when you download the starter kit from the homepage it does not come with a .htaccess file. Meaning that when you upload the starterkit to the server, it does not know about other pages. going to the github, and uploading that .htaccess file resolved everything.

All the best.

It does!

My apologies, it does indeed. For some reason on mac, my hidden files in finder were not copied to vscode. Probably something Tahoe 26.0.1, as I never experienced that before.