Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ASTRAPI Posted August 17, 2011 Posted August 17, 2011 Hello I just test an nginx + MariaDB + php+fpm setup and i was install to test invision forum. But the index is working:http://109.236.80.227/ When i click to read a topic or anything else i get 404 not found. I am sure that i did correct the installation of invision as it is very easy to follow... Any ideas? Thank you
ASTRAPI Posted August 18, 2011 Author Posted August 18, 2011 Ok i got it working : I just uncomment this: try_files $uri $uri/ /index.php; But is this correct?http://109.236.80.227/index.php/forum/2-a-test-forum/ The index.php there? Thank you
CrossFire-Radio Posted August 18, 2011 Posted August 18, 2011 Yes, that is correct.. Unless you turn on FURL
ASTRAPI Posted August 18, 2011 Author Posted August 18, 2011 Yes i have on the FURL on the config file: $INFO['use_friendly_urls'] = '1';
Rhett Posted August 27, 2011 Posted August 27, 2011 It's a setting in the admincp, you also need to use an .htaccess file for re-directs. It explains it in the settings.
ensoph Posted August 31, 2011 Posted August 31, 2011 It's a setting in the admincp, you also need to use an .htaccess file for re-directs. It explains it in the settings. nginx doesn't use (for performance reasons) .htaccess files: since you don't need to parse .htaccess files every time there's a request, but you store rewrites in the RAM-stored nginx configuration, there's a (significant enough) speed gain. however, he needs to enable "Use .htaccess mod_rewrite" in the SEO settings for friendly URLs to work properly. the "try files" configuration should cover the rewritepart without needing to do anything else.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.