Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base URL - hide from being accessed -- only make user URLS available #528

Open
ginettanyk opened this issue Feb 13, 2025 · 0 comments
Open

Comments

@ginettanyk
Copy link

ginettanyk commented Feb 13, 2025

Hi, I have a scenario whereby I don't want the base URL to be visible.
We have tried to use redirect to head over to our main website (html header redirect) but that also impacts the user defined URLs for them to access their files.

update:
I also tried using javascript to redirect if the URL has a hash, but that won't work either as the user url also has a hash.
I stood up an nginx reverse proxy server and I had no luck in redirecting base URL and leave the user URL in tact.

Another update:
I added a javascript section that checks if the URL has a "?" in it, if it does, the page get's displayed as expected, otherwise it is redirected elsewhere so the base URL is avoided.
If you have a more elegant way to do this I would appreciate knowing how.

Much obliged,
Nick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant