custom pages


https://forum.kartris.com/Topic6312.aspx
Print Topic | Close Window

By Supermac - Fri 11 Dec 2015
When I create a custom page then I can even create a link to it.
Is the correct syntax for the link this "~/t-IDofmycustompage.aspx"?
If this is correct, I'm experiencing a 404 error on links made in this way: which could be the reason?
thank you
By Supermac - Fri 11 Dec 2015
Holy crap, that syntax doesn't work if general.seofriendlyurls.enabled isn't set to y!
What's the difference if I use "/Page.aspx?strPage=IDofmycustompage" in place of previous one?
By Paul - Fri 11 Dec 2015
Both links will work the same. People tend to prefer the 'friendly' ones for search engines, though these days it probably makes little if any difference. In fact, google now recommends leaving the parametrized URLs rather than rewriting them.
By Supermac - Mon 14 Dec 2015
They work the same but "/Page.aspx?strPage=IDofmycustompage" works better (it works with both settings of general.seofriendlyurls.enabled) :-)
By Paul - Mon 14 Dec 2015
The 'unfriendly' parametrized format will always work regardless of the config setting for seo friendly URLs. That setting is intended to control how Kartris creates URLs for navigation etc. within its pages.