Jump to content

nclm

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by nclm

  1. Super thanks, very helpful! I ended up creating a redirect-home.php template and put this in it: // Redirect to homepage $target = $pages->get("/")->url(); session()->redirect($target, 301); Then applied it to the service page and published the page. (the site is in a subfolder for now so I couldn’t rely on "/" alone.
  2. Hi 🙂 Is it possible to have the file upload path to be /site/assets/files/thing.png (or even something custom like /uploads/thing.png ?) instead of /site/assets/files/12345/thing.png ? Thanks!
  3. Hello 🙂 I’m new to PW, and building my first website with it and I have a small thing I wonder what would be the cleanest way to implement. On the homepage, I display a list of services, each with a link to a page detailing it. It’s just an information design choice to show them on the homepage in this version, and in another reality they could be listed on their own Services subpage. To keep things organised, I do have Services subpage, set as Unpublished and Hidden, which has all the services as children. The thing I want to do, would be to have /services to redirect to / (or /#services), while keeping all the individual services keeping their pages (/services/gardening etc.) . What would be the most relevant way to add a redirect on the hidden/unpublished Services page, pointing to the homepage? Right now it gives 404, but it should basically be 301. Ideally there would be a “Redirect to” option in Status for the page, but that doesn’t exist so I wonder what’s the way. Thanks!
×
×
  • Create New...