OJS mobile friendly

Google Webmaster console has confirmed that two mobile usability were issues successfully fixed with the css file – thanks a lot, @israel.cefrin:

  • Clickable elements too close together
  • Content wider than screen

Two issues remain pending:

  • Text too small to read
  • Viewport not set

To fix them, the following line should be appended to robots.txt (located at the root of the website and non-accessible from the OJS web interface):

Disallow: */citationstylelanguage/

Please note the wildcard at the beginning, to accommodate the journal name as in, for example:

http://www.seer.ufu.br/index.php/revistabrasileiracartografia/citationstylelanguage/get/harvard-cite-them-right?submissionId=44911

I’ve tried it using Google’s robots.txt Tester:

https://www.google.com/webmasters/tools/robots-testing-tool?hl=en&siteUrl=http://www.seer.ufu.br/index.php/revistabrasileiracartografia/

I’m thinking this patch could be something shipped with OJS default installation – maybe here?

Thanks all.
FGN

@fgnievinski

The robots.txt file is in your root directory of OJS.
Yes, if you have multiple journals, you can use Disallow: */citationstylelanguage/ as you indicated before.

1 Like

Hi @fgnievinski

Would you like to open a pull request to patch this in robots.txt? It could fix single or multiple journals installation.

Best,
Israel

Sure, here you go:

FGN

1 Like