![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
apostrophe-redirects
Advanced tools
This module allows admins to add redirects from one URL to another within an Apostrophe site.
This version is for Apostrophe 2.x. For Apostrophe 0.5 use the 0.x series.
Table of Contents
First make sure you have an Apostrophe project!
Then:
npm install --save apostrophe-redirects
In app.js
, add the module to your configuration:
... other modules ...
'apostrophe-redirects': { }
That's it!
While logged in as an admin, click the "Redirects" button. A list of redirects appears, initially empty. Add as many redirects as you like. The "from" URL must begin with a /
. The "to" URL may be anything and need not be on your site. The "description" field is for your own convenience.
Be aware that each redirect is live as soon as you save it and that it is possible to make a mess with redirects. In a pinch, you can remove unwanted redirects via the MongoDB command line client (see the aposRedirects
collection).
Also be aware that Apostrophe already creates "soft redirects" every time you change the slug of a page. So you shouldn't need manually created "hard redirects" in that situation.
0.6.6 Disables apostrophe-seo
and apostrophe-open-graph
for redirects to prevent superfluous UI tabs.
0.6.5: Use express middleware instead of relying on apos.pages.serve
. This lets redirects happen for files, etc.
0.6.1: the redirectSlug
should be type: 'string'
because the old site may have allowed nonsense in slugs that we do not allow. Also compare to req.url
so query string matches are allowed.
0.6.0: initial release.
0.6.6
Disables apostrophe-seo
and apostrophe-open-graph
for redirects to prevent superfluous UI tabs.
FAQs
Allows admins to create redirects within an Apostrophe site
The npm package apostrophe-redirects receives a total of 60 weekly downloads. As such, apostrophe-redirects popularity was classified as not popular.
We found that apostrophe-redirects demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.