in wordpress installation have special page gets data external database.
if open http://localhost/o-b/comm/?id=123 everthing works fine. if open http://localhost/ob/comm/123 wordpress leads me 404 error page. i've checked rewriterule online rewrite rule check , match.
<ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewriterule ^ob/comm/(.*)$ o-b/comm/?id=$1 #this line killing me rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /index.php [l] </ifmodule> any hints on that?
go permalinks option under setting in wordpress dashboard find option this.
not sure variable "id" mean here, because it's "p", if custom post type, url rewrite needs turned on it.
read more here: https://codex.wordpress.org/using_permalinks
Comments
Post a Comment