Can you change a html to .asp

5 replies
  • WEB DESIGN
  • |
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
#asp #change #html
  • Profile picture of the author TristanPerry
    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.
    Signature
    Plagiarism Guard - Protect Against Content Theft
    {{ DiscussionBoard.errors[1096029].message }}
    • Profile picture of the author beepers88
      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.


      Hi

      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?
      {{ DiscussionBoard.errors[1096099].message }}
  • Profile picture of the author TristanPerry
    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.
    Signature
    Plagiarism Guard - Protect Against Content Theft
    {{ DiscussionBoard.errors[1096291].message }}
  • Profile picture of the author entrepenerd
    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.
    {{ DiscussionBoard.errors[1096397].message }}
  • Profile picture of the author iBBnet
    .asp is for Windows hosting.

    Some linux/unix servers might support it. I don't personally recommend Windows servers
    Signature
    Bryan
    After5PC.net
    Freelance Web Development
    and Graphic Design Services
    {{ DiscussionBoard.errors[1096498].message }}

Trending Topics