# Getting startpage as CurrentPageModel on product page

**URL:** <https://forum.litium.com/t/getting-startpage-as-currentpagemodel-on-product-page/1272>\
**Category:** Questions\
**Tags:** litium-7\
**Created:** [January 8, 2020, 2:38pm UTC](https://forum.litium.com/t/getting-startpage-as-currentpagemodel-on-product-page/1272 "2020-01-08T14:38:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [January 8, 2020, 2:43pm UTC](https://forum.litium.com/t/getting-startpage-as-currentpagemodel-on-product-page/1272/2 "2020-01-08T14:43:14Z")

</div>

Since categories and products don’t have their own pages in the CMS, current page will always be the start page for those.

You can inject the `RouteRequestInfoAccessor` and cast its `.RouteRequestInfo.Data` as `ProductPageData` to determine where you are.

Here are some older threads asking something similar:

> [@Get URL to Page/Category/Product](https://forum.litium.com/t/get-url-to-page-category-product/1006):
>
> Hi, I got a website where i want to switch language and it redirects to same page on that language. We got it setup that each language got a channel: hostname/sv hostname/en So if I am on page: hostname/en/about-us i want to redirect to: hostname/sv/om-oss. I have done this by using: requestModel.CurrentPageModel.SystemId PageService ChannelService UrlService Though when a user is on a category or product page the SystemId above will not point to that “Page”. I’m thinking i need to get…

> [@Detect if page is startpage](https://forum.litium.com/t/detect-if-page-is-startpage/294):
>
> When the headerViewModel is being build I want to detect if the startpage is loading. Any pointers on how to do that? Litium version: 7

---

_[View the full topic](https://forum.litium.com/t/getting-startpage-as-currentpagemodel-on-product-page/1272)._
