Jump to content

postcom

Members
  • Posts

    2
  • Joined

  • Last visited

postcom's Achievements

Newbie

Newbie (2/6)

0

Reputation

  1. Thank @tires, changing the .htaccess did it for me. But turns out my overview on the issue was limited. My client actually set the folder i thought to be public-html as a subfolder. So basically the processwire is installed here: public-html/2022/ and public-html has this .htaccess: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www\.)?domain\.com$ [NC] RewriteRule !^2022/ /2022%{REQUEST_URI} [L,NC] What happens when I visit domain.com is that I get a 404 error from proceswire (the template is loaded, but on a 404 error page instead of home). Our goal is for the end user to visit domain.com and be redirected to domain.com/2022/ without the "2022" showing in the url. Thanks again and sorry for going a bit off-topic
  2. I just moved the whole Processwire installation from the dev folder to the production folder and everything works well except for the top link in the admin (Page, Setups, Modules, Access). Those still points to the old folder. More precisely: the previous locaiton of the install was domain.com/pw/ not it is domain.com/, but the links point to domain.com/pw/processwire/page instead of domain.com/pw/page. I read some previous posts with the same issue, but non of the fixes really helped. Thank you for your support!
×
×
  • Create New...