N
N
Nikita Souvel2015-10-14 01:40:35
PHP
Nikita Souvel, 2015-10-14 01:40:35

Why is there a 404 error after migrating wordpress?

In general, I transferred the project to a new hosting (VDS) and a problem arose: the CNC does not work ...
Here is the site on which it actually does not work: recensor.ru I
suspect that this is due to some incorrect web server settings ...
What I already DID:
1) rewrote permalinks in the admin panel (checked htaccess is updated)
2) entered a2enmod rewrite into SSH, apache rebooted.
3) Permissions to the folder are set for the www-data user/group
4) For more confidence about any reboots, I rebooted the entire machine.
I'll add it to be: prntscr.com/8r0x4g (connected apache2 modules)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maddog670, 2015-10-14
@Souvel1

mod_rewrite is necessary

E
Eduards Vigulis, 2015-10-14
@AIS

Try to go to the admin panel in Permalinks and click Save, sometimes it helps.
Another option may be that Apache is configured incorrectly: try adding this to the Apache config for the site folder:

<Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
 </Directory>

And don't forget to restart Apache after that:sudo service apache2 restart

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question