Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] 404 error custom


  #1  
Old Nov 19, 2011, 09:05 PM
Jerry's Avatar
Jerry
 
65 posts · Feb 2009
The beautiful Pacific Northwest USA
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
  #2  
Old Nov 20, 2011, 05:10 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of Atahualpa and WP?
What did you do and where did you do it?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Nov 22, 2011, 10:20 PM
Jerry's Avatar
Jerry
 
65 posts · Feb 2009
The beautiful Pacific Northwest USA
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
  #4  
Old Nov 22, 2011, 11:20 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Nov 23, 2011, 06:24 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>
to
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>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Nov 23, 2011, 11:01 AM
Jerry's Avatar
Jerry
 
65 posts · Feb 2009
The beautiful Pacific Northwest USA
Thanks juggledad
That did the trick

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] WP Custom Menu Filter Plugin Settings - error thekjub9 Plugins & Atahualpa 3 May 25, 2011 11:02 AM
custom 404: Dunstan-style Error Page Plugin twincascos Plugins & Atahualpa 3 Dec 20, 2010 09:26 AM
[SOLVED] ERROR MESSAGE: Parse error: syntax error, unexpected T_STRING in /hsphere/lo Candy Atahualpa 3 Wordpress theme 1 Oct 31, 2010 04:00 PM
[SOLVED] Parse error: syntax error, unexpected ':', expecting ')' in /home/cwicsol/pu norwichkaren Page & Category Menu Bars 1 Jul 12, 2009 11:04 AM


All times are GMT -6. The time now is 12:28 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.