Hey guys,
For some reason we are having nginx issues. We've used apache to nginx converter and custom permalinks do work, however, when logging in to Wordpress dashboard, we receive a "too many redirects" error. It seems to only work when we type in: http://domain.com/wp-admin/index.php
Please advise, thanks.
For some reason we are having nginx issues. We've used apache to nginx converter and custom permalinks do work, however, when logging in to Wordpress dashboard, we receive a "too many redirects" error. It seems to only work when we type in: http://domain.com/wp-admin/index.php
Code:
#ignored: "-" thing used or unknown variable in regex/rew
if (!-f $request_filename){
set $rule_1 1$rule_1;
}
if (!-d $request_filename){
set $rule_1 2$rule_1;
}
if ($rule_1 = "21"){
rewrite /. /index.php last;
}
Please advise, thanks.