I was just reviewing this forum post and I noticed that when you click one of the above product links the page opens fine, but if you copy the URL of one of the product links and paste it directly into your browsers navigation bar it goes to this error page:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
ForkForceShop.UserControls.ProductDetails.Page_Load(Object sender, EventArgs e) in C:\zeroseven\umbraco\trunk\Fork Force\WholeSite\usercontrols\ProductDetails.ascx.cs:41
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Could this have anything to do with the product pages not being indexed?
Because I noticed that when I copy and paste the category page URLs into the browser navigation they still seem to work...
I didn't develop the site I just add content to it so I have no idea where to find the "ProductDetails.ascx.cs" file you are referring to. Can you give me any hints. Or point me in the right direction.
Product Pages Not Being Index By Google
I recently noticed that when a did a site search on Google that none of the product pages of our site are being indexed by Google:
https://www.google.com.au/#hl=en&safe=off&tbo=d&sclient=psy-ab&q=site:forkforce.com.au&oq=site:forkforce.com.au&gs_l=hp.3...0.0.3.464402.0.0.0.0.0.0.0.0..0.0.les%3B..0.0...1c.WCFqZEq5HKo&psj=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&bvm=bv.1355272958,d.dGY&fp=670e1736f7d9bd0&bpcl=39942515&biw=1876&bih=963
Why aren't pages like these indexed:
http://www.forkforce.com.au/products/forklift-sales/reach-trucks/linde-r14--1.4-ton-electric-reach-truck---7724.aspx
http://www.forkforce.com.au/products/forklift-sales/used-forklift-sales/2000-kg---2950-kg-forklifts/nissan-p1f2a25d-2.5-ton-lpg-forklift-8062.aspx
http://www.forkforce.com.au/products/forklift-sales/enforcer-range/enforcer-mast-stacker-by-zowell-06.aspx
The category pages, sub categroeis and even search results are indexed, but not the product pages??
Is umbraco preventing them being indexed?
I was just reviewing this forum post and I noticed that when you click one of the above product links the page opens fine, but if you copy the URL of one of the product links and paste it directly into your browsers navigation bar it goes to this error page:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Could this have anything to do with the product pages not being indexed?
Because I noticed that when I copy and paste the category page URLs into the browser navigation they still seem to work...
I think something in you usercontrol ProductDetails.ascx.cs is checking for a refererer. You might want to review that code.
Cheers,
Richard
Thanks for the feedback Richard.
So how do I do that?
That is part of your implemenntation so I don't know.Maybe if you post the code behind we can have a look
I didn't develop the site I just add content to it so I have no idea where to find the "ProductDetails.ascx.cs" file you are referring to. Can you give me any hints. Or point me in the right direction.
Thanks.
Ah sorry, This usercontrol is not an Umbraco usercontrol, so you have to ask the guy who implemented this site.
Cheers,
Richard
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.