Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 27, 20241 yr Hello, Suddenly when we try to click on a Topic on the frontpage nothing happens. The url changes to a friendly url but the page reloads the front page. There have been no changes in the backend or on the server, this started suddenly. Thanks for urgent help. Kind regards
February 27, 20241 yr Author To clarify, the frontpage is: https://peacefulforums.com/index.php When I click on the topic called 'Introduce yourself' the url changes to this but nothing else changes. https://peacefulforums.com/index.php?/forum/236-introduce-yourself/
February 27, 20241 yr Author Could it have something to do with the htaccess file? I changed the Memory Limit through cPanle and I think cPanel generated a htaccess file Trying to delete it did not help. Is there a standard htaccess file for the forum?
February 27, 20241 yr Community Expert Since you have the index.php? part in your URLs, I don't think you ever enabled the htaccess redirect option for Invision Community in your ACP.
February 27, 20241 yr Community Expert We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
February 27, 20241 yr Author Thanks Marc, I have updated the access details. I have now deactivated Friendly URL's and it is working again. I have this in the htaccess file: <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$) /404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
February 27, 20241 yr Community Expert If you have that code in your htaccess file then the Rewrite URLs? setting in your screenshot (which is disabled) needs to be enabled. Also, this is the latest .htaccess file: <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule \.(js|css|jpeg|jpg|gif|png|ico|map|webp)(\?|$) /404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Yours is missing the webp extension.
February 27, 20241 yr Author I had tried that, yes, but all links would then take me to a non-existent page
February 27, 20241 yr Community Expert It sounds like rewrites are not properly working on your server unfortunately. Either that or there is something else also redirecting