0

My Question is WordPress redirects url even in httpd. httpd doesn't support htaccess. And if developer tries to rewrite urls he have to do it in the httpd.conf file. But WordPress how rewrite urls in httpd? If anyone have idea please answer.

1
  • 1
    sorry, but right now it is impossible to understand what is it you are asking. For example, what does it mean "httpd doesn't support htaccess" Commented Jan 21, 2018 at 14:21

1 Answer 1

0

WordPress can make redirects internally, by wp_redirect() function. It is php code, for it to function, no redirect in Apache (httpd) or Nginx web server is needed.

Also, WordPress has own rewrite API, accessible via add_rewrite_rule() and similar functions. This is also php code, which doesn't require any support from a web server.

1
  • The question seems to be about rewrite rules, not redirects.
    – swissspidy
    Commented Jan 21, 2018 at 10:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.