BASE_URL
ignores path component
#1184
-
Bug reportI'm trying to set However, it does not work: Plausible redirects to I believe this is because Plausible completely ignores the Line 181 in 145a359 Expected behavior Plausible should respect the path component of the In #177 it was mentioned that Plausible strips query parameters after |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 17 replies
-
Yes this does seem like a problem that stops Plausible from being used in a subdirectory as it stands. I think the fix is as easy as adding |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for reporting. This should be fixed in https://github.com/plausible/analytics/releases/tag/v1.4.0-rc.0. Can someone test and confirm? |
Beta Was this translation helpful? Give feedback.
-
@ukutaht what exectly should i add to what config ? .env or compose.yml ? |
Beta Was this translation helpful? Give feedback.
Yes this does seem like a problem that stops Plausible from being used in a subdirectory as it stands. I think the fix is as easy as adding
[path: base_url.path]
to the config line but I'd have to test it.