How to Change url Navigation address
-
Hi, I would like to know how to perform following action. In our website there is a page as "www.websitename.com/temp/default.aspx" Now in case user put "www.websitename.com/temp" or "www.websitename.com/temp/" in address bar then we would like to navigate it to our page "www.websitename.com/temp/default.aspx". I have tried url rewriting under application_beginrequest event in global.ascx but when it is not working. How can it be done? Please help... Regards, PG
-
Hi, I would like to know how to perform following action. In our website there is a page as "www.websitename.com/temp/default.aspx" Now in case user put "www.websitename.com/temp" or "www.websitename.com/temp/" in address bar then we would like to navigate it to our page "www.websitename.com/temp/default.aspx". I have tried url rewriting under application_beginrequest event in global.ascx but when it is not working. How can it be done? Please help... Regards, PG
You configure IIS to open default.aspx as the default page. Just add it to the list.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
You configure IIS to open default.aspx as the default page. Just add it to the list.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
Thanks Christian for your answer but I dont think that it will help. As we already have a default page as in www.websitename.com/default.aspx is default page.... and I am talking about creating default pages at directory level As in www.websitename.com/dir1 should navigate to www.websitename.com/dir1/default1.aspx and www.websitename.com/dir2 should navigate to www.websitename.com/dir2/default1.aspx .... Regards, Parag
-
Thanks Christian for your answer but I dont think that it will help. As we already have a default page as in www.websitename.com/default.aspx is default page.... and I am talking about creating default pages at directory level As in www.websitename.com/dir1 should navigate to www.websitename.com/dir1/default1.aspx and www.websitename.com/dir2 should navigate to www.websitename.com/dir2/default1.aspx .... Regards, Parag
OK, well, perhaps when someone makes a suggestion, you should read it. If you configure IIS correctly, it will open the default page at any level. You can put default.aspx in any folder, and it will then open if just that folder is browsed to.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
Thanks Christian for your answer but I dont think that it will help. As we already have a default page as in www.websitename.com/default.aspx is default page.... and I am talking about creating default pages at directory level As in www.websitename.com/dir1 should navigate to www.websitename.com/dir1/default1.aspx and www.websitename.com/dir2 should navigate to www.websitename.com/dir2/default1.aspx .... Regards, Parag
-
OK, well, perhaps when someone makes a suggestion, you should read it. If you configure IIS correctly, it will open the default page at any level. You can put default.aspx in any folder, and it will then open if just that folder is browsed to.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
Sorry but I am not aware of this feature. I am aware of creating only one default page that too through solution explorer in Visual Studio. I dont have any idea about how to create multiple default pages at different directory levels. (i.e. if I have 3 different folders then we should have 4 default pages one each for folder and one as home page for website) Can you please guide me over this. I am using IIS 5. Regards, Parag
-
Sorry but I am not aware of this feature. I am aware of creating only one default page that too through solution explorer in Visual Studio. I dont have any idea about how to create multiple default pages at different directory levels. (i.e. if I have 3 different folders then we should have 4 default pages one each for folder and one as home page for website) Can you please guide me over this. I am using IIS 5. Regards, Parag
You set up the default page in IIS. It will have a list of files it will open if they are there, make sure default.aspx is amongst them.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
Sorry but I am not aware of this feature. I am aware of creating only one default page that too through solution explorer in Visual Studio. I dont have any idea about how to create multiple default pages at different directory levels. (i.e. if I have 3 different folders then we should have 4 default pages one each for folder and one as home page for website) Can you please guide me over this. I am using IIS 5. Regards, Parag
here you go IIS Default Page