How can i change the url into a .hlml link ?

Discussion in 'HTML & Website Design' started by eLeSlash, Apr 19, 2009.

  1. eLeSlash

    eLeSlash Active Member

    Messages:
    1,233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #21
    This is my .htaccess file :


    RewriteEngine on
    RewriteRule ^game/([0-9]+)/([_A-Za-z0-9-]+).html file.php?f=$1 [L]
    RewriteRule ^category/([0-9]+)/([_A-Za-z0-9-]+)/?$ browse.php?c=$1 [L]
    RewriteRule ^category/([0-9]+)/([_A-Za-z0-9-]+)/([0-9]+).html browse.php?c=$1&page=$3 [L]
    RewriteRule ^profile/([0-9]+)/([_A-Za-z0-9-]+).html profile.php?u=$1 [L]
    RewriteRule ^page/([0-9]+).html page.php?p=$1 [L]




    I want all my site urls to be .html at the end.
     
    eLeSlash, Apr 23, 2009 IP
  2. gummyworms

    gummyworms Active Member

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #22
    what i meant was to create a Jocuri-cu-Masini.html page empty page in notepad and past the refresh code.
     
    gummyworms, Apr 23, 2009 IP
  3. eLeSlash

    eLeSlash Active Member

    Messages:
    1,233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #23
    Ok but as i said before , i want for seo to rewrite my pages , if i do this it will not be considered black hat seo?
     
    eLeSlash, Apr 23, 2009 IP