We are currently using OJS 3.5.0.1 hosted in a subdirectory:
https://rootspress.org/journals
Recently, we enabled clean URLs by setting:
restful_urls = On
Previously, our journal URLs were structured as:
/journals/index.php/pbiotech/article/view/XXX
After enabling RESTful URLs, they changed to:
/journals/pbiotech/article/view/XXX
Proper 301 redirects from the old index.php URLs to the new clean URLs are working correctly via .htaccess.
Current Issue
After this change, we observed the following:
-
Google Search still indexes many URLs under:
site:rootspress.org/journals/index.php/pbiotechbut shows no results under:
site:rootspress.org/journals/pbiotech -
Google Scholar has removed most articles from indexing.
-
There are no firewall, ModSecurity, CSF, or Imunify360 blocks (confirmed by hosting provider).
-
Article pages return HTTP 200.
-
Metadata tags (
citation_*) are present and valid. -
OAI endpoints are working:
/journals/index/oai /journals/pbulletin/oai -
Robots.txt does not block crawling.
-
No
noindexdirectives are present. -
PDFs are publicly accessible and not behind login.
Our Questions
We would appreciate guidance on the following:
-
Does enabling
restful_urls = Onin OJS 3.5 require any additional configuration to preserve Google Scholar indexing? -
Is there any recommended migration process when switching from
index.phpURLs to RESTful URLs to prevent Scholar deindexing? -
Does OJS automatically generate canonical tags for both URL versions, or should we manually ensure canonical consistency?
-
Could enabling RESTful URLs trigger any internal route changes affecting sitemap generation or Scholar crawling?
-
Is there an official PKP-recommended best practice for URL migration in production journals to avoid indexing loss?
Additional Technical Information
-
force_ssl = On
-
Clean 301 redirects confirmed
-
Shared hosting (Apache)
-
No changes to metadata templates
-
No change in article content or DOI structure