Htaccess Url Redirect

Htaccess Url Redirect
We have implimented OpenID server on our site. Each user now has a [username] for the site and an OpenId address.

The OpenID address is ugly and looks like this:
www.domain.org/server/server.php/idpage?user=username

Instead, we want to allow users to use the following as their openid:
openid.consultantregistry.org/username/

The site displays a profile for each [username] at this address:
http://www.domain.com/profile.php?=username

We have modified the htaccess file to allow them to use:
to http://www.consultantregistry.org/username/

Our programmer can modify htaccess to allow one or the other but not both. We need someone to modify our htaccess file to allow redirecting of both

consultantregistry.org/username/
openid.consultantregistry.org/username/

It may be a possibility to move the openid code to a subdirectory but I would prefer to leave the files as they are since OpenID was such a chore to get working.

The awarded programmer will have access to a development site for testing prior to application on our live site.

Attached file is the current htaccess file. The OpenID code is at the end of the file.

Leave a Reply

Your email address will not be published. Required fields are marked *