Archived topic
403 error when entering license key
4 replies · Started by Santi on September 5, 2022
Hi,
My name is Santi
I am trying to install GeneratePress for the first time.
I have successfully installed the theme and also the Premium plugin, but when trying to activate the License Key, Wordpress reports an error "403 Forbidden. Your server cannot communicate with generatepress.com to activate your license key."
Please could you help me?
Thanks a lot!
Hi Santi and welcome to GP :)
this document explains the issue:
https://docs.generatepress.com/article/403-forbidden-when-activating-license-key/
Can you try the debugging steps provided
Thank you very much for your quick response.
Forgive my ignorance, but what file should I add that function to?
Hi again David,
I have just updated PHP on my server and have verified that the problem has been solved.
I'm sorry I bothered you.
Thank you very much for your time and your dedication.
All the best,
My apologies i should have said.
That code is PHP. This document explains:
https://docs.generatepress.com/article/adding-php/
TLDR: Are you using a Child Theme?
If YES, then you can the code to the Child Theme functions.php
If NO, then install the Code Snippets plugin ( link to in the doc ) and add the code to a new snippet.