Project Description:
We have a system built on Zend/MySQL, and running on Nginx server.
And we need help to rewite 2 kinds of URLs:
We have a number of companies using our system, and each company will get their own profile page.
New companies will be added continously, and old companies might be deleted.
#1:
The URL to a profile looks like this - where the ID number identifies the company:
http://www.domain.com/user/details/id/244
We want to change this URL to:
http://www.domain.com/Company-Name
#2:
Each company also have a second page where the URL looks like this:
http://www.domain.com/offsite/login-or-register/spid/244
We want to change this URL to:
http://company-name.domain.com (if this is possible)
If not, we want to change it so something like this:
ttp://www.domain.com/company/Company-Name
If you bid on this, please provide the following information:
- How would you do this
- How much time will it take
- What is your thoughts around #2, is it possible to use subdomain or is it better to use the other option?
Additional Project Description:
12/03/2012 at 15:01 GMT
Sorry, but we can see we're missing important information regarding #2.
For those of you who have already made a bid, please cancel or modify it if these changes makes a big change to the work that needs to be done.
It is regarding #2 of the project.
As described, we have the URL:
http://www.domain.com/offsite/login-or-register/spid/244
Basically, http://www.domain.com/offsite/ is a kind of a homepage for all of the companies in our system, and each company have around 14-15 pages here.
So login-or-register is just one of them.
A few other examples are :
http://www.domain.com/offsite/register-customer/spid/244
http://www.domain.com/offsite/profile/spid/244
http://www.domain.com/offsite/services/spid/244
Offsite is the controller/folder.
The spid number is the ID for each company.
So the new URLs should be:
http://www.domain.com/offsite/register-customer/spid/244
this will be:
http://company-name.domain.com/
http://www.domain.com/offsite/profile/spid/244
will be:
http://company-name.domain.com/profile/
http://www.domain.com/offsite/services/spid/244
will be
http://company-name.domain.com/services/
The changes are similar for all 14-15 pages.
I'm not sure if this will only require one change for the controller offsite, or if a job must be done for each page.