Skip to content

User can directly access the theme directory #888

@ghost

Description

  • Themosis Version: dev-main
  • WordPress Version: 6.1
  • PHP Version: 8.0

Description

A user can access the directory of the active template, where a 500 error is returned.

Example:
http://domain.test/content/themes/website/index.php

How can I make it return to the main url?

Captura

Note: I use the dev-main branch as it allows me to work with laravel 8

Steps to reproduce

Enter the url of the active template

Example:
http://domain.test/content/themes/website/index.php

Expected behavior

That when you enter that url directly, you are redirected to the main url

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions