mirror of
https://github.com/WonderCMS/wondercms.git
synced 2026-08-25 10:51:22 +00:00
Page:
Login URL doesn't work 404
Pages
5 file structure
500 internal server error
Add SRI tags to your theme libraries
Add favicon
Additional security configuration(s)
All security features described
Allowed extensions file types for uploads
Always redirect to https and www
Apache2 configuration 404 page errors on Ubuntu LAMP
Backup all files
Better security mode (HTTPS and other features)
Caddy web server config
Change default login URL
Change default password
Create a plugin
Create custom page template
Create new editable areas or editable blocks
Create theme in 8 easy steps
Custom modules
Custom repositories
Default database.js
Demo
Download
Edit 404 page
Example of database.js
Get data from database
Hide page from menu
Home
IIS server config
Included libraries
List of all functions
List of common errors
List of hooks
Login URL doesn't work 404
Login
NGINX server config
One click update
One step install
Optional: functions.php file
Other errors
PHP built in server
Persistent "New WonderCMS update available" message
Recover login URL
Requirements
Reset password
Restore backup
Set data to database
Theme tags
Translations
URLs mailformed on Windows IIS
Update theme to work with WonderCMS 2.0.0
Update theme to work with WonderCMS 3.0.0
Update
[Self attack vulnerabilities] possibilities list
No results
5
Login URL doesn't work 404
Robert Isoski edited this page 2020-01-08 00:45:01 +01:00
How to fix "Sorry, page not found" when visiting login URL and some other URLs
There are 5 files when you unzip WonderCMS and one of them is a file called .htaccess (notice the dot in the name).
On some systems, files that start their name with a dot are hidden and can't be copied. To make WonderCMS work, you have two options. Either (1) enable the visibility of hidden files on your computer OR (2) manually create a .htaccess file on your server.
Fix 1: enable visibility of hidden files on your computer
- How to show hidden files on Windows 7/8/10
- How to show hidden files on macOS Sierra
- How to show hidden files on earlier macOS versions
- How to show hidden files on Ubuntu
- Once you see the .htaccess file, upload it to your hosting provider along with the other files where you want WonderCMS installed.
OR Fix 2: Manually create a .htaccess file on your server (or edit an existing one) with the content below
Options -Indexes
ServerSignature Off
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA,L]
RewriteRule database.js - [F]
RewriteRule cache.json - [F]
After applying either of these fixes, all URLs should be working properly.
Why is .htaccess necessary?
.htaccess is a server file that servers multiple purposes:
- Prevents access to database.js.
- Creates clean URLS.
- example.com/index.php?page=home becomes example.com/home
- Disables server signature.
- Disables directory and files listing.
Intro
- Home
- Demo
- Download
- One step install
- Requirements
- 5 file structure
- List of hooks
- Included libraries
- Create theme in 8 easy steps
- Create a plugin
- Custom modules
- Translations
- All security features described
Basic how to's
- Backup all files
- Change default login URL
- Change default password
- Create custom page template
- Create new editable areas or editable blocks
- Edit 404 page
- Get data from database
- Set data to database
- Hide page from menu
- Caddy web server config
- IIS server config
- NGINX server config
- Login
- Recover login URL
- Reset password
- Restore backup
- Update
- PHP built in server
Themes
- Create theme in 8 easy steps
- Add favicon
- Theme tags
- Update theme to work with WonderCMS 2.0.0
- Update theme to work with WonderCMS 3.0.0
- Share your themes with Custom modules
Plugins
- Quick intro on creating plugins and List of hooks
- Share your plugin with simply with Custom modules
Security
- All security features described
- Add SRI tags to your theme libraries
- Always redirect to https and www
- Additional security configuration(s)
- Add SRI tags to your theme libraries
- Better security mode (HTTPS and other features)
Features description
- One click update
- Optional: functions.php file
- Default database.js
- Allowed extensions file types for uploads
- Login URL doesn't work - 404
- 500 internal server error
- Persistent "New WonderCMS update available" message
- URLs mailformed on Windows IIS
- Other errors
Still need help?
- Ask a question or make a request in the community.
- Official website