How to name a URL
-
I want to name my website as www.abc.edu.pk/xyz But i was told that it can only be named as www.abc.edu.pk/xyz.html How can i name it the first way?
-
I want to name my website as www.abc.edu.pk/xyz But i was told that it can only be named as www.abc.edu.pk/xyz.html How can i name it the first way?
if you are using apache look up mod rewrite redirect all requests to a base page and build your pages from there abc.com/car/toyota/2 you would split the string type = car make = toyota page = 2 and use those values to build your page ***************************************************** if you are using static html pages you can do it crudely you could use a folder for each page and put an index.html inside it eg the file cars.html could be stored as /cars/index.html when abc.com/cars is requseted it will show /cars/index.html with a clean URL
-
I want to name my website as www.abc.edu.pk/xyz But i was told that it can only be named as www.abc.edu.pk/xyz.html How can i name it the first way?
-
I want to name my website as www.abc.edu.pk/xyz But i was told that it can only be named as www.abc.edu.pk/xyz.html How can i name it the first way?
I thought I might also add if you directory index is "index.html" (i.e when you type www.yourdomain.com you end up looking at http://www.yourdomain.com/index.html) then you can also achieve the same thing with sub folders. eg: www.yourdomain.com/yourfolder www.yourdomain.com/yourfolder/index.html should be the same location. On IIS I believe the default directory index is default.html instead of index.html
-
I want to name my website as www.abc.edu.pk/xyz But i was told that it can only be named as www.abc.edu.pk/xyz.html How can i name it the first way?
MVC applications does so using URL rewriting. Hope that approach is good for you. :thumbsup:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.