Title: [Plugin: Google XML Sitemaps] Error when Adding New Page
Last modified: August 19, 2016

---

# [Plugin: Google XML Sitemaps] Error when Adding New Page

 *  [gemmabug](https://wordpress.org/support/users/gemmabug/)
 * (@gemmabug)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-error-when-adding-new-page/)
 * Hi,
    Am trying to “Add New Page” in the Additional Pages section, however it 
   doesn’t seem to do anything.
 * When I hover over the link the following error appears in the status bar. javascript:
   void(0);
 * When I click on the link nothing happens.
 * Any ideas what could be going wrong?
 * Thanks
    Sharon

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [wpnewbie5566](https://wordpress.org/support/users/wpnewbie5566/)
 * (@wpnewbie5566)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-error-when-adding-new-page/#post-1040477)
 * Hi,
 * Don’t know if your problem is similar, but I made the mistake of removing the
   execute permissions on my plugins subfolder and after that I also could not ‘
   add pages’ to the XML sitemap plugin page.
 * Once I changed the permissions to ‘read’ and ‘execute’, the add page link worked
   again.
 * Hope this helps.
 *  [fdpm](https://wordpress.org/support/users/fdpm/)
 * (@fdpm)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-error-when-adding-new-page/#post-1040480)
 * Got the same problem. I’ve checked the permission on the pulugin subfoder and
   everything is 777. But I still get error on page when clicking on Add New Pages.
 * Any idea?
 * Regards,
 * FD
 *  [fdpm](https://wordpress.org/support/users/fdpm/)
 * (@fdpm)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-error-when-adding-new-page/#post-1040481)
 * Just to add some more info: I’m running WP 2.7.1 with XML Sitemap Generator for
   WordPress 3.1.2. The blog runs in a subfolder while the the index.php is on the
   root of the site.
 * I noticed anothe problem: in the plugin configuration page I can’t see the paypal
   donate icon. Checking on the image properties I see that the path i worong and
   points to [http://domain/blog/wp-content/plugins/plugins/img/icon-donate.gif](http://domain/blog/wp-content/plugins/plugins/img/icon-donate.gif)(
   you can see there is twice the plugin directory, while it should be only once).
   That path is the same that contains also the sitemap.js script, and therefore
   I tought it could be relevant.
 * Regards,
 * FD
 *  [fdpm](https://wordpress.org/support/users/fdpm/)
 * (@fdpm)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-error-when-adding-new-page/#post-1040482)
 * I just made a test on devel site, and added a plugins/plugins/img directory (
   and files) and it seems to work: I can now see all the icons and the Add New 
   Page works perfectly.
 * Regards,
 * FD
 *  [fdpm](https://wordpress.org/support/users/fdpm/)
 * (@fdpm)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-error-when-adding-new-page/#post-1040483)
 * Further more investigation.
    It seems that the GetPluginUrl returns a wrong path.
   Acutally that function depends on a WP API introduced in WP 2.6 that is returning
   the wrong path.
 * My workaround is to comment line 979 on the sitemap-core.php that force the GetPluginUrl
   to find manually the path.
 * Regards,
 * FD

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Google XML Sitemaps] Error when Adding New Page’ is closed to
new replies.

## Tags

 * [add new page](https://wordpress.org/support/topic-tag/add-new-page/)
 * [new page](https://wordpress.org/support/topic-tag/new-page/)

 * 5 replies
 * 3 participants
 * Last reply from: [fdpm](https://wordpress.org/support/users/fdpm/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-error-when-adding-new-page/#post-1040483)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
