How is URL processed by WP?
-
My question, is, how does WP on a localhost process a URL that is simply a link to a CSS file, for example.
I have 2 local projects that have the same structure.
If I type the following into the browser, the CSS file is displayed.
localhost/target/wp-content/themes/oceanwp-child/assets/css/demo.cssHowever, when I type the same path for the other project, as follows,
localhost/chfootball/wp-content/themes/oceanwp-child/assets/css/demo.cssI get “This site can’t be reached”. The underlying reason being that http has been replaced by https in a 301 redirect.
I originally thought that WP would not get involved in a request like this and that it would be handled by Apache, but the fact I’m getting different results would imply WP is getting involved in responding to the request.
So, my question is, can anybody tell me what processes are going on within WP to produce the response for this request? I am trying to locate what is causing the 301 redirect.
thanks
- The topic ‘How is URL processed by WP?’ is closed to new replies.