kbutler64 Posted June 13, 2017 Posted June 13, 2017 Hi! I'm relatively new to processwire. I'm having a problem with a site where links to pages which DO exist are giving me a 404 error. I have a front page with 3 components -- three processwire pages and each of them has a child: component 1 component 1 subpage component 2 component 2 subpage component 3 component 3 subpage The three components work and produce a complete front page. However when I click on the links to subpages I get 404 errors: echo "<a href='$page->child'>subpage</a>"; What am I doing wrong? The child page link, when shown in the browser front page is: <site url/1070> The client is waiting for the site to be finished and I can't link to anything. By the way, other lnks on the site are working. Thanks!
kixe Posted June 13, 2017 Posted June 13, 2017 Try echo "<a href='{$page->child->url}'>first childpage</a>"; 3
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now