[wp-hackers] home.php and trying custom php
zamoose at gmail.com
Sun Feb 19 03:42:39 UTC 2012
On Sat, Feb 18, 2012 at 9:59 PM, Dion Hulse (dd32) <wordpress at dd32.id.au> wrote:
> On 19 February 2012 13:52, Doug Stewart <zamoose at gmail.com> wrote:
>> On Sat, Feb 18, 2012 at 9:42 PM, Dion Hulse (dd32) <wordpress at dd32.id.au> wrote:
>>> No, sending a redirect is completely wrong.
>> Explain, if you please. I'm not understanding 1) why you would even
>> try to include index.php in home.php 2) why a redirect would be the
>> wrong answer.
> If you didn't realise, this is a theming question, as theme files are
> included by WordPress, redirecting to another theme file via a HTTP
> redirect would never work.
Thanks for that. I didn't have my head screwed on straight and see the
leap in logic I made.
Still don't see the logic in including index.php, though...
More information about the wp-hackers