site.com/library from site.com/?mod=library

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AzeriWEB
    New Member
    • Aug 2010
    • 8

    #1

    site.com/library from site.com/?mod=library

    How I can do that!!!
    when user type site.com/library he/she acces link site.com/?mod=library
    And if possible I would like to make automatic sistem for it on registation.... .
    As I know it is virtual domain
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    You will have to do this using mod rewrite. Only if you are using apache server. If other server it may have solution.

    Please follow the link. it has what you need

    Comment

    • AzeriWEB
      New Member
      • Aug 2010
      • 8

      #3
      I will look
      Thanks...

      Comment

      • pradeepkr13
        New Member
        • Aug 2010
        • 43

        #4
        If server is apache, create a file named .htaccess and save this. Upload .htaccess file to ur home dir.


        Options +FollowSymlinks
        RewriteEngine on
        RewriteCond %{HTTP_HOST} ^olddomain\.com $ [NC]
        RewriteRule ^(.*)$ http://www.mynewdomain .com/$1 [R=301,L]

        Some simple examples here.

        Comment

        Working...