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 »

Custom 404 Page and IE 8


 
Prev Previous Post   Next Post Next
  #1  
Old Aug 2, 2009, 08:04 PM
abroadinspain
 
4 posts · Jul 2009
Custom 404 Page and IE 8

I created a custom 404 page to be used with Atahualpa 3.2 by making a 404.php file and placing the following code inside:

Code:
<?php 
global $options; 
foreach ($options as $value) { 
	if (get_option( $value['id'] ) === FALSE) { 
		$$value['id'] = $value['std']; 
	} else { 
		$$value['id'] = get_option( $value['id'] ); 
	} 
}
if ( is_page() ) { global $wp_query; $current_page_id = $wp_query->get_queried_object_id(); }
?>
<?php get_header(); ?>

<p align="left"><font size=5><b>OOPS!!!  It looks like that page got lost.</b></font></p>
<p align="left">I'm sorry to say that the page you were looking for could not be found.  You may wish to go back to my <a href="http://abroadinspain.com">home page</a> or you could try using the search box in the upper-right corner of this page.</p>

			
<?php get_footer(); ?>
The custom 404 page works wonderfully in all browsers that I have tested it in, except in IE 8. In that browser, the custom 404 page loads sometimes but other times I get the standard IE "this page cannot be found" 404 page. The custom 404 file does appear to work in earlier versions of IE, just not IE 8.

I'm not really sure if this is a theme issue, a wordpress issue, or an IE issue, but does anyone know why this might be happening? I tried posting this question over at the wordpress forums and everybody seemed stumped.

The best way to re-create this issue is to visit a page that doesn't exist on my server using IE 8 as your browser. For example, you could try visiting the following non-existent page: http://abroadinspain.com/404-doesnt-work-on-ie

If anyone can shed some light on this problem, I'd be very grateful. Thanks in advance!

--Chris
 

Bookmarks

Tags
3.2, custom 404, ie8

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to customize 404 error page? wfzimmerman Atahualpa 3 Wordpress theme 21 Oct 2, 2016 06:50 PM
Custom 404 page paulae Atahualpa 3 Wordpress theme 15 Jul 5, 2011 04:42 AM
custom 404: Dunstan-style Error Page Plugin twincascos Plugins & Atahualpa 3 Dec 20, 2010 08:26 AM
[SOLVED] Permalink or 404 error - page not displaying correctly woolef Atahualpa 3 Wordpress theme 19 Apr 4, 2010 02:08 PM


All times are GMT -6. The time now is 05:08 PM.


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