Wrong urls pointing to correct page.
-
Hi, We have a website created using some templates in ASP.NET 1.1. and pages are manages using Kentico. Earlier we have some url's having space(' ') in them we changed those space by underscore ('_') in those pages. Lets suppose initially it was "www.xyz.com/abs pqr.aspx" and we changed it to "www.xyz.com/abs_pqr.aspx". Now the problem is that it is showing same page on both the url's (with space and underscore), even search results on google shows url with old paths i.e. with Space between 2 words. So on clicking on them correct page is opening but with wrong url. Ideally it should have to show that Page not found error. So now we have same page opening for 2 url's as follows in which second one doesn't exists. "www.xyz.com/abs_pqr.aspx" (Current URL) "www.xyz.com/abs pqr.aspx" (Old/Non-existent URL) Can someone please tell me why this is happening, and what's solution for it. Regards, Parag Regards, Parag
-
Hi, We have a website created using some templates in ASP.NET 1.1. and pages are manages using Kentico. Earlier we have some url's having space(' ') in them we changed those space by underscore ('_') in those pages. Lets suppose initially it was "www.xyz.com/abs pqr.aspx" and we changed it to "www.xyz.com/abs_pqr.aspx". Now the problem is that it is showing same page on both the url's (with space and underscore), even search results on google shows url with old paths i.e. with Space between 2 words. So on clicking on them correct page is opening but with wrong url. Ideally it should have to show that Page not found error. So now we have same page opening for 2 url's as follows in which second one doesn't exists. "www.xyz.com/abs_pqr.aspx" (Current URL) "www.xyz.com/abs pqr.aspx" (Old/Non-existent URL) Can someone please tell me why this is happening, and what's solution for it. Regards, Parag Regards, Parag
Take a look at urlMappings http://msdn.microsoft.com/en-us/library/ms228302.aspx[^]
--------------- www.serverside.no
-
Take a look at urlMappings http://msdn.microsoft.com/en-us/library/ms228302.aspx[^]
--------------- www.serverside.no
Well Thanks for the response but it isn't helpful indeed. :(
-
Hi, We have a website created using some templates in ASP.NET 1.1. and pages are manages using Kentico. Earlier we have some url's having space(' ') in them we changed those space by underscore ('_') in those pages. Lets suppose initially it was "www.xyz.com/abs pqr.aspx" and we changed it to "www.xyz.com/abs_pqr.aspx". Now the problem is that it is showing same page on both the url's (with space and underscore), even search results on google shows url with old paths i.e. with Space between 2 words. So on clicking on them correct page is opening but with wrong url. Ideally it should have to show that Page not found error. So now we have same page opening for 2 url's as follows in which second one doesn't exists. "www.xyz.com/abs_pqr.aspx" (Current URL) "www.xyz.com/abs pqr.aspx" (Old/Non-existent URL) Can someone please tell me why this is happening, and what's solution for it. Regards, Parag Regards, Parag
-
Can you send URL's that are showing this behavior. secondly, i need little more information from your side. The code change of URL's was server sided or just a change in .aspx page(i.e. HTML) Regards Aman Bhullar
Hi Aman, Here are the urls. Wrong one: "http://www.nagarro.com/Technologies/Java Development.aspx" Correct One: "http://www.nagarro.com/Technologies/Java\_Development.aspx" There wasn't code change I just changed the urlname as I am using Kentico to manage this site and there we can create many pages from one template and modify content easily depending on requirement. Regards, Parag
-
Hi Aman, Here are the urls. Wrong one: "http://www.nagarro.com/Technologies/Java Development.aspx" Correct One: "http://www.nagarro.com/Technologies/Java\_Development.aspx" There wasn't code change I just changed the urlname as I am using Kentico to manage this site and there we can create many pages from one template and modify content easily depending on requirement. Regards, Parag
Hi I don't have any idea about Kentico. What my observations are as: 1. On the webserver, both the pages are residing(a_b.aspx and a b.aspx). Try deleting the pages with white spaces from the server. This will solve your problem. 2. Regarding the Pages in google, Both the pages have Meta tags. Till the Pages reside on the Hard of Server they will be displayed in Search results. Once you delete them, they will be automatically removed from Search, after a time interval. Mean time 404 error will be displayed Try the solution, if problem presist please feel free to contact
-
Hi I don't have any idea about Kentico. What my observations are as: 1. On the webserver, both the pages are residing(a_b.aspx and a b.aspx). Try deleting the pages with white spaces from the server. This will solve your problem. 2. Regarding the Pages in google, Both the pages have Meta tags. Till the Pages reside on the Hard of Server they will be displayed in Search results. Once you delete them, they will be automatically removed from Search, after a time interval. Mean time 404 error will be displayed Try the solution, if problem presist please feel free to contact
Hi, The problem is that on server we have only one page i.e. a_b.aspx and but it is showing both. The page a b.aspx have no existence. If you compare source code for both the files then you will see that both are identical except the names. Regards, Parag
-
Hi, The problem is that on server we have only one page i.e. a_b.aspx and but it is showing both. The page a b.aspx have no existence. If you compare source code for both the files then you will see that both are identical except the names. Regards, Parag
Hi parag I talked to my team member regarding the Issue. He told me that there are just two possiblites, one i have already suggested you. Another is, since you are using Kentico. I suppose you use the same tool to upload the code to server. Now on you server there is a Redirect URL from your OLD to NEW. This can be the issue. There is no third probablity. Regards Aman Bhullar