• Hi guys,

    I have a VPS with LAMP installed, on which I run several websites, each of them redirected via CNAME to a subfolder /site-1.

    One of these websites is a wordpress. I’m trying to activate permalinks for my pages. Following the directions of this tutorial I’ve tried to modify the config of the apache2/sites-available/domain.com file to change the AllowOverride None to AllowOverride All.

    I’m still getting the same 404 error :

    The requested URL /page-name/ was not found on this server.

    I’ve checked on my FTP, my .htaccess file exists and has the correct permalink redirect:

    # 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

    The only way I’ve managed to activate permalinks is by putting index.php/ before it:

    mywebsite.com/index.php/page-1/

    Any idea on how to fix this? Would be immensely grateful, I’ve been trying to make this work for hours now!

    Thanks in advance,

    Arthur

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks don't work on my wordpress installed on a VPS’ is closed to new replies.