GetSimple Support Forum

Full Version: fancy URL problem - startpage without name but extention
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,

I again run ashore by URLs Sad I donĀ“t grok that anyhow - or forget it ...


it should be something like:
the start-page:
domainname.de/

the secondary site of the parent start-page:
domainname.de/site.html

---

but it is on the first start-page:
domainname.de/.html
(where ist the 'index' gone, or why not skip .html?? from the options)

and one secondary site of the parent home-site is:
domainname.de/index/site.html
(what makes the 'index' here??)


---------------------------------------------------

my permalink is
%nondefaultlanguage%/%parent%/%slug%.html

---

and my .htaccess-injection is
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^/?$ de/ [R,L] # redirect to language of your choice
RewriteRule ^(de|en|fr)/(.*)$ $2?lang=$1 [QSA,DPI]
RewriteRule ^(.*);(\d+)([^\d/][^/]*)?/?$ $1$3?page=$2 [QSA,DPI] # for use with pagify plugin
#RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
RewriteRule /?([A-Za-z0-9_-]+)\.html$ index.php?id=$1 [QSA,L]
RewriteRule ^ index.php [L] # for everything else show home page

---------------------------------------------------

I'm not to familar with this rules ... why that happens??
can somebody help me - or give me a hand / has an idea, please?

Template: Cardinal, with
PHP Code:
<?php get_i18n_navigation(return_page_slug(FALSE),0,10,$show=I18N_SHOW_NORMAL); ?>


best, Bell
(2013-06-06, 00:07:14)Belletage Wrote: [ -> ]but it is on the first start-page:
domainname.de/.html
(where ist the 'index' gone, or why not skip .html?? from the options)

Fixed in I18N 3.2.2 (it is now shown as http://domainname.de/). It was already implemented, but I forgot to upload it.
But who would really want to add .html to links? It looks "old" and may cause problems with proxies.
Hi, super!
thank you very much!! the lonesome extention is gone :-)

for the wrong placed 'index'-name, I remove %parent% from the permalink.

another small kink:
when I change the browsers language (Mozilla SM), the corresponding language-sites are shown, with an inserting of the 'nondefaultlanguage' as "folder" like 'en':
domainname.de/en/about.html
but when I switch the browser back, the 'nondefaultlanguage'-"folder" doesn't vanish
and the language stays fix.

best, Bell.
(2013-06-06, 00:07:14)Belletage Wrote: [ -> ]and one secondary site of the parent home-site is:
domainname.de/index/site.html
(what makes the 'index' here??)

You probably have the site page as child of the home page. Normally the home page (index) should not have children, but there should be multiple top pages (one of which is the index page).
yes, I
> have the site page as child of the home page.
thanx! I will see, if/how to change / move ...
b.B.