BleepingComputer.com: How Do I Stop Visitors Having To Type .html On The End Of The Url

Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How Do I Stop Visitors Having To Type .html On The End Of The Url

#1 User is offline   y4kk 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 5
  • Joined: 29-July 07

Posted 29 July 2007 - 02:38 PM

Hi,

On my website I have to type e.g. www.ddlkfdlkfsl.com/jkdj.html
I want visitors to get there by typing www.ddlkfdlkfsl.com/jkdj

any ideas?

#2 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,522
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 29 July 2007 - 03:33 PM

Sure. It's called url rewriting.
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#3 User is offline   y4kk 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 5
  • Joined: 29-July 07

Posted 31 July 2007 - 07:17 AM

View Postgroovicus, on Jul 29 2007, 09:33 PM, said:

Sure. It's called url rewriting.


Can you explain further, is it possible to do so with my hosting plan - godaddy windows economy

Thanks

#4 User is offline   groovicus 

  • Hail Groovicus!
  • PipPipPipPipPipPip
  • Find Topics
  • Group: Moderator
  • Posts: 9,522
  • Joined: 05-June 04
  • Gender:Male
  • Location:Centerville, SD

Posted 31 July 2007 - 09:29 AM

I'm sure it is possible with GoDaddy, but they will have to do it for you. I doubt they will give you administrative access to their server software.

url rewriting
"Take the risk of thinking for yourself, much more happiness, truth, beauty, and wisdom will come to you that way" - Christopher Hitchens

#5 User is offline   y4kk 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 5
  • Joined: 29-July 07

Posted 31 July 2007 - 11:41 AM

I think I'll give it a miss at the moment

I have used a subdomain

This post has been edited by y4kk: 31 July 2007 - 11:50 AM


#6 User is offline   M... 

  • Senior Member
  • PipPipPipPip
  • Find Topics
  • Group: Members
  • Posts: 359
  • Joined: 02-June 07

Posted 31 July 2007 - 12:47 PM

Hi y4kk,

Maybe one of these is what you want:

1. Change the name of the page from
www.ddlkfdlkfsl.com/jkdj.html to
www.ddlkfdlkfsl.com/index.html

Visitors would then just have to type
www.ddlkfdlkfsl.com
to get there.

2. If you really want your visitors to have to type "www.ddlkfdlkfsl.com/jkdj", then create a directory (folder) below "www.ddlkfdlkfsl.com" named "jkdj". Then you would have to move your existing "jkdj.html" file into that directory AND rename it "index.html". You may then also have to change any URLs within your page(s) to correspond to the new directory structure ("www.ddlkfdlkfsl.com/jkdj/...").

#7 User is offline   y4kk 

  • New Member
  • Pip
  • Find Topics
  • Group: Members
  • Posts: 5
  • Joined: 29-July 07

  Posted 31 July 2007 - 03:30 PM

View PostM..., on Jul 31 2007, 06:47 PM, said:

Hi y4kk,

2. If you really want your visitors to have to type "www.ddlkfdlkfsl.com/jkdj", then create a directory (folder) below "www.ddlkfdlkfsl.com" named "jkdj". Then you would have to move your existing "jkdj.html" file into that directory AND rename it "index.html". You may then also have to change any URLs within your page(s) to correspond to the new directory structure ("www.ddlkfdlkfsl.com/jkdj/...").


Yes this is what I intended to say, thanks for the instructions on how to do it. :thumbsup:

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users