Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
bing11 Posted November 30, 2020 Posted November 30, 2020 hello I change new domain . and get new Licensed URLs. change the 'base_url' => in "conf_global.php" the homepage and admincp'page work fine but I click any link on the homepage show me Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. please help thanks
bfarber Posted November 30, 2020 Posted November 30, 2020 It sounds like you have friendly URLs enabled but don't have a .htaccess file (or appropriate rewrite rules) set up correctly for the site.
bing11 Posted November 30, 2020 Author Posted November 30, 2020 1 hour ago, bfarber said: It sounds like you have friendly URLs enabled but don't have a .htaccess file (or appropriate rewrite rules) set up correctly for the site. thank you It works now <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> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php73” package as the default “PHP” programming language. #<IfModule mime_module> # AddHandler application/x-httpd-ea-php73 .php .php7 .phtml #</IfModule> # php -- END cPanel-generated handler, do not edit could you check this .htaccess file, anything I need edit ? thank you
Recommended Posts