Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Visual Design > Your Design and Layout

Reply
 
LinkBack Thread Tools
Old July 15th, 2008, 10:53 PM   #1
New Member
 

Join Date: Jul 2008
Location: singapore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 reddates is on a distinguished road
creating a url without .htm or .html

the title kinda explains my problem.. anyhoe, it probably is simple but i can't seem to do it.. i use dreamweaver and every time i try to change the file name, it tells me that i have to have an extension.. i want to make the address as simple as possible. help!!
reddates is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 16th, 2008, 12:37 AM   #2
Elite Veteran
 

Join Date: Aug 2005
Location: That Place
Posts: 2,081
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Rep Altering Power: 0 moojoo will become famous soon enough moojoo will become famous soon enough
Re: creating a url without .htm or .html

What you are looking for is mod rewrite. requires an .htaccess file with the correct settings and a server capable of handling it e.g. running Apache. it has nothing to do with Dreamweaver or any other editor.

the .htaccess will look something like this:

Code:
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine On
    #RewriteBase /relative/web/path/

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]

    RewriteRule ^(.*) index.php

    RewriteCond %{HTTP:Authorization}  !^$
    RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0
alternately you could make separate directories and have an index.html, php whatever in them and kind of fake it, but its not quite the same.
__________________

moojoo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a HTML frame inside a Flash? Is this possible? toenick Your Design and Layout 1 March 30th, 2008 08:03 AM
Creating Intranet with HTML/CSS...Possible? Scotalia PHP 12 March 17th, 2008 11:50 AM
Creating HTML form that allows image attachment stanwaka HTML, XHTML and CSS 6 January 24th, 2008 06:21 AM
Creating Graphics from HTML snow HTML, XHTML and CSS 4 February 6th, 2007 04:34 AM
Help, with creating a Music Player, to be embedded into a html code website sx-nutta Flash and ActionScript 1 January 25th, 2006 01:41 AM


Search Engine Optimization by vBSEO 3.2.0 RC8