Recently Browsing 0 members
No registered users viewing this page.
hopefully this is the right place to ask and is not a duplicate question.
I'm pretty new to processwire, so... if this question is kind of funny for some of you, you're welcome 😄
I have the following issue and can't find anything understandable about it. Maybe I'm searching the wrong way, but anyways.. here is my question:
How is it possible to rewrite the URLs, that I'll get a *.php ending?
https://www.mysite.de/urlsegment/ -> https://www.mysite.de/urlsegment.php
https://www.mysite.de/urlsegment/urlsegment/ -> https://www.mysite.de/urlsegment/urlsegment.php
Because I've read a lot about "Why do you wanna do this or have that?" – here my answer for that in advance:
I've built a processwire installation inside or around an existing website. Therefore, we want to keep the existing *.php Google entries. Sure, we could redirect via 301 Redirect, but would prefer to keep the *.php ending.
If you have further questions, please do not hesitate to ask.
Thank you in advance for your help.
How can I make a redirect inside the .htaccess to my custom maintenance.html file when any URL of my Website is accessed except the processwire admin (www.example.com/processwire/).
Because I want that my User's still can access the website when they are loggedin in Processwire.
When the current url starts with /processwire or if there is a processwire-login-cookie (Is there a cookie when user is logged in Processwire?) available the redirect should not work. Otherwise it should work.
How can I achieve this?
a few weeks ago I completed a 3.098 installation (server php 7.2). Yesterday I wanted to login but failed. I tried different browsers, meanwhile on two different PCs, but no login.
Then I realized, that after hitting the »Login« button, there was no message (admin name – Login failed). I also tried all procedures (https://processwire-recipes.com/recipes/resetting-admin-password-via-api/). Then I checked the errors.txt (site/assets/logs) – nothing.
The frontend works fine. Is there a way to check this Processwire installation? Could be something missing?
Reference: PW 3.0.111 and uikit3 based site using the Regular-Master profile.
I'm trying to automatically redirect a logged-in user to a custom profile page using $session->redirect() and need to add $user->name to the redirect path.
All my attempts appear to have failed:
$session->redirect('/user-profile/')->name; $session->redirect('/user-profile/')->$user->name; $session->redirect('/user-profile/' . get($user->name . '/')); $session->redirect('/user-profile/' & get($user->name)); Can anyone point out where I am going wrong?