Revert to version 41f2bca
This commit is contained in:
parent
0c8309d338
commit
fb1b8fe90c
25
.htaccess
25
.htaccess
@ -1,18 +1,11 @@
|
|||||||
DirectoryIndex index.php index.html
|
# BEGIN WordPress
|
||||||
Options -Indexes
|
<IfModule mod_rewrite.c>
|
||||||
Options -MultiViews
|
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
# 0) Serve existing files/directories as-is
|
RewriteBase /
|
||||||
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
RewriteRule ^index\.php$ - [L]
|
||||||
RewriteCond %{REQUEST_FILENAME} -d
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule ^ - [L]
|
|
||||||
|
|
||||||
# 1) Internal map: /page or /page/ -> /page.php (if such PHP file exists)
|
|
||||||
RewriteCond %{REQUEST_FILENAME}.php -f
|
|
||||||
RewriteRule ^(.+?)/?$ $1.php [L]
|
|
||||||
|
|
||||||
# 2) Optional: strip trailing slash for non-directories (keeps .php links working)
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule ^(.+)/$ $1 [R=301,L]
|
RewriteRule . /index.php [L]
|
||||||
|
</IfModule>
|
||||||
|
# END WordPress
|
||||||
|
|||||||
4
admin_credentials.txt
Normal file
4
admin_credentials.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
WordPress Admin Credentials:
|
||||||
|
URL: http://localhost/wp-admin
|
||||||
|
Username: admin
|
||||||
|
Password: qtWbo5uE2epruH8y
|
||||||
Loading…
x
Reference in New Issue
Block a user