Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-05-2008, 05:09 PM   #1
Michael Danielson
War Room Member
 
Essence's Avatar
 
Join Date: Aug 2008
Location: Olympia, WA
Posts: 210
Thanks: 103
Thanked 9 Times in 8 Posts
Social Networking View Member's Twitter Profile 
Default How do you end a URL with .com/ ...

...instead of a filename like index.php?

I'd really like to be able to have people type the name of my website directly, without having to add '"index.php" or whatnot to the end of it (and without having a redirect that adds "index.php" to the URL after it's been typed in, either.)

Any of the webmasters here willing to volunteer about how to do that?

Thanks!


Essence

Essence is offline   Reply With Quote
Old 11-05-2008, 05:12 PM   #2
Eschew Obfuscation
War Room Member
 
write-stuff's Avatar
 
Join Date: Aug 2008
Location: Atlanta
Posts: 623
Thanks: 12
Thanked 48 Times in 40 Posts
Default Re: How do you end a URL with .com/ ...

You could put a page on your server called either default.htm or index.html and do a META redirect to your PHP page.
- Russ
write-stuff is offline   Reply With Quote
Old 11-05-2008, 05:14 PM   #3
Puppet Master
 
Mike Bogowski's Avatar
 
Join Date: Nov 2007
Location: Sydney, Australia.
Posts: 628
Thanks: 7
Thanked 62 Times in 18 Posts
Default Re: How do you end a URL with .com/ ...

Ideally you won't need to do anything.

Most webservers are configured so that if you dont put a filename it will search for an index file and display that instead. If this isn't the case you will need to change your DirectoryIndex (in apache) to something like:

DirectoryIndex index.php index.html

You can add this in your htaccess file. Hopefully this is clear for you . If it sounds too advanced get in touch with your hosting provider.

Puppets are people too
Mike Bogowski is offline   Reply With Quote
Old 11-05-2008, 05:21 PM   #4
Michael Danielson
War Room Member
 
Essence's Avatar
 
Join Date: Aug 2008
Location: Olympia, WA
Posts: 210
Thanks: 103
Thanked 9 Times in 8 Posts
Social Networking View Member's Twitter Profile 
Default Re: How do you end a URL with .com/ ...

Thanks, write-stuff had the answer I needed!

Essence is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
com or, end, url

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 07:19 AM.