Welcome Guest, Not a member yet? Register   Sign In
Installing Condigniter in subfolder but setting multilanguage as in root
#1

Hi,

I have a Wordpress multilanguage installation in `example.com`

When I go to `example.com/en/` I see the website in English and when I go to `example.com/es/` I see the website in Spanish.

Now I need to install Codeigniter at `example.com/software/` but I need to be able to access the English version from `example.com/en/software/` instead of `example.com/software/en` and the Spanish from `example.com/es/software/` instead of `example.com/software/es`

Is this possible?
Reply
#2

(This post was last modified: 04-19-2020, 11:09 PM by jreklund.)

Note: Sorry for adding more information on another post, but I was not able to edit my first post still waiting for moderation.

The update:

I am using this code on the .htaccess file, on the root folder, to try to do the trick:

Code:
RewriteRule ^es/software/$ /software/index.php?lang=es&%{QUERY_STRING} [L]

It almost works, because now is reading the CI installation but it shows a 404 with this message: `Controller or its method is not found: App\Controllers\Es::spinner`

Like if it is trying to find a controller on the wrong controller and method.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB