I've been stupid - Now I can't login!

Hey, I’ve been an idiot and selected the option to rewrite URLs to remove the ‘index.php’ however the system wasn’t able to add the rewrite to the server config automatically and I forgot to add it before doing other things! :man_facepalming:

Is there a value I can change in some to revert back to including the ‘index.php’?

Thanks in advance

I’m using V8.5.7

Here’s the code provided when turning on pretty url’s. It’s been a while since I was in that situation. Can you force the index.php into url’s and get to the login ??

>>> For Apache <<<
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME}/index.html !-f
	RewriteCond %{REQUEST_FILENAME}/index.php !-f
	RewriteRule . index.php [L]

>>> For nginx <<<
location / {
	try_files $uri $uri/ /index.php?$query_string;

Thank you, I did try to navigate with the by editing the URL but it still tries to redirect on login and editing the URL throws an invalid token error :confused:

I’ll change the .htacces file and hope that fixes my stupidity! :joy: