Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Url Generation Issue

Started by Muut Archive 10 years ago · 2 replies · 372 views
10 years ago

Hello,
i am a real Noob in Grav (i just installed it yesterday)

i am encountering an annoying behiavour in the URL generation and i woul like to understand if it's about some wrong config of mine or another kind of issue...

I will take you some examples:

My actual domain (it's a free one) is:
http://kindsgard.pcriot.com/

i would expect the admin area will be

http://kindsgard.pcriot.com/admin

instead it is at:
http://kindsgard.pcriot.com/home/kindsgar/public_html/admin

at the same time if i create a top level page es:
http://kindsgard.pcriot.com/cronistoria
it will give me a 404 not found until i dont write
http://kindsgard.pcriot.com/home/kindsgar/public_html/cronistoria

now: kindsgar is the name of my account, and public_html is the default ftp folder in wich i put the grav files...

is it normal? how i can fix this?

TY

Pietro

10 years ago

It's not normal and is something related to the virtualhost setup on your webserver. Currently Grav calculates the host and default path information automatically. It's only ever been a problem at one host in Cz, what host are you hosting with?

10 years ago

@rhukster

I am hosting with x10hosting free plan

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1366 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1125 9 years ago