Jump to content

Featured Replies

Posted

Hello,

After setup in Plesk all pages except the home page redirects to 404. 

Any help please?

Solved by Marc

Go to solution
  • Community Expert

You need to check the htaccess you have in place, and ensure thet rewrites are switched on 

  • Author

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.

  • Community Expert
  • Solution

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.

  • Author

Perfect, I did it. Thanks for the help.

  • Community Expert

No problem at all. Glad you have what you need there

Recently Browsing 0

  • No registered users viewing this page.