Using ubuntu operating system i tried changing permalink of a page but page is not opening in tab.
Help me out , what should i do.
CodePudding user response:
You need to change back your permalink settings in the wordpress backend. Wordpress allows you to choose a few different permalink settings, if you have an existing site already configured only one of the permalink settings will work. Just try each one and find the one that works.
CodePudding user response:
Recheck your .htaccess
files
and see if the following code is present
# BEGIN WordPress
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
check file permission errors
https://wordpress.org/support/article/changing-file-permissions/.
Make sure you enforce right permissions to make your resources available to the outside.
sudo chown -R www-data:www-data /var/www/wordpress
sudo find /var/www/wordpress/ -type d -exec chmod 750 {} \;
sudo find /var/www/wordpress/ -type f -exec chmod 640 {} \;
provided your php and apache, apache mods are functioning alright.
finally restart apache/nginx whichever server you are running
sudo service apache2 restart
PS: user you own file locations, where your wordpress is installed, caution before copy paste
And let us know, if it solves your issue