skip to Main Content

Using ubuntu operating system
i tried changing permalink of a page but page is not opening in tab.
enter image description here
enter image description here

Help me out , what should i do.

2

Answers


  1. 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.

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search