2011-03-08, 02:29 PM
@dmmcintyre3:
Better to use the direct PHP files and complete server URL for better 'compatibility':
Better to use the direct PHP files and complete server URL for better 'compatibility':
rewrite ^/p([0-9]+)$ http://www.example.com/showthread.php?pid=$1#pid$1 permanent;
rewrite ^/t([0-9]+)$ http://www.example.com/showthread.php?tid=$1 permanent;
rewrite ^/f([0-9]+)$ http://www.example.com/forumdisplay.php?fid=$1 permanent;
rewrite ^/u([0-9]+)$ http://www.example.com/member.php?action=profile&uid=$1 permanent;
rewrite ^/e([0-9]+)$ http://www.example.com/calendar.php?action=event&eid=$1 permanent;
rewrite ^/c([0-9]+)$ http://www.example.com/calendar.php?calendar=$1 permanent;