Can you change a html to .asp

by 5 replies
6
I have uploaded a website for a friend but originally it was an .asp website.
The one uploaded is an .html. My problem is that google has index this:

contemporarysofabed . com/index.asp (sorry about the gaps I haven't posted enough to put domain names in)

Anyway now of course for this page there is nothing there. So is it possible to change a .html page into a .asp?

thanks for your help
Beepers
#website design #asp #change #html
  • How are you uploading the website? All it takes is for you to rename the file manually from "index.html" to "index.asp" either on your PC and then re-upload, or on your host's end.

    It's just like re-naming a normal file on your computer, i.e. rename it and that's it. Done.
    • [1] reply




    • I just did that renamed index to index.asp and uploaded (removing the old index as well) but when it reloaded no page showed so have had to rename it back to just index.

      Any other help out there?
  • What are you using to upload the files?

    All this involves is renaming the "index.html" to "index.asp" (and deleting the old "index.html" file if there is one)

    Also check that your host does in-fact have ASP installed and available to you.
  • Step 1: make sure that the host supports .asp serving. You're not really using it, but it may affect how the files get served.

    Step 2: setup the "default document" setting of the webserver to make sure the index.asp is in the list. By default most webservers set index.html as the default document. IIS also sets default.html and default.asp as default documents. You'll probably need to index.asp to the list, but how to do that depends on what web server software is being used.

    NOTE: The other alternative (which is probably better) is to create a 301 redirect for your .asp pages to the .html alternatives. This will Google that the old .asp page has permanently moved to the new .html address and they will update the index accordingly. Otherwise, the new .html page is just like any other new page.
  • .asp is for Windows hosting.

    Some linux/unix servers might support it. I don't personally recommend Windows servers

Next Topics on Trending Feed