knystrom18 Posted May 27, 2010 Share Posted May 27, 2010 Hey, I have a flash object which I cannot edit which links to a page no longer in existence.If I create a page with the name the flash object is looking for, can I put a php redirect in there to bring the user to the intended page?Is there another method that will do this better/more effectively?Thanks,- K Link to comment Share on other sites More sharing options...
thescientist Posted May 27, 2010 Share Posted May 27, 2010 that would be a good method Link to comment Share on other sites More sharing options...
knystrom18 Posted May 29, 2010 Author Share Posted May 29, 2010 Excellent. Glad I thought of the right way the first time. Link to comment Share on other sites More sharing options...
thescientist Posted May 29, 2010 Share Posted May 29, 2010 haha. certainly makes things easier. Link to comment Share on other sites More sharing options...
wirehopper Posted May 31, 2010 Share Posted May 31, 2010 You could also use an Apache rewrite rule, in an .htaccess or .conf file.If the file you need is 'newflash.php', and the requested file is 'oldflash.php', something similar to the following should work: RewriteEngine onRewriteRule ^oldflash\.php$ newflash.php http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html Link to comment Share on other sites More sharing options...
ballack999 Posted June 1, 2010 Share Posted June 1, 2010 maybe thisheader("Location:http://www.abc.com"); Link to comment Share on other sites More sharing options...
knystrom18 Posted June 3, 2010 Author Share Posted June 3, 2010 Got it. It's all good and it's re-directing fine. I had to use a meta re-direct for some reason though. PHP wouldn't do anything. Link to comment Share on other sites More sharing options...
thescientist Posted June 3, 2010 Share Posted June 3, 2010 Got it. It's all good and it's re-directing fine. I had to use a meta re-direct for some reason though. PHP wouldn't do anything.are you using header? Did you make sure no content is outputted by the page before the redirect? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.