Guest Guest Report post Posted April 8, 2010 Hey there, is there a way to change the 404 Error message to something more positive and fun? Where do I find it to edit it? I am getting a lot of 404 after changing my site from a www. to a full wordpress site, like this: http://creativenudge.com/comox-valley-creativity-culture/ Share this post Link to post Share on other sites
Andrew 207 Report post Posted April 8, 2010 depending on the theme 404 text will either be in the bottom of the "_posts.php" file or in the 404.php file Share this post Link to post Share on other sites
Guest Guest Report post Posted April 9, 2010 Thanks. Share this post Link to post Share on other sites
Guest Guest Report post Posted April 12, 2010 Tip. Can you always provide the folder name in your responses, where these files are found, so us non-PHP-experts can find things faster? Thanks Share this post Link to post Share on other sites
Guest Guest Report post Posted April 12, 2010 Ooooops! I messed up. How can I fix the code now, now the 404 error page shows this: Parse error: syntax error, unexpected T_STRING in /home/phod7240/public_html/creativenudge.com/wp-content/themes/EcoPro/library/_posts.php on line 97 Share this post Link to post Share on other sites
Guest Guest Report post Posted April 12, 2010 Doesn't work to edit that file _posts.php and it's not in the 404 file Share this post Link to post Share on other sites
cmunns 16 Report post Posted April 12, 2010 It tells you where the error is, but often the actual syntax mistake, etc is a few lines before or after the actual line 97. I checked your page and your also getting an error on line 57 and lost the post-footer. Could you copy and paste the section of code in question? Share this post Link to post Share on other sites
Guest Guest Report post Posted April 24, 2010 over my head do you want my login? Share this post Link to post Share on other sites
Andrew 207 Report post Posted April 26, 2010 looks like a syntax error on line 97 of the _posts.php file... Share this post Link to post Share on other sites
bryan-hadaway 3 Report post Posted April 27, 2010 I'm assuming this is still a problem? A few different ideas to consider, so you want http://www.creativenudge.com/ to redirect to http://creativenudge.com/'>http://creativenudge.com/ for all pages, and that's when the problem started? Did you make this change outside the normal WordPress settings? So when you go to this admin settings page: http://creativenudge.com/'>http://creativenudge.com/wp-admin/options-general.php is http://creativenudge.com - exactly like that set in both the "WordPress address (URL)" and "Blog address (URL)" fields? If not, update it and see if the problems persists. A more manual/simpler approach to deal with error pages to have complete control would be to use this plugin: http://wordpress.org/extend/plugins/redirection/ You can redirect specific pages to other pages or all 404 error pages to a custom page or your sitemap customized as much as you want like any other normal page, with any colors wording you want. Please let me know if that works. Thanks, Bryan Share this post Link to post Share on other sites
Guest Guest Report post Posted May 10, 2010 you guys are always WAAAAYYYYY over my head. gobbledeegook. but thanks anyway. no clue Share this post Link to post Share on other sites
Andrew 207 Report post Posted May 11, 2010 towards the bottom of the '_posts.php' file, there should be a section with some text like: 'sorry, but what you're looking for...' Do you see it? Share this post Link to post Share on other sites