GetSimple Support Forum

Full Version: Permalink and Link to local Page - URL Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there!
I almost done with my first GS project but i have some issues.
In the settings tab i use a fancy URL and permalink :%language%/%parent%/%slug%/
The issue
When i edit some page and use Link to local page from ckeditor everything look ok, after saving and checking the link into the site URL is not correct - look something like this:
http://www.mysite.com/%language%/pagename/ with Bad request! error.



There is my ..htaccess file

RewriteRule ^/?$ index.php?id=index&lang=ru[QSA,L] # optional
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(ru|en)/(.*?/)?([A-Za-z0-9-]+)/?$ index.php?id=$3&lang=$1 [QSA,L]
RewriteRule ^(ru|en)/?$ index.php?lang=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*?/)?([A-Za-z0-9-]+)/?$ index.php?id=$2&lang=ru[QSA,L]

How to resolve this problem. I hope somebody to help me with this.
read here how to define the URLS:

http://mvlcek.bplaced.net/get-simple/i18n?lang=en

there is explicit information
I read but cant find how too deal with ckeditor & permalink.

I think the problem is the ckeditor cant recognize%language% and to turn in to language.
When i add a link and see the source into ckeditor i see www.blablabla/%language%//blabla.com.

I tried with %parent%/%slug%/ and everythink is ok, without any permalink too. Only %language% is a problem.