.html instead of .php at autoindexing script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    .html instead of .php at autoindexing script

    I have watched many site url, as example the urls of waprocks.com

    >waprocks.com/15719-Musics.html
    >waprocks.com/15732-Ragini+MMS.html
    >wap...........+Ragini+MMS+-+06+-+Dum+Maro+Dum.html


    look the page extension .html
    It is a fully dynamic site , it should be .php

    how it possible ?

    #2
    .htaccess
    modrewrite
    ,,,,,,,,,.,.,.,.,.,.,.,
    Last edited by wapmetal; 01.06.11, 12:42.
    com site: http://vampist.net
    download site: http://wapdloads.net
    fb: http://www.facebook.com/pmplx

    Comment


      #3
      he use mod rewrite . Is still a dynamic php file , you can make the url look how you want : from index.php to index.biv
      Unamos los corazones,hoy todos somos multicolores!

      Comment


        #4
        please make clear , I am beginner.

        Comment


          #5
          Search mod_rewrite here.
          And if you are still not satisfied.
          Google will answer you.
          Did I help you?
          You can help me too
          Your donations will help me finance my studies.

          Comment


            #6
            try this in your htaccess page

            PHP Code:
            <IfModule mod_rewrite.c>

            RewriteEngine On
            RewriteBase     
            /
            RewriteRule     ^(.*)\.php$   $1.html [R=permanent
            </
            IfModule
            it will make any .php extension display as html









            Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer..
            Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free

            Comment


              #7
              @kei_ki7

              its working but the url is like this
              >MYDOMAIN.com/index.html?id=1

              But I am trying to do
              >waprocks.com/15719-Musics.html
              >waprocks.com/15732-Ragini+MMS.html

              here folder name is outputting with page extension

              Comment


                #8
                mod_rewrite: A Beginner’s Guide to URL Rewriting Article
                Easy Mod Rewrite : mod_rewrite tutorial

                Read read read ....
                Unamos los corazones,hoy todos somos multicolores!

                Comment

                Working...
                X