This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

asanka28431
asanka28431

I'm trying out octombercms for a project. As shown in the screenshot https://i.stack.imgur.com/xci1w.png, I'm trying to create a static page using "Rainlab.Pages" plugin.

Content language is going to be Hebrew (which is rtl). When I try to save it shows an error "Invalid url format, url should start with / and should contain Latin chars ... ". I get same error when I try to create a cms page instead.

I understand this is because of the rtl language in the url. I'd like to know how I should approach to solve this issue.

Most of the search results I get talk about multilingual content, but for this project I just need the frontend content and parts of the urls to be in Hebrew and backend UI to be in English.

vadimku31926
vadimku31926

In case somebody gets to this page. when trying to change the url validation regex what you want to do is go to {project}/plugins/rainlab/pages/classes/Page.php:47 and just the regex to test for your slug requirements

best of luck

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.