I use redirects all the time. A quick video for beginners looking for a way to redirect to another page. I can create another video expanding on the use of it if I need to. Thank you all for watching and commenting!
@morteza.saaedi5 ай бұрын
I almost had a headache for that header already sent error, thank you so much for the help
@jherbison5 ай бұрын
Glad it helped you. Thank you for watching and commenting.
@kurdstan_neshteman2 жыл бұрын
this video after 2 years : still working 😍 saved the day to me ireally really thanks and ihope god found you the real way to paradise and became a muslim love you sir ❤
@goodchoice5104 Жыл бұрын
Thanks for the video. It added a lot. Dude, I added the code next to the redirect, but on the next page the cookie has not been marked. In the address bar it shows the website ending no_cookies_from_redirect=1 How can I fix this? Thank you in advance for your return.
@greatwhitelodge362611 ай бұрын
great short video, but what if i have many pages and i may share on social media and someone clicks to view but then needs to signup and login before viewing. how do i make the visitor to be redirected to the page that brought the user to the website after the visitor is logged in?
@hughclarke85042 жыл бұрын
Hi and thank you for this video. I have a contact us form that when someone visits this page it sends a blank. When someone fills the form out and if they refresh it sends again. Is there a way to resolve this? I am a newbie so it's a little confusing to me.
@jherbison2 жыл бұрын
I hope you were able to fix this issue. Sorry for the delay. If you are still having trouble, send me an email with your code to josh@ideapro.com
@projeto-142 жыл бұрын
my friend... Thank you very much this helped me a lot!
@jherbison2 жыл бұрын
Thank you for watching and commenting.
@DIY_Miracle2 жыл бұрын
Excellently explained!
@jherbison2 жыл бұрын
Thank you
@nurulsyazana50702 жыл бұрын
thank you for the tutorial ! can you do tutorial of login system and redirect to another page after successful login.
@cassandraminadeo5673 жыл бұрын
Really helpful, thank you!
@jherbison3 жыл бұрын
Awesome. Thank you for watching and commenting.
@Cy-vu4hv Жыл бұрын
Great video, is it possible to get this to work to redirect a pdf to a html page?
@jherbison Жыл бұрын
Sorry for the delay in response. I hope you found a solution for this. To do sometime like that, you would need to configure the server to redirect like that. It would be a difficult task. If the server is running nginx you would need to configure the nginx block to handle that file specifically so that all pdf files would not be affected. If it is apache, you may be able to do that in the .htaccess file. If you found this helpful, please consider subscribing if you aren’t already and sharing with others who might benefit. Your support helps me create better videos in the future. 🙏
@oldguy8177able Жыл бұрын
thanks very good video
@jherbison Жыл бұрын
Thank you!
@miroslavstankovic61495 ай бұрын
when i test my app in XAMPP everything works. But when I upload site on host server then my header('Location:'); function is not working
@jherbison4 ай бұрын
Did you figure this out? Maybe headers are already being sent by something else. Are you using Wordpress? If so, you can use wp_redirect function.
@nigelpallatt2 жыл бұрын
So you are saying that PHP can not use the href like javascript, that's stupid...how on earth do I get back to my index.html page after the form is submitted??
@jherbison2 жыл бұрын
Do a redirect. I know learning to code is frustrating at times, but you can do it. If you are using Wordpress as the framework, you can do wp_redirect(‘index.html’) or course make sure the path to your index.html file is correct.
@peacebenson38332 жыл бұрын
Thank you so much
@jherbison2 жыл бұрын
You’re welcome. Thank you for watching and commenting.
@N-KHI152 жыл бұрын
🔥🔥
@subjectfrank Жыл бұрын
Can we perform 301 redirection usin plain php?
@jherbison Жыл бұрын
@mind23433 жыл бұрын
This function doesn't work for me.... i don't get redirected, it loads the new page without leaving the old one , so i see both pages and its terrible since the first one is the login page. I am struggling to find a solution to this. What dou you think ?
@jherbison3 жыл бұрын
Thanks for watching and commenting.. I would need to see your code to know what is going on. If headers are already sent to the browser, a redirect will not work.
@johnmarkambalong1537 Жыл бұрын
Very helpful
@jherbison Жыл бұрын
Awesome.. Thank you for watching and commenting. If you aren't subscribed, please consider subscribing to support my channel.
@godfreymukondo68562 жыл бұрын
Hi iam struggling to open the content of another page using a link .When i try to click the link it will display the name of the file instead of the content in that file ,
@jherbison2 жыл бұрын
Can you send me a screenshot of your code.. may be a permissions issue. Thank you for watching and commenting.
@jherbison2 жыл бұрын
Sorry, send me a screenshot to josh@ideapro.com
@logicalvaibhav3 жыл бұрын
Hello I Was Using PHP From last 7 Years, Now I Moved To JavaScript. I Request You To Create JavaScript Videos. I Will Put Your Video Link In My KZbin Videos Because I Use Hindi Language And You Use English. I Am Going To upload videos soon.
@jherbison3 жыл бұрын
Awesome.. I have a few javascript videos from a while back and have some new ones planned! Thank you for watching and commenting.
@Factrythm9 ай бұрын
How to redirect a page which is in another folder ?
@vajona2495Ай бұрын
How does one have it redirect while also running the php before and after? example is "?v=yAjj7ByyWx0"