(2013-04-11, 17:55:13)Carlos Wrote: Can you post some examples of links to posts from the main news page? With and without fancy urls please.OK
(Remove the domain from the links, I just want to see the structure)
With this .htaccess
Code:
# News Manager:
RewriteRule ^clanky/tag/([^/.]+)/?$ index.php?id=clanky&tag=$1 [L]
RewriteRule ^clanky/post/([^/.]+)/?$ index.php?id=clanky&post=$1 [L]
RewriteRule ^clanky/page/([^/.]+)/?$ index.php?id=clanky&page=$1 [L]
RewriteRule ^clanky/archive/([^/.]+)/?$ index.php?id=clanky&archive=$1 [L]
# end News Manager
# # To make the site work with no custom permalink structure
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
With all fancies on and custom URLs off...
... the link to the main news page looks like this
Code:
http://mydomain.cz/clanky/
translated for better comprehension as
http://mydomain.cz/news/
...and the posts themselves like this
Code:
http://mydomain.cz/clanky/post/clanek-10
and translated for your better comprehension as
http://mydomain.cz/news/post/article-10
With the same .htaccess, GS fancies off and again no permalink structure...
... the link to the main news page looks the same as in the previous case and the posts themselves look like this
Code:
http://mydomain.cz/clanky/?post=clanek-10
which can be translated as
http://mydomain.cz/news/?post=article-10
... without the .htaccess above but without the News Manager settings it's the same as in the previous case.
All tested with CZ lang setting, however, without the custom permalink structure the links are the same.
Do you need some more? I can try and show you also them in both languages after my English seminar lesson
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple