View Full Version : Editing non-extension files

11-16-2009, 06:26 PM
In our site we use files that have no extension (file type) to improve our search rankings...

Files such as 'fullstory' and 'companystory'

A typical URL might be... http://oursite.com/fullstory/123487 where '123487' is the story ID to display.

Is there a way to get DW to recognize and open these files as a known 'file type', and to color the code as in our other PHP or HTML files?

I have gone to the extensions.xml file in configuration, but those are only allowing us to add 'extensions' .. but nothing for a 'generic' non-extension file.

11-17-2009, 02:21 AM
Just a question, why do you think a url like http://oursite.com/fullstory/123487 is better for SEO than one like http://oursite.com/story-title.html?

In any case the 123487 isn't helping you.

11-17-2009, 02:48 PM
pages with no extension in the URL is made with rewrite rules. They're not actually sitting on the server without an extension.

Either way, without an extension I don't think you can tell DW how to deal with it.

11-18-2009, 12:16 AM
not only will rewrite not work with dw it would not be recognised on a windows machine ASIK dont know if it would be on macs