i want to redirect the link to some external link and i created the php file and uploaded it on the server . php file looks like this Code: <?php header('Location: http.........example.com' ); ?> i linked the url of file in the post so that when someone clicks on the link he will be redirected to example.com.
need help with php redirection
13
i want to redirect the link to some external link and i created the php file and uploaded it on the server .
php file looks like this
i linked the url of file in the post so that when someone clicks on the link he will be redirected to example.com.
this code is not working as when i click on the link it is displaying post url/link url
and shows 404 error however when i check for link url only in browser it works fine.
i don't know why post url is coming infront of link url. please help ..
php file looks like this
Code:
<?php
header('Location: http.........example.com' );
?> this code is not working as when i click on the link it is displaying post url/link url
and shows 404 error however when i check for link url only in browser it works fine.
i don't know why post url is coming infront of link url. please help ..
- vulcanscripts
- mbwani
- RuffRage
- [2] replies
- vulcanscripts
- [1] reply
- vulcanscripts
- mbwani
- [2] replies
- Jeff Hope
- [ 1 ] Thanks
- vulcanscripts
- [ 1 ] Thanks
- mbwani
Next Topics on Trending Feed
-
13