[SOLVED] 404 error custom
Hi,
I found the 'sorry that page isn't here' in the theme and thought I would add a link to my archives page, but when I put the link in I get an error message site wide. Is there a way to do this? Thanks for your help :) |
What version of Atahualpa and WP?
What did you do and where did you do it? |
Hi, juggledad
It's version: 3.2.1 I went to index.php and changed the wording that appears on the 404 error page I tried to add a hyperlink but that seemed to bring up an error message, I'm not always sure what to do with those :) Anyways thanks for sharing your knowledge with me |
If you want to create you own 404 page you can copy the 404.php from the Twenty Eleven theme and put it in the Atahualpa folder. Then modify it as you wish. There are also plugins that will help you with this as well.
|
edit index.php and change line 54 from
HTML Code:
<p><?php _e("Sorry, but you are looking for something that isn't here.","atahualpa"); ?></p> HTML Code:
<p><?php _e("Sorry, but you are looking for something that isn't here.","atahualpa"); ?><a href='http://yourdomain.com/'>press here to go home</a></p> |
Thanks juggledad
That did the trick |
All times are GMT -6. The time now is 02:41 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.