Index: trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php
===================================================================
--- trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 175)
+++ trunk/wp-content/plugins/xpressme/include/xpress_common_functions.php	(revision 182)
@@ -294,3 +294,9 @@
 	return $query;
 }
+
+function safe_site_url_filter($site_url){
+	if ($site_url != get_xpress_url()) $site_url = get_xpress_url();
+	return $site_url;
+}
+
 ?>
Index: trunk/wp-content/plugins/xpressme/xpressme.php
===================================================================
--- trunk/wp-content/plugins/xpressme/xpressme.php	(revision 175)
+++ trunk/wp-content/plugins/xpressme/xpressme.php	(revision 182)
@@ -28,4 +28,9 @@
 }
 add_action("wp_meta" , "wp_meta_add_xpress_menu");			// add xpress menu  in wp_meta
+	
+//Site URL check
+add_filter('option_home',			"safe_site_url_filter");
+add_filter('option_siteurl',		"safe_site_url_filter");
+	
 
 //XOOPS Bloack Cache Refresh
@@ -71,5 +76,4 @@
 
 
-
 //The trackback and the pingback are excluded from the count of the comment. 
 add_filter('get_comments_number', 'xpress_comment_count', 0);
