Saurabh Jain Posted August 31, 2015 Share Posted August 31, 2015 RegardsSaurabh Link to comment Share on other sites More sharing options...
GriefCode Posted August 31, 2015 Share Posted August 31, 2015 Use friendly URLsACP -> System -> Search Engine OptimizationEnable friendly & rewrite URL, download the .htaccess, put it in your suite root folder and then add AllowOverwrite Allto your apache configuration of the forum directory.Restart apache and your done.Regards Link to comment Share on other sites More sharing options...
Adlago Posted August 31, 2015 Share Posted August 31, 2015 Link to comment Share on other sites More sharing options...
Brian K. Posted December 20, 2015 Share Posted December 20, 2015 Whats' the best way to accomplish this under nginx? I tried the following in my nginx configuration and it causes the links to download when I click on them: # nginx configuration location / { if (!-e $request_filename){ rewrite \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) /404error.php break; } if (!-e $request_filename){ rewrite ^(.*)$ /index.php break; } } Link to comment Share on other sites More sharing options...
MADMAN32395 Posted December 20, 2015 Share Posted December 20, 2015 7 minutes ago, Brian K. said: Whats' the best way to accomplish this under nginx? I tried the following in my nginx configuration and it causes the links to download when I click on them: # nginx configuration location / { if (!-e $request_filename){ rewrite \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) /404error.php break; } if (!-e $request_filename){ rewrite ^(.*)$ /index.php break; } } as for rewrite, this is what one ngnix forums uses. location / { index index.html index.php; try_files $uri $uri/ /index.php?q=$request_uri; } Link to comment Share on other sites More sharing options...
RevengeFNF Posted December 20, 2015 Share Posted December 20, 2015 I just use this and it works: location / { try_files $uri $uri/ /index.php; } Link to comment Share on other sites More sharing options...
Brian K. Posted December 20, 2015 Share Posted December 20, 2015 Thanks but both of those return 404. I upgraded from VB 4.2 + VBSEO to IPS 4 so I have a rewrite in there as well, not sure if that is causing the problem: rewrite [^/]+\/([0-9]+)-[^/]+\.html https://www.techinferno.com/showthread.php?t=$1 redirect; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.