Just how can a customer identify if your server is applying mod_rewrite? Now we all know that some mod_rewrite rules are not so apparent. However, many are, for example "Search engine optimization Friendly Web addresses". What kinds of behavior doesn't seem possible unless of course a server is running mod_rewrite?

What kinds of behavior doesn't seem possible unless of course a server is running mod_rewrite?

The actual response is "none". Theoretically, any URL might be created by actual files or sites, such as the classical "Search engine optimization friendly" Web addresses.

There's only circumstantial evidence:

  • The very best indication will be able to think about happens when the whole site structure includes Web addresses without .htm .php .html file extensions:


    to exclude the potential of that URL as being a directory, request

    ... whatever other extensions there are .....

    if individuals demands all fail, the cool thing is the website is using mod_rewrite. If however they succeed, as @Gumbo states, it may be the MultiViews option fixing the request. In either case, this really is nowhere near safe!

  • Based on what your use situation is, you might attempt to subtract things in the Content management systems used on the website. Wordpress with mod_rewrite switched on can have another URL structure compared to it switched off. Exactly the same is true for many other CMSes. However, this is a very imperfect approach.

  • Using HTML assets with b .html codeOr.htm/.php ending would point slightly against using mod_rewrite, but you cant ever make sure.

  • Using the PATHINFO variable (also called poor man's mod_rewrite) would point somewhat strongly against using mod_rewrite:


To conclude, mod_rewrite (like the majority of URL-spinning tools) should be a module transparent towards the outdoors world. I understand of no sure-fire method to identify it from outdoors, there may be none.