Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Language prefix before subdomain in url

Started by rb 9 years ago · 1 replies · 792 views
9 years ago

Hi there!

Thank you for your wonderful product, I really love it.

I have a multi-site (in EN and DE) working fine. However, in some instances, the language prefix pops up before the sub-directory in which the website is installed, which causes an error.

For example, if I turn on/off a plugin I get redirected to: http://[domain.com]/de/[sub-directory]/admin/plugins instead of http://[domain.com]/[sub-directory]/de/admin/plugins.

I searched for the solution all day but did not manage to find one and, therefore, a little help would be very welcome

👍 1
9 years ago

You should set the base url in the settings and ensure that the subdir is configured correctly in your .htaccess file.

Suggested topics

Topic Participants Replies Views Activity
Support · by Marcel, 5 days ago
0 84 5 days ago
Support · by JakobDB, 6 days ago
1 90 5 days ago
Support · by ramenos, 7 days ago
3 103 6 days ago
Support · by gravinator, 2 weeks ago
3 229 7 days ago
Support · by Roger Parkinson, 2 weeks ago
3 308 2 weeks ago