Enable SEO url in nextcloud

To enable SEO url in next cloud, first make sure your web server have mod_rewrite module enabled.

Edit config.php file

vi config/config.php

add following

'overwrite.cli.url' => 'https://yourdomain.com/',
'htaccess.RewriteBase' => '/',

overwrite.cli.url may already there, in that case, don’t add it again.

Now run

sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess

See NextCloud

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *