Hi Mvlcek,
I'm having troubles with the submenu (and its links) on the homepage - index.
The URLs created by the submenu look like this
However, I need them to be like this
I don't have any subpages somewhere else than on the homepage but I'm planning them, so I can't ruin the structure totally.
So far I redirected the pages with /index/ to the same URL just without the /index/ word, but it's not enought as the links in the menu still include /index/.
Is there any way to change the menu URLs (links) on the homepage without making it static on the homepage?
All I need is to remove or change the /index/ from the links in the submenu on the homepage only, nothing more.
Thank you
I'm having troubles with the submenu (and its links) on the homepage - index.
The URLs created by the submenu look like this
Code:
http://tomasjanecek.cz/index/some-subpage/
However, I need them to be like this
Code:
http://tomasjanecek.cz/home/some-subpage/
or
http://tomasjanecek.cz/some-subpage/
I don't have any subpages somewhere else than on the homepage but I'm planning them, so I can't ruin the structure totally.
So far I redirected the pages with /index/ to the same URL just without the /index/ word, but it's not enought as the links in the menu still include /index/.
Code:
RewriteRule ^index/(.+)$ $1 [R=302,QSA,L]
Is there any way to change the menu URLs (links) on the homepage without making it static on the homepage?
All I need is to remove or change the /index/ from the links in the submenu on the homepage only, nothing more.
Thank you
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple