GetSimple Support Forum
Permalink and Link to local Page - URL Problem - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: Permalink and Link to local Page - URL Problem (/showthread.php?tid=3447)



Permalink and Link to local Page - URL Problem - arnal - 2012-08-17

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.


Permalink and Link to local Page - URL Problem - Connie - 2012-08-17

read here how to define the URLS:

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

there is explicit information


Permalink and Link to local Page - URL Problem - arnal - 2012-08-17

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.