Skip to content

Commit

Permalink
Update readme.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
humet authored May 10, 2024
1 parent 95d57b9 commit 8e0b9fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ License URI: https://www.gnu.org/licenses/gpl-3.0.html

Next.js On-Demand Revalidation for Wordpress on the post update, revalidate specific paths and tags on the post update.

Feel free to create a PR to [plugin Github repo](https://github.com/gdidentity/on-demand-revalidation).
Feel free to create a PR to [plugin Github repo](https://github.com/Dexerto/on-demand-revalidation).

== Installation ==

1. Search for the plugin in WordPress under "Plugins -> Add New".
2. Click the “Install Now” button, followed by "Activate".
3. Add Next.js URL and Revalidate Secret Key in the Settings -> Next.js On-Demand Revalidation
4. In your Next.js project add a new file `/pages/api/revalidate.ts` with a code snippet, you'll find [here](https://github.com/gdidentity/on-demand-revalidation).
4. In your Next.js project add a new file `/pages/api/revalidate.ts` or `/app/api/revalidate/route.ts` with a code snippet, you'll find [here](https://github.com/Dexerto/on-demand-revalidation).
5. Add `REVALIDATE_SECRET_KEY` env variable to your Next.js with Revalidate Secret Key value you added in the Plugin Settings.


Expand Down

0 comments on commit 8e0b9fc

Please sign in to comment.