1. Home
  2. Knowledge Base
  3. Applications
  4. Wordpress
  5. How to enable mod_rewrite for Wordpress permalinks via Oryon cPanel?

How to enable mod_rewrite for Wordpress permalinks via Oryon cPanel?

Step 1: Login to your cPanel account that hosted under Oryon server.
Step 2: Select the ‘File Manager’ option under ‘Files’ section of cPanel.
Step 3: Navigate to document root folder the Wordpress installation and locate the .htaccess file.
Step 4: Add the following codes into .htaccess to enable the mod_rewrite for Wordpress permalinks .

+++
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
+++

Step 5: Now click on ‘Save changes’ option to save the changes that you made.

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support