• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Unable to setup Wordpress permalinks to work

S

Steven80

Guest
Hi,

I have an outstanding issue that really needs some advice.

I'm running WordPress website with Parallel Plesks and I cannot seem to get permalinks to work.

I can only use the default "ugly" URL that is not acceptable for my SEO website.

I have tried the following remedial action:

1. Create .htaccess file as instructed in http://codex.wordpress.org/Using_Permalinks

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

2. Ensure that .htaccess file is stored in httpdocs folder.

3. Ensure that my .htaccess has read, write, execute permissions.

4. Tried to modify my .htaccess rewrite rules as shown in:
http://forums.powweb.com/showthread.php?t=66112

5. I tried to modify wp-includes/vars.php where I replace:

$is_apache = strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') ? 1 : 0;

with

$is_apache = 1;

6. I tried using this permalink structure as suggested by WordPress

/index.php/%year%/%monthnum%/%day%/%postname%/

Nothing works and I am perplexed.

Any advice or help is very much appreciated.

Thks!
 
Back
Top