Enabling Permalinks on CentOS wordpress

Click in the field and press CTRL + A to select all.” from the error you are getting
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Step 1 – To fix this error, you will need to login to your server terminal and proceed to directory /var/www/html and list all the available files.
cd /var/www/html
ls -asl
Step 2 – We have to make .htaccess file writeable and the file should be located in the web root directory, at /var/www/html. If there isn’t any .htaccess file in the directory, you need to create one.
touch /var/www/html/.htaccess
 Step 3 – Change the file’s permission so that it is writeable by Apache.
chown apache /var/www/html/.htaccess
 Step 4 – Edit your httpd.conf file in /etc/httpd/conf/.
vi /etc/httpd/conf/httpd.conf
 Step 5 – Search for the line that resembles below :
Directory “/var/www/html”
Under this line, look for the line which shows
AllowOverride None
(the option is None by default) and change it to
AllowOverride All
Step 6 – Restart your Apache.
service httpd restart
Enabling Permalinks on CentOS wordpress