I would like to include an if statement to my header file and instruct it to redirect to another url if the requested page id is xy.
Reason is, as I have it currently, the browser first loads the header and certain stock content before being redirected. I dont want the browser to even load those.
Is there any way to do that with php and if so, can some one give me an example?
here is the site --wwwsattaluri.com/amazon
I have the site linked to a wordpress blog from the menu. If you click blog on menu....But it loades graphics first. I have access to the header file. So, I was thinking of using a check to see if the current page being loaded is particular and if so, redirect.