URLs for Conferences

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 266
Joined: Fri Nov 18, 2005 12:48 pm
Location: Hamilton, Ontario

URLs for Conferences

Postby tshore » Mon Oct 08, 2007 12:34 pm

I have used OCS since 2003 for a couple of different conferences. Here are the URLs that I tend to use.

For the organization's main website:


And then, for each year, we use:



Of course, for this year's conference, I would like to use:


and then continue on with /2009, /2010, ...

When I installed the beta version of OCS 2, I was a bit confused about what directory I should install the application into. That is, in order for my conference URLs to continue to work in the same fashion.

I am now ready to install the real version of OCS 2 (in fact, my client, the conference organizer is MORE than ready for me to install it!) and I would appreciate any advice you can give me.

Thank you.

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: URLs for Conferences

Postby asmecher » Tue Oct 09, 2007 9:23 am

Hi tshore,

OCS 2.x uses a different URL scheme. Generally, URLs will look like:


...where [some-url-here]/ocs2 is the URL and path to your OCS installation. The later parts in the URL that look like paths ([confName] and [schedConfName]) are not actually directories -- these are passed to the OCS script. OCS can host multiple iterations of multiple conferences, which is why these are present. (In your case, [confName] would be "imrf" and [schedConfName] would be "2008".)

You have several options for maintaining your old URL scheme:
  • Install OCS directly in the 2008 directory. This is easiest, but if you later want to host another conference or year in the same installation, you'll have to move it.
  • Install OCS in some other directory (e.g. /ocs2) and use redirector scripts to send users to it from the /2008 directory. Put a script called index.php in the 2008 directory with contents like:

    Code: Select all

    <?php header('location: /ocs2/index.php/[confName]/[schedConfName]'); ?>
    (replacing, of course, [confName] and [schedConfName] with the conference and scheduled conference paths you created via the user interface of OCS.)
Alec Smecher
Public Knowledge Project Team

Return to “OCS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest