PHPackages                             francescogregori/friendly\_url\_only - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. francescogregori/friendly\_url\_only

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

francescogregori/friendly\_url\_only
====================================

Displays page 404 for all nodes that do not have a path set with pathauto. Example: 'node / 1' return 404 page

017

Since Mar 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/francescogregori1995/friendly_url_only)[ Packagist](https://packagist.org/packages/francescogregori/friendly_url_only)[ RSS](/packages/francescogregori-friendly-url-only/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Friendly url only
=================

[](#friendly-url-only)

[Friendly url only](https://packagist.org/packages/francescogregori/friendly_url_only) is a module that allows you to deny access to all nodes that do not have an alias path set.

Installation
------------

[](#installation)

Use [composer](https://getcomposer.org/) to install friendly\_url\_only.

```
composer require francescogregori/friendly_url_only
```

Usage
-----

[](#usage)

Enable the friendly\_url\_only module and check that you have also activated pathauto. Now all nodes with url 'node / x' will be automatically redirected to page 404. Set alias URL with [pathauto](https://www.drupal.org/project/pathauto).

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d83710619624c259ed75b1540c874765f166cef0b42acdd1cec97e532848459c?d=identicon)[francescogregori](/maintainers/francescogregori)

---

Top Contributors

[![francescogregori1995](https://avatars.githubusercontent.com/u/71703566?v=4)](https://github.com/francescogregori1995 "francescogregori1995 (16 commits)")

### Embed Badge

![Health badge](/badges/francescogregori-friendly-url-only/health.svg)

```
[![Health](https://phpackages.com/badges/francescogregori-friendly-url-only/health.svg)](https://phpackages.com/packages/francescogregori-friendly-url-only)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
