Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Language prefix before subdomain in url

Started by rb 9 years ago · 1 replies · 581 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 Thomas, 1 week ago
2 51 8 hours ago
Support · by Anna, 2 days ago
2 58 10 hours ago
Support · by Justin Young, 11 hours ago
1 30 11 hours ago
Support · by Duc , 1 week ago
2 63 5 days ago
Support · by Colin Hume, 1 week ago
2 55 5 days ago