Developers note: This is currently a YSAcentral internal discussion, do not implement any of these URLs.
We need to clean-up the URLs currently being used in the YSAcentral project. We are using CodeIgniter and running on Apache which allows us to use mod_rewrite for the CodeIgniter controller in the URL. We must have short, easy to remember URLs like the following;
CodeIgniter URLs Documentation
CodeIgniter Controllers Documentation
CodeIgniter URI Routing -- this might come in handy.
Current URL | New URL | Description | |
---|---|---|---|
Website Home page | http://ysacentral.com | http://ysacentral.com | |
Social Region Home | /ysa_project/index.php/regionhome | /home | |
Users Profile page | /ysa_project/index.php/profile | /profile | |
Activity Central | /ysa_project/index.php/activity | /activities | |
Activity Showcase [individual] | ? | /activity | ????? |
Activity Showcase [conference] | ? | /conference | ????? |
Activity Wizard | /admin/?user_id=460 | /create-activity | ????? edit? |
Adventure Groups Home Page | N/A | /groups | |
Adventure Group | N/A | /group/{name} | |
Change Ward | N/A | /change-ward | |
My Account | N/A | /account | |
Organizer Admin | N/A | /organizer | or /admin? |
Photo Albums | N/A | /album | or /photos ? |
Privacy Page | N/A | /privacy | or /security ? |
Notifications | N/A | /notifications | ???? Will we need this? |
Email - Inbox | N/A | or /mail/inbox | |
Email - Sent folder | N/A | /mail/sent | |
Email - Trash | |||
Region Page (not SRHP) | N/A | /region | Logged in user region home page. |
Region Page [specify region] | N/A | /region/{name} | Allowed??? |
Ward Page | N/A | /ward | Takes user to logged in users ward home page. |
Ward Page [specify ward] | /ward/{name} | ????? | |
Ward Directory | N/A | /directory | Only lists persons in the logged in users Ward. |
Region Directory | N/A | /region-directory | |
Poster Design Studio | /posters | ||
Poster Design Studio [specific poster] | /poster/edit/{id} | Do we need "edit" |
Current URLs base URL is: http://{ENV}.ysacentral.com/ysa_project/index.php/{CurrentURL}
New URLs base URL will be: http://{ENV}.ysacentral.com/{NewURL}
*** If any of these are a problem, let Spencer or Josh know and we will work out alternative solutions.