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.
-
1sorry, 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"– Mark KaplunCommented Jan 21, 2018 at 14:21
Add a comment
|
1 Answer
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.
-
The question seems to be about rewrite rules, not redirects. Commented Jan 21, 2018 at 10:37