Broken URL related to newsletter subscription on home page.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 6 años
Google crawled a new store I setup. On the home page there is some java script related to the newsletter subscription. The function is "newsletter_subscribe". In it there is a url parameter "/subscribenewsletter". Google is picking this up as a valid link but actually throws a 404 when followed.

Also, this throws an error in the log "A public action method 'SubscribeNewsletter' was not found on controller 'Nop.Web.Controllers.NewsletterController'.

So for now, you have to include /subscribenewsletter in the robots.txt.

Regards
Hace 6 años
What version are you running?
Hace 6 años
Latest 3.90.

Regards
Hace 6 años
Hi,

I think I have the same problem on my website www.your247chemist.com. Google is trying to crawl my site and it can't resolve the location below. So now google has marked my site as potentially hacked which shows up on the search page. This is pushing people away from site. If you right click on my website homepage and view the source code, you will see the link there. Please can anyone advise how to resolve it. I have version 3.9 of nopCommerce.

In the Log, I get the following messages:

The controller for path '/bundles/scripts/a4xddt2hdpuyrkcean2z-jcnyyknp-m_yvgepwdoor41' was not found or does not implement IController.

The controller for path '/bundles/scripts/slm3wu41m9dqsi92jniglubg-5hwe26klgzi7yuu7zq1' was not found or does not implement IController.

System.Web.HttpException (0x80004005): The controller for path '/bundles/scripts/1lgwh6hwljm3uen-icvxqp2k2agv6zqkvatiakkmaue1.js' was not found or does not implement IController.
   at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
   at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
   at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
   at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
   at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state)
   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Thank you,

Irfan
Hace 6 años
This post may be of interest
https://www.nopcommerce.com/boards/t/24875/the-controller-for-path-bundlesscripts4o7kyuezngyyoggsd0gmo3r5fnuibvt57xfaegc0e3m1js-was-not-found-or-does-not-implement-icontroller.aspx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.