New answers tagged permalinks
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 ...
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 ...
Top 50 recent answers are included
Related Tags
permalinks × 3186custom-post-types × 656
url-rewriting × 471
custom-taxonomy × 287
rewrite-rules × 260
urls × 225
categories × 211
posts × 193
slug × 190
htaccess × 182
404-error × 177
redirect × 159
pages × 129
php × 116
plugins × 115
customization × 92
links × 83
plugin-development × 82
taxonomy × 60
pagination × 59
functions × 58
archives × 57
multisite × 54
woocommerce-offtopic × 50
templates × 50