|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
I was just wondering, how do some websites that use databases and such have all pages that have .html extensions?
For example: http://www.tagged.com/
__________________
www.xoise.com - www.ourfreegames.com - www.playtouchgames.com - www.randomtools.net - www.xenocide-rpg.com |
|
#2
|
||||
|
||||
|
It's all about the money! ;)
Quote:
What, you mean like these forums too? Check out the current url: http://forums.aspfree.com/t85877/s.html That's the same thing as: http://forums.aspfree.com/showthread.php?t=85877 Clever, eh? It's done like that to make urls more search enginefriendly [for SEO purposes], usings Apache's mod_rewrite engine. http://www.devarticles.com/c/a/Web-...ngine-Friendly/ http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html HTH, --Jon.
__________________
Support requests via PM will be ignored! |
|
#3
|
|||
|
|||
|
Yep, web spiders tend to not like `?` in the URLs that they pick up. The reason, I think, has something to do with the spider using too much bandwidth or too many links to the same page.
|
|
#4
|
||||
|
||||
|
that's weird, their form's action also points to html. probably they
configured their server to execute html files as ASP files, it's possible via the Internet Services Manager. |
|
#5
|
||||
|
||||
|
Quote:
I doubt it, that's a pretty strange thing to do - processing HTML through as ASP, the server overhead would be tremendous. I'd guess it's just using the mod_rewrite to mask the tech behind the site [php/python/perl/whatever]... You never know though, you might be right, and they might be processing HTML as ASP, but it's a very odd thing to do... ![]() --Jon. |
|
#6
|
||||
|
||||
|
is there mod_rewrite for IIS too? if not, you can check
the server used to run the website and know for sure... |
|
#7
|
||||
|
||||
|
Quote:
Nothing built in, apparently. Although you can get third party software at a price... |
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
Nah, check the src code: Code:
//only called once - when the page is loaded
function initAlerts() {
// BEGIN REGION - auto generated by PHP/Smarty
var cdArray = new Array();
var chatArray = new Array();
var numInvites = 0;
var numMessages = 0;
var hasProps = false;
var hasTags = false;
// END REGION - auto generated by PHP/Smarty
displayAlerts(numInvites, numMessages, hasProps, hasTags, cdArray,
chatArray);
setInterval('refreshAlerts()', 80000);
}
|
|
#10
|
||||
|
||||
|
what's that Smarty??
|
|
#11
|
||||
|
||||
|
It's just a templating engine
|