diff --git a/modules/blogapi.module b/modules/blogapi.module
index 1b75cd5e94ac10b04c45ae16752804c29fa86c4e..32129f8c262c2557cd8fc897ded2ee306ecd1a35 100644
--- a/modules/blogapi.module
+++ b/modules/blogapi.module
@@ -574,7 +574,7 @@ function blogapi_settings() {
 function blogapi_menu($may_cache) {
   $items = array();
 
-  if ($_GET['q'] == variable_get('site_frontpage', 'node')) {
+  if (drupal_get_path_alias($_GET['q']) == variable_get('site_frontpage', 'node')) {
     drupal_add_link(array('rel' => 'EditURI',
                           'type' => 'application/rsd+xml',
                           'title' => t('RSD'),
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index 1b75cd5e94ac10b04c45ae16752804c29fa86c4e..32129f8c262c2557cd8fc897ded2ee306ecd1a35 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -574,7 +574,7 @@ function blogapi_settings() {
 function blogapi_menu($may_cache) {
   $items = array();
 
-  if ($_GET['q'] == variable_get('site_frontpage', 'node')) {
+  if (drupal_get_path_alias($_GET['q']) == variable_get('site_frontpage', 'node')) {
     drupal_add_link(array('rel' => 'EditURI',
                           'type' => 'application/rsd+xml',
                           'title' => t('RSD'),