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


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 f[font=Tahoma, Verdana, Arial, sans-serif]rom `[font=Tahoma, Verdana, Arial, sans-serif]example.com/es/software/[/font]` instead of `[font=Tahoma, Verdana, Arial, sans-serif]example.com/software/es`[/font][/font]

[font=Tahoma, Verdana, Arial, sans-serif][font=Tahoma, Verdana, Arial, sans-serif]Is this possible?[/font][/font]

(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:

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.

Theme © iAndrew 2016 - Forum software by © MyBB