For some reason the url now contains the path of the frontpage in the url.
So my view which is called frontpage and is configured in /admin/config/system/site-information as my default url is now written in the bar.

It should be:

https://www.example.com/

It now is:

https://www.example.com/frontpage

Because of this my style isn't correct now.

What can be the reason for this?

Thanks in advance
Niels

Comments

nielsvoo created an issue. See original summary.

nielsvoo’s picture

Title: frontpage path url is writing in url bar » frontpage path url is written in url bar
nielsvoo’s picture

Title: frontpage path url is written in url bar » frontpage path is written in url bar
cilefen’s picture

Priority: Major » Normal
Status: Needs work » Active
Issue tags: -frontpage, -url +Needs steps to reproduce

Please add steps to reproduce to the issue summary.

raphaeltbm’s picture

Status: Active » Closed (works as designed)

It's the current default behaviour when you define an "entity" or "view" or whatever having an internal path or an aliased URL as the frontpage. You can access it with different URL.

Example: if you define "node/8", aliased "/my-frontpage" as the frontpage, you can access "/node/8", "/my-frontpage" and "/", all the 3 displaying the same thing.

If you want to allow only 1 of those URLs to be accessible (canonical like), you should take a look to a module like "redirect" to force the redirection to a proper and unique URL. In your case, you will never have access to "/frontpage" with your browser, but be redirected to "/".