Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Maria Tsamadou Posted April 14, 2022 Posted April 14, 2022 Hello, After setup in Plesk all pages except the home page redirects to 404. Any help please?
Marc Posted April 14, 2022 Posted April 14, 2022 You need to check the htaccess you have in place, and ensure thet rewrites are switched on
Maria Tsamadou Posted April 14, 2022 Author Posted April 14, 2022 There was no .htaccess file. I created one and put this inside. <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase /forum/ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(jpeg|jpg|gif|png)$ /forum/public/404.php [NC,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> That seems to solve the problem. But I don't know if it is ok.
Solution Marc Posted April 14, 2022 Solution Posted April 14, 2022 You need to download one from the System>Search Engine Optimisation section of your admin CP. According to where your URL is on file, that htaccess would not be correct. Maria Tsamadou 1
Maria Tsamadou Posted April 14, 2022 Author Posted April 14, 2022 Perfect, I did it. Thanks for the help.
Marc Posted April 14, 2022 Posted April 14, 2022 No problem at all. Glad you have what you need there
Recommended Posts