Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Permalink and Link to local Page - URL Problem
#1
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.
Reply
#2
read here how to define the URLS:

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

there is explicit information
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#3
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.
Reply




Users browsing this thread: 2 Guest(s)