Title: 404 Error from different locations
Last modified: August 21, 2016

---

# 404 Error from different locations

 *  [JohnnyN05](https://wordpress.org/support/users/johnnyn05/)
 * (@johnnyn05)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/404-error-from-different-locations/)
 * Hello all,
 * I have a weird issue here. I have a client who is in Tennessee and I am in California.
   It seems that everyone and their mother can see the site perfectly fine, but 
   for some reason, my client (from TN using Comcast Cable) gets a 404 error when
   visiting the site.
 * I can’t give you the link (super secret stuff here), but I can give you a snippet
   of the WP_Query Object and some PHP $_SERVER variables from both working and 
   non-working browsers.
 * Any help is much appreciated.
 * Thanks a bunch!
 * **Working PHP $_SERVER variables:**
 *     ```
       Array
       (
           [SERVER_SOFTWARE] => Apache
           [REQUEST_URI] => /~johnnyn05/properties/sold-properties/
           [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
           [QUERY_STRING] =>
           [REDIRECT_SPT_DOCROOT] => /home/johnnyn05/htdocs
           [REDIRECT_STATUS] => 200
           [REDIRECT_URL] => /~johnnyn05/properties/sold-properties/
           [REQUEST_METHOD] => GET
           [SCRIPT_FILENAME] => /home/johnnyn05/htdocs/index.php
           [SCRIPT_NAME] => /~johnnyn05/index.php
           [SERVER_PORT] => 80
           [SERVER_PROTOCOL] => HTTP/1.1
           [SPT_DOCROOT] => /home/johnnyn05/htdocs
           [PHP_SELF] => /~johnnyn05/index.php
           [argv] => Array
               (
               )
   
           [argc] => 0
       )
       ```
   
 * **Working WP_Query Object (I’ve removed any value that was empty and shortened
   the posts that were returned):**
 *     ```
       WP_Query Object
       (
           [query_vars] => Array
               (
                   [page] => 0
                   [pagename] => sold-properties
                   [m] => 0
                   [p] => 0
                   [attachment_id] => 0
                   [name] => sold-properties
                   [page_id] => 0
                   [day] => 0
                   [monthnum] => 0
                   [year] => 0
                   [w] => 0
                   [paged] => 0
                   [cache_results] => 1
                   [update_post_term_cache] => 1
                   [update_post_meta_cache] => 1
                   [posts_per_page] => 10
                   [comments_per_page] => 50
                   [order] => DESC
               )
   
           [tax_query] =>
           [meta_query] => WP_Meta_Query Object
               (
                   [queries] => Array
                       (
                       )
   
                   [relation] =>
               )
   
           [post_count] => 1
           [current_post] => -1
           [comment_count] => 0
           [current_comment] => -1
           [found_posts] => 1
           [max_num_pages] => 0
           [max_num_comment_pages] => 0
           [is_page] => 1
           [is_singular] => 1
           [query_vars_hash] => d116bdb652b388c832ead6a77e4b3421
           [query] => Array
               (
                   [page] =>
                   [pagename] => properties/sold-properties
               )
   
           [queried_object] => WP_Post Object
               (
                   [ID] => 21
                   ... (the rest of the post) ...
               )
   
           [queried_object_id] => 21
           [request] => SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND (wp_posts.ID = '21') AND wp_posts.post_type = 'page'  ORDER BY wp_posts.post_date DESC
           [posts] => Array
               (
                   [0] => WP_Post Object
                       (
                           [ID] => 21
                   		... (the rest of the post) ...
                       )
               )
   
           [post] => WP_Post Object
               (
                   [ID] => 21
                   ... (the rest of the post) ...
               )
   
       )
       ```
   
 * **NON-Working, 404 PHP $_SERVER variables:**
 *     ```
       Array (
       	[SERVER_SOFTWARE] => Apache
       	[REQUEST_URI] => /%7Ejohnnyn05/properties/sold-properties/
       	[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 Firefox/21.0
       	[QUERY_STRING] =>
       	[REDIRECT_SPT_DOCROOT] => /home/johnnyn05/htdocs
       	[REDIRECT_STATUS] => 200
       	[REDIRECT_URL] => /~johnnyn05/properties/sold-properties/
       	[REQUEST_METHOD] => GET
       	[SCRIPT_FILENAME] => /home/johnnyn05/htdocs/index.php
       	[SCRIPT_NAME] => /~johnnyn05/index.php
       	[SERVER_PORT] => 80
       	[SERVER_PROTOCOL] => HTTP/1.1
       	[SPT_DOCROOT] => /home/johnnyn05/htdocs
       	[PHP_SELF] => /~johnnyn05/index.php
       	[argv] => Array
       		(
       		)
       	[argc] => 0
       )
       ```
   
 * **NON-Working, 404 WP_Query Object (I’ve removed any value that was empty and
   shortened the posts that were returned):**
 *     ```
       WP_Query Object (
       	[query_vars] => Array (
       		[error] => 404
       		[m] => 0
       		[p] => 0
       		[attachment_id] => 0
       		[page_id] => 0
       		[day] => 0
       		[monthnum] => 0
       		[year] => 0
       		[w] => 0
       		[paged] => 0
       		[cache_results] => 1
       		[update_post_term_cache] => 1
       		[update_post_meta_cache] => 1
       		[posts_per_page] => 10
       		[comments_per_page] => 50
       		[order] => DESC
       	)
       	[tax_query] => WP_Tax_Query Object (
       		[queries] => Array ( )
       		[relation] => AND
       	)
       	[meta_query] => WP_Meta_Query Object (
       		[queries] => Array ( )
       		[relation] =>
       	)
       	[post_count] => 1
       	[current_post] => -1
       	[comment_count] => 0
       	[current_comment] => -1
       	[found_posts] => 1
       	[max_num_pages] => 1
       	[max_num_comment_pages] => 0
       	[is_404] => 1
       	[query_vars_hash] => 23c5c1987e0af1056be558f64cb33ad6
       	[query] => Array (
       		[error] => 404
       	)
       	[request] => SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish') ORDER BY wp_posts.post_date DESC LIMIT 0, 10
       	[posts] => Array (
       		[0] => WP_Post Object (
       			[ID] => 1
       			... (the rest of the post) ...
       		)
       	)
       	[post] => WP_Post Object (
       		[ID] => 1
       		... (the rest of the post) ...
       	)
       )
       ```
   

The topic ‘404 Error from different locations’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [JohnnyN05](https://wordpress.org/support/users/johnnyn05/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/404-error-from-different-locations/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
