Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Nov 2006
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    changing/overriding URLs

    ok, i have a site in which the URLs like this =>
    http://yousite.com/user?page=member/register bother me for some reason.
    i know that it dosent really matter at all, but i would still like to change it to
    http://yoursite.com/member/register

    is there anyway i can do this without messing around with the scripts that i have?
    like through htaccess or some other kind of php script?

    so basically i want to change http://yoursite.com/user?page=member/register into http://yoursite.com/member/register

  • #2
    New Coder
    Join Date
    Jul 2005
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try this content of .htaccess file
    Code:
     Options +FollowSymlinks
     RewriteEngine on
     RewriteRule ^user?page=member/register member/register [nc]
    If you can not find a decision, maybe you have to try to change a problem

    http://www.gunman.co.nr
    http://bglinux.org


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •