OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



URL rewriting?

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

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

URL rewriting?

Postby arachne » Thu Feb 22, 2007 6:52 pm

Hi - looked round the forums but couldn't see an answer to this Q:

How can you change the ways the article URLs are generated, from:

http://domain/index.php/myjournal/article/view/9/4

to what the Canadian Journal of Communication uses:

http://www.cjc-online.ca/viewarticle.ph ... ayout=html

- I have seen the posts on getting rid of the 'index.php' part, which I will be working on, but what about the rest?

cheers,
Jenea
arachne
 
Posts: 52
Joined: Sun Feb 11, 2007 3:46 pm
Location: Vancouver

Postby asmecher » Thu Feb 22, 2007 6:59 pm

Hi Jenea,

The Canadian Journal of Communications currently uses OJS 1.x, which is an entirely different (and much older) application. If you'd rather use URL parameters than the CGI path_info, try turning on disable_path_info in config.inc.php.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8589
Joined: Wed Aug 10, 2005 12:56 pm

Postby arachne » Thu Feb 22, 2007 7:31 pm

Thanks for the ridiculously quick reply! I'll give that a shot.

cheers,
j.
arachne
 
Posts: 52
Joined: Sun Feb 11, 2007 3:46 pm
Location: Vancouver

Postby arachne » Thu Feb 22, 2007 9:19 pm

Argh - unfortunately setting

Code: Select all
disable_path_info = Off

killed my painstaking and finally successful erase of 'index.php' !! (from viewtopic.php?t=741&highlight=url)

Perhaps I just need a better understanding of the base_url parameters?

I have this right now:

Code: Select all
base_url[index] = http://www.medusamedia.ca/journal/index
base_url[3sp] = http://www.medusamedia.ca/journal/3sp

- (test site) where my install is not at the root but is in /journal/

Or do the two solutions not match?

cheers,
jenea
arachne
 
Posts: 52
Joined: Sun Feb 11, 2007 3:46 pm
Location: Vancouver


Return to OJS Technical Support

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], olaf and 6 guests