1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

.htaccess rewriting all .php files to .html

Discussion in 'Apache' started by blueuniverse, Dec 5, 2004.

  1. computerzworld

    computerzworld Active Member

    Messages:
    214
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #21
    Hi,
    It works perfectly, Now I am having one more confusion. If user types url with .php extension in the browser it should automatically redirect the page to .html version. How can I do that? Any help would be appreciated.
    SEMrush
    Thank you.
     
    computerzworld, Apr 18, 2011 IP
    SEMrush
  2. e.chad

    e.chad Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Hey guys, im having problems changing the way my url looks, I want all of my files to look .html or without any extension at all, currently they are .php.
    I have tried quite a few different ways but nothing seem to work for me.. any help please?
     
    e.chad, Apr 20, 2011 IP