Make Domain With Specific Language

Hi to all
I want define a new domain for other language
for example: for ENGLISH language for arabic language
i know that when i want load a page with above language i should send get request like that

Do you have any idea for htaccess code or rewrite code to solve my problem
share please
thanks in advanced

This is more of a server configuration question than a OJS/PKP question, but here is a broad overview:

This would probably look like testing whether the OJS session cookie already exists:

(Find the cookie name in
If it does not already exist for the request, perform a 301 redirect to setLocale URL to set the locale you want for this domain.

Note that this may cause unwanted interaction with search engine indexing, as they may or may not set the cookie and follow the redirect.

1 Like