Title: error pages
Last modified: November 22, 2023

---

# error pages

 *  [3r1ka](https://wordpress.org/support/users/3r1ka/)
 * (@3r1ka)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-pages-3/)
 * Hi,
 * I keep getting an index error for these 2 page2 from google
 * [https://plemvisual.com/wp-admin/admin-ajax.php?action=log_js_error&_wpnonce=5b471376fa](https://plemvisual.com/wp-admin/admin-ajax.php?action=log_js_error&_wpnonce=5b471376fa)
 * [https://plemvisual.com/wp-admin/admin-ajax.php?action=log_js_error&_wpnonce=fb7bdff051](https://plemvisual.com/wp-admin/admin-ajax.php?action=log_js_error&_wpnonce=fb7bdff051)
 * but, if you look on my website (www.plemvisual.com), these pages do not exist.
   They’re not pages I created, I believe it is some sort of default from wp.
 * How can I fix it?
 * Thanks in advance
 * Erika
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-pages-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [luisherranz](https://wordpress.org/support/users/luisherranz/)
 * (@luisherranz)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-pages-3/#post-17220914)
 * Google sometimes crawls URLs that it finds inside `script` tags. In this case,
   those URLs are inside a script tag in your head.
 * ![](https://cdn-std.droplr.net/files/acc_1200739/vnwm9B)
 * In my opinion, the easiest way to solve this problem would be to update your `
   robots.txt` to ensure that the `wp-admin` directory is disallowed and prevent
   search engines from crawling and indexing URLs under the `wp-admin` path.
 * Something like this:
 *     ```wp-block-code
       User-agent: *
       Disallow: /wp-admin/
       ```
   
 * Let me know if that helps.
 *  Thread Starter [3r1ka](https://wordpress.org/support/users/3r1ka/)
 * (@3r1ka)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-pages-3/#post-17220979)
 * Thanks for the reply.
 * It seems that the robot.txt was already setup in this way, but I do still get
   the error
 * User-agent: *
 * Disallow: /wp-admin/
 * Allow: /wp-admin/admin-ajax.php
 * Sitemap: [https://plemvisual.com/sitemap.xml](https://plemvisual.com/sitemap.xml)
 * Sitemap: [https://plemvisual.com/sitemap.rss](https://plemvisual.com/sitemap.rss)
 *  [luisherranz](https://wordpress.org/support/users/luisherranz/)
 * (@luisherranz)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-pages-3/#post-17221347)
 * Do you know why you have the `Allow: /wp-admin/admin-ajax.php` part? That’s probably
   causing the issue.
 *  Thread Starter [3r1ka](https://wordpress.org/support/users/3r1ka/)
 * (@3r1ka)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-pages-3/#post-17221906)
 * No, It was like this by default. I am not even sure what could happen if I disallow.
   Do I try?
 *  [luisherranz](https://wordpress.org/support/users/luisherranz/)
 * (@luisherranz)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-pages-3/#post-17222267)
 * Yes, you can remove that line. Search engines should never crawl ajax URLs.
 *  Thread Starter [3r1ka](https://wordpress.org/support/users/3r1ka/)
 * (@3r1ka)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-pages-3/#post-17222422)
 * I’ll try, thanks a lot for the help!

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

The topic ‘error pages’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [3r1ka](https://wordpress.org/support/users/3r1ka/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/error-pages-3/#post-17222422)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
