Skip to main content

New answers tagged

0 votes

How does WordPress determine if a server supports pretty permalinks?

Another option is to use $is_nginx by placing the following line in functions.php: <?php $is_nginx = ( str_contains( $_SERVER['SERVER_SOFTWARE'], 'OpenBSD httpd' )); This will force WordPress to ...
Paul's user avatar
  • 174
3 votes
Accepted

How does WordPress determine if a server supports pretty permalinks?

Given that httpd is a very minor webserver by market share and didn't support rewrites until OpenBSD 6.6, it's not really surprising that WP hasn't been written to accommodate it. The basic structure ...
Chris Cox's user avatar
  • 2,211

Top 50 recent answers are included