The action hook that we are going to use for redirection is commonly misused for including custom page templates. The name of the hook may be misleading for some and there you go.
The hook that we are going to use is the perfect hook to use for page redirections.
Read More “Redirect To A Different Page In WordPress”
Not so long ago, I showed how to use wp_redirect() in WP plugins without any problems.
After using that, I soon came to a problem. Like many of you, I also use custom CSS in the admin area for my plugins.
The problem was that after submitting the form, the CSS style for my plugin was lost.
Of course the reason for that is that I’m using noheader in the URL.
Read More “WordPress wp_redirect, no header and CSS style”
Today while writing a WordPress plugin, I found out that using just wp_redirect() function alone doesn’t work really.
After some investigation I managed to figure it out.
So what’s the problem in the first place? Well, let me give you an example.
Read More “WordPress and wp_redirect() function problem”