• arroway

    (@arroway)


    I have moved my WordPress install to another server, all is working fine apart from all my permalinks are broken! The only page that works atm is the home page…

    I had them setup like /%postname%/ however now they fail to work!

    I suspect this is down to my Apache config?

    Here is my vhost file:

    <VirtualHost *:80>
    DocumentRoot /srv/www/www.myblogg.com
    ServerName https://www.myblogg.com
    ServerAlias myblogg.com
    ErrorLog /var/log/apache2/wp-error.log
    TransferLog /var/log/apache2/wp-access.log
    <Directory /srv/www/www.myblogg.com/>
    Options Indexes FollowSymLinks
    AllowOverride All
    </Directory>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    </VirtualHost>

    Could someone post their vhost file so I can compare?

Viewing 2 replies - 1 through 2 (of 2 total)
  • whooami

    (@whooami)

    update your permalinks.

    Thread Starter arroway

    (@arroway)

    What do you mean? When I have selected /%postname%’/ I am unable to edit the permalink location when I edit the pages.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalinks Failing after Server Move’ is closed to new replies.