logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 05-28-2012, 02:34 PM   #1
moviemastersdk
 
Join Date: Dec 2011
Posts: 33
Default Okay, ehm... No domain extensions?

I have no idea on how to put this up.
But..

I want this, no matter what page on my website I am on
Mountaincraft.dnsd.me
And not this
Mountaincraft.dnsd.me/map.php

How ???
moviemastersdk is offline   Reply With Quote
Old 05-28-2012, 10:59 PM   #2
johnMoss
johnMoss's Avatar
 
Join Date: Dec 2010
Location: Dallas
Posts: 869
Default

Gotta ask why you would want to do this? Regardless of your intent, it sures sounds like a good way to get your site buried for spamming...
__________________
LinkedIn: jM
johnMoss is offline   Reply With Quote
Old 05-29-2012, 08:34 AM   #3
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

You can remove a file extension but its pointless trying to remove the file reference its self.

If you are using Apache webserver you could do this in your .htaccess file...

To turn...
into...
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php-f
RewriteRule ^(.*)$ $1.html

The other option is to pull the entire site through an IFRAME which would do what you wanted but I would advise against it. its not very SEO friendly as well as many other reasons not to do it.
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 09:56 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.