Can I create custom urls and how?

Hi,

This is my current urls for articles: http://xyz.com/pt/article/view/284

I want to change it in to custom urls like: http://xyz.com/pt/article/url-of-my-choice
or
http://xyz.com/pt/article/title-of-article-should-appear-here

How can I do that ?

Hi @rajesh,

What version of OJS are you using? (Please include this with your posts.)

Regards,
Alec Smecher
Public Knowledge Project Team

OJS version 3.1.1

http://www.pharmatutorjournal.com/index.php/pt/article/view/281

Waiting for your reply – I m using OJS version 3.1.1

Is this relevant?

This not relevant.

I want to change urls for all article pages. – just like “URL ALIASES”.

Hi @rajesh,

You can replace the numeric identifiers for each article with whatever you like by entering a value in the “Public URL Identifier” field, on the “Identifiers” tab of the “Metadata” pop-over (in the Editor’s workflow). Modifying the URLs beyond that will require mod_rewrite and/or some custom coding.

Regards,
Alec Smecher
Public Knowledge Project Team

Yes, This is a solution for which I was looking for.

But, urls are visited by both paths —
I mean,

  1. http://www.pharmatutorjournal.com/index.php/pt/article/view/orodispersible-liquisolid-compacts-a-novel-approach-to-enhance-solubility-and-bioavailability
    and
  2. http://www.pharmatutorjournal.com/index.php/pt/article/view/538

But, it should redirect from numerical value (no.2) to custom url (No.1)

Hi @rajesh,

Currently OJS is designed to respond to both – I can see how it might be nicer to redirect from the numeric to the custom URL, but currently the numeric ID also represents an invariant identifier that will never change.

Regards,
Alec Smecher
Public Knowledge Project Team