Q: Date/Time this occurred (Provide your time zone also) A: 5/28/2025 9:30 AM CET
Q: DevKinsta Version A: 2.13.4
Q: OS Version A: Windows 10
Q: Docker Desktop Version A: 4.29.0
Q: Were any error codes or messages observed? If so, what were they? A: No
Q: Detailed Description of the Problem A: So I created environment on Dev Kinsta from staging domain on hosting and upon running the server on Docker permalink structure is not properly working. On staging domain everything is working fine but on dev kinsta environment it isn’t. Issue is that posts URLs on dev kinsta environment are formatted with “/?p=21217” on end of it while on staging it’s post names… I already checked the Settings and Permalink structure there and both are set to Post names it’s just that on dev kinsta environment it’s not working as it should for some reason.
Yea I have tried to change to another structure, after clicking save changes page reloads and permalink structure is still set to “post name” even know I have set change to “day and name” seems like changes are not applying at all…
Here are log files from DevKinsta
konsumentmagasinetser_access.log [redacted]
konsumentmagasinetser_error.log|attachment [redacted]
These two are only ones related to the site, there are others related to php versions but it allows me to upload only two links since I’m a new user. Also there’s no main.log
I’m surprised that there’s no main.log, there should be one regardless.
If I understood correctly, this is happening on your site on DevKinsta so the main.log should exist.
In any case, here’s a couple of things to try:
Try to access Adminer (from DevKinsta) and check in _options table what permalink structure is set. The adminer is returning errors so it might be a bit difficult to check but it should be there.
Tried disabling plugins and whole site went down and got critical error when trying to access it, pulling the site from live domain right now and will let you know if problem goes away… Anyways, hvala i za ovo
Pulled site from live domain last night and just checked still having same problem with permalinks. I even uninstalled docker and dev kinsta did everything from scratch but no luck seems like.
Try navigating to Technologi->Artiklen and click on Router article for example… Those articles are pulled from CompaReview custom post type, they are working fine on live domain but for some reason on staging they don’t…
Hello again
I just wanted to let you know - We might need extra time to be able to check this thoroughly.
It might be a while before me or my colleagues get back to you. We hope to be able to check this and provide some guidance by tomorrow morning if not sooner. I hope we might be able to do it sooner, but I’m trying to set the correct expectations here.
What happens when you visit that URL, does it show article or 404 page? Because that’s where my problem is, 404 is shown on all posts no matter the post type, whether it be post or something from compareview
Regarding the WordPress and site URLs, if you remove the port number does that change the behavior of the permalinks?
Also, to clarify did you import the site into DevKinsta using the “Import from Kinsta” function? If so, would it be possible to please create a downloadable backup of the site on MyKinsta, and download the zip archive? From there, you can select to create a custom site in DevKinsta, and choose the “Import backup” option to import the site using that downloaded archive.
Below, you may find a link to our help article that goes into details about how to create a site using a backup archive:
After the site has been created using the archive please check if it is functioning normally, or if the same issue persists.
Please let us know how this goes! If you have any questions please don’t hesitate to reply. We are standing by to help!