Hey,
Is it possible to have short URLs on https://psiconauta.pt/wiki/P%C3%A1gina_principal ? I want them to be just https://psiconauta.pt/P%C3%A1gina_principal
In nginx would be something like this:
rewrite ^/(.*)$ /w/index.php?title=$1&$args;
Hey,
Is it possible to have short URLs on https://psiconauta.pt/wiki/P%C3%A1gina_principal ? I want them to be just https://psiconauta.pt/P%C3%A1gina_principal
In nginx would be something like this:
rewrite ^/(.*)$ /w/index.php?title=$1&$args;
I doubt there'd be any way to accomplish this without using this URL setup for all Miraheze communities, though I may be wrong.
In any case, URL structures like this are not recommended.
It's not impossible, but it's not desirable.
In any case, URL structures like this are not recommended.
Indeed. I used to be an administrator for a wiki with this URL setup. I assure you there have been way too many cases where the existence of files (non-PHP files, to be exact - such as FAQ, LICENSE and whatever) and directories broke many articles. For this reason, I strongly object using the root path for your articles. However, if the reason is to un-break old links - we can definitely add 301 Permanent Redirects for /$1 to /wiki/$1 (unless $1 isa file on our server) so clients and spiders/robots will be aware of the new, correct URL path.
@psiconauta, please see the above. If there's no reply from you in the next couple days we're going to mark this as resolved.
Going to mark this as resolved since there's been no further activity here from @psiconauta. Feel free to re-open this task if needed.