Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

When registering url redirects to /register not /register.php #3

Open
GranildNilsson opened this issue Oct 24, 2019 · 4 comments
Open

Comments

@GranildNilsson
Copy link

How to fix this?

Is there any way to include all the extensions?

@augustresende
Copy link

You need to configure your nginx/apache or .htaccess to try .php file

@advocaite
Copy link

advocaite commented Oct 25, 2019

make a .htaccess file
add this inside and it will hide the .php

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]

@wandersonlt
Copy link

the error on the registration page continues even with the .htaccess already placed in the folder

@augustresende
Copy link

Just remove the forum things like https://github.com/HECommunity/HackerExperience

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants