php / php/web-php

`include` alias fails to redirect

Open Beginner friendly
#2,021 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Status: Needs Triage
Dominant language
PHP
Stars
1.1k
Forks
640
Avg merge
22h 36m
Merged PRs (30d)
16

Description

Affected Page URL

https://www.php.net/include/

Describe the bug

Every other function redirects or is an alias to the function page:
https://www.php.net/print is an alias to https://www.php.net/manual/en/function.print.php
https://www.php.net/ltrim is an alias to https://www.php.net/manual/en/function.ltrim.php

https://www.php.net/include/ is not an alias or redirect, but instead is a list of include files for the site.

Steps to reproduce
  1. Go to https://www.php.net/include/
Expected behavior

I expected the same content as I would see on https://www.php.net/manual/en/function.include.php

Screenshots

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the site handles the /include/ URL and compare it with the existing /print and /ltrim aliases. The fix is done when https://www.php.net/include/ redirects to or shows the content from https://www.php.net/manual/en/function.include.php.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.