Title: Error 404:
Last modified: November 28, 2018

---

# Error 404:

 *  Resolved [sooweeb](https://wordpress.org/support/users/sooweeb/)
 * (@sooweeb)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-404-38/)
 * I have been realizing a scan of my site with Semrush, and i have more than 2000
   errors showing, with the ending of the URL’s as ***/<?php echo wc_get_cart_url()?
   >
    It gives me an error 404 🙁
 * Any idea how to resolve this issue?
    Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-404-38%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Hannah S.L.](https://wordpress.org/support/users/fernashes/)
 * (@fernashes)
 * Automattic Happiness Engineer
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-404-38/#post-10934080)
 * Hey there,
 * I’m afraid it’s tricky to help without more information. Can you tell us exactly
   which errors you’re seeing?
 *  Thread Starter [sooweeb](https://wordpress.org/support/users/sooweeb/)
 * (@sooweeb)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-404-38/#post-10934138)
 * Hello Hannah,
 * Thank you for your quick reply.
 * **Here are a few of the url that are returning a 404 error:**
 *     ```
       https://www.cocobeachexperience.com/1-free-night-accommodation/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/1-noche-gratis-en-un-condo-en-playa-del-carmen/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/10-easy-tips-to-avoid-sunburn/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/10-faciles-tips-para-evitar-quemaduras-de-sol/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/13-raisons/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/13-razones/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/13-reasons/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/25-most-beautiful-beaches-according-trip-advisor/<?php echo wc_get_cart_url(); ?>
       ```
   
 * **Also, here are a few broken links:**
 *     ```
       https://www.cocobeachexperience.com/?post_type=tour&order_by=name&order=ASC&page=2&view=grid	https://www.cocobeachexperience.com/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/?post_type=tour&order_by=name&order=ASC&page=2&view=list	https://www.cocobeachexperience.com/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/?post_type=tour&order_by=name&order=ASC&page=3	https://www.cocobeachexperience.com/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/?post_type=tour&order_by=name&order=ASC&page=3&view=grid	https://www.cocobeachexperience.com/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/?post_type=tour&order_by=name&order=ASC&page=3&view=list	https://www.cocobeachexperience.com/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/?post_type=tour&order_by=name&order=ASC&page=4	https://www.cocobeachexperience.com/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/?post_type=tour&order_by=name&order=ASC&page=4&view=grid	https://www.cocobeachexperience.com/<?php echo wc_get_cart_url(); ?>
       https://www.cocobeachexperience.com/?post_type=tour&order_by=name&order=ASC&page=4&view=list	https://www.cocobeachexperience.com/<?php echo wc_get_cart_url(); ?>
       ```
   
    -  This reply was modified 7 years, 5 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This reply was modified 7 years, 5 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Plugin Contributor [James Koster](https://wordpress.org/support/users/jameskoster/)
 * (@jameskoster)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-404-38/#post-10941407)
 * Hi there,
 * That’s very odd! It looks like some php code is being inserted in to some of 
   your URLs. Unfortunately it’s tricky for us to diagnose where this is coming 
   from.
 * Are you aware of any theme customisations which might cause this? Or perhaps 
   there is an SEO or cart plugin causing the problem.
 * My recommendation would be to deactivate plugins and run the scan again as an
   attempt to isolate the cause of the issue. From there you’ll be able to investigate
   further.
 * James
    Designer @ Automattic
 *  [jessepearson](https://wordpress.org/support/users/jessepearson/)
 * (@jessepearson)
 * Automattic Happiness Engineer
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-404-38/#post-10980578)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

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

The topic ‘Error 404:’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

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

 * 4 replies
 * 4 participants
 * Last reply from: [jessepearson](https://wordpress.org/support/users/jessepearson/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/error-404-38/#post-10980578)
 * Status: resolved