magicrog Posted August 19, 2013 Share Posted August 19, 2013 I am not sure if this is the correct place for this post, but if not please someone advise me where is better? I run a wordpress website and a developer set me up a custom 404.php file which redirects dead pages to new ones, this helped me a lot when I migrated my site from a static one to wordpress. However I recently added a few lines to the bottom of the array and now it does not work. I am not sure if this is a hosting problem or a php problem and just need some advice on if this script is good? Many Thanks Roger 404.php Quote Link to comment https://forums.phpfreaks.com/topic/281369-404php/ Share on other sites More sharing options...
.josh Posted August 19, 2013 Share Posted August 19, 2013 you are missing a comma after this one: "/magician-winchester.html" => "magician-winchester" Quote Link to comment https://forums.phpfreaks.com/topic/281369-404php/#findComment-1445861 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.