Get exclusive CAP network offers from top brands

View CAP Offers

Reply To: folder and html names

[bsa_pro_ad_space id=2]
#743346
PatrickM
Member

@alexross 132182 wrote:

i avoid extensioned files like the plague personally..

site.com/pagename/ does the job nicely (if you have an index.html or whatever in the appropriate directory) . any filename is superflous imo- and linking to directory names means less 301 jiggerypokery if you have to move from asp->php->jsp or whatever…

Spot on from Alex. Site.com/directory/ where the directory is optimized and entitled to reflect the content within AND uses keywords.

Then just use the default document to serve it up or use mod_rewrite in .htaccess to rename.

Good point about the switch from server scripts BUT my friend, you can do that very easily by adding a mime type and telling it to process it with the correct application:

e.g. application/x-httpd-php to process all .php files can also be told to process .asp. abc .xxx .anything files.