colinx Reply #1, 5 years, 5 months ago
Hi,
When using the ID in menus, I end up with my home page appended with "/home", the alias. I thought I'd be able to use site_start, but no. If I use remove the alias, I end up the page ID instead. For future proofing, it would be better that my internal links to the home page refer to the domain name only. Of course, the "/home" will leak out of the site too, making things worse. I know, I could always add redirects if it ever came to that, but it is better to just avoid it. Of course I can just use the URL in my menus instead, but thought there must be a more elegant solution.
At the moment I am building my main menus by hand, but I expect that later I will really need snippets to produce links, so a real solution is needed. I also suspect that there also maybe ranking issues if I don't use the plain domain name. I know I can use "index", but I'd rather not if I can avoid it.
Anyone?
Thanks.
When using the ID in menus, I end up with my home page appended with "/home", the alias. I thought I'd be able to use site_start, but no. If I use remove the alias, I end up the page ID instead. For future proofing, it would be better that my internal links to the home page refer to the domain name only. Of course, the "/home" will leak out of the site too, making things worse. I know, I could always add redirects if it ever came to that, but it is better to just avoid it. Of course I can just use the URL in my menus instead, but thought there must be a more elegant solution.
At the moment I am building my main menus by hand, but I expect that later I will really need snippets to produce links, so a real solution is needed. I also suspect that there also maybe ranking issues if I don't use the plain domain name. I know I can use "index", but I'd rather not if I can avoid it.Anyone?
Thanks.