Overview
After a WordPress website is migrated to Conetix from your old provider or developer, you may notice that some or all of the links on the website produce a 404 error. This is usually because the .htaccess has not copied across.
WordPress uses a standard .htaccess file that plugins modify so you can simply create a new .htaccess with this article.
Instructions
- Login to Plesk
- Click File Manager
- Create a new file:
- Name the file .htaccess and click OK:
- Once created, open the .htaccess file:
- In the blank file, copy & paste the below code:
# BEGIN WordPress
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
- Your file will now resemble the below:
- Click OK to save the .htaccess file.
- Test your pages to see if they still show a 404 error.
If you’re unsure on any of the above please contact our friendly support team!