Mod URL help

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

    Mod URL help

    hi please help me.
    I want url http://localhost/mod/index.php?name=...ge=12&ver=html



    is it possible? how?
    What should i write in htaccess?
    i tried
    RewriteEngine On
    RewriteRule ^([^/]*)/([^/]*)\.html$ /mod/index.php?name=$1&page=$2&ver=2 [L]

    but its aint working. Please help me.
    Thanks

    #2
    do you really need ver=html at the end as it kinda defeats the point in using mod rewrite?

    i would use:
    PHP Code:
    RewriteEngine On
    RewriteRule 
    ^([^/]*)/([^/]*)/([^/]*)$ /mod/index.php?name=$1&page=$2&ver=$[L
    for url to look like this:

    Comment


      #3
      Originally posted by something else View Post
      do you really need ver=html at the end as it kinda defeats the point in using mod rewrite?

      i would use:
      PHP Code:
      RewriteEngine On
      RewriteRule 
      ^([^/]*)/([^/]*)/([^/]*)$ /mod/index.php?name=$1&page=$2&ver=$[L
      for url to look like this:

      http://localhost/Coding-Talk/12/html
      Yes bro i need ver=html. Is there any possibilities? I saw in some sites using like that. I need to handle even multi language thorugh that type of perameter along with mod url rewrite.

      Comment


        #4
        generally how mod rewrite works, you would have /en/ on your url instead of lang=en
        C3 Themes: http://c3themes.wen.ru/index.html
        Find Files: http://mystarter.tk/?goto=X-search

        Comment

        Working...
        X