- This topic has 19 replies, 4 voices, and was last updated 5 years, 1 month ago by
Leo.
-
AuthorPosts
-
February 11, 2021 at 8:12 am #1654668
Mouhcine
Hello
I try to publish a Hook and when I click on “Publish” I’m redirected to 404 page.
When I try to publish any code I’m redirected to 404 page and when I try to publish only a text it’s work.
FYI : The same code work on my other website.
February 11, 2021 at 10:28 am #1654851Leo
StaffCustomer SupportHi there,
Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?
Let me know 🙂
February 11, 2021 at 11:04 am #1654895Mouhcine
Hello Leo
I have disabled all plugins and same problem…
February 11, 2021 at 1:02 pm #1655015Leo
StaffCustomer SupportWhat is the code you are trying to add?
February 12, 2021 at 12:36 am #1655388Mouhcine
Hello,
Check the private information.
FYI : I have already added this code on my others websites that use Generatepress.
February 12, 2021 at 6:42 am #1655724David
StaffCustomer SupportHi there,
are you adding the CSS inside the Hook?
February 12, 2021 at 6:49 am #1655896Mouhcine
Hi David
With or without css inside Hook that not work. I have this problem only with this website. I have already add this code on other websites and I have not this problem.
This is the first time.
February 12, 2021 at 7:56 am #1655996David
StaffCustomer SupportCan you add the code to the Hook and save it as a Draft. So we can take a look at it.
February 12, 2021 at 8:01 am #1656000Mouhcine
Hi David
Can’t save it on draft I’m redirected to 404 page.
You can take a look I have only one Hook named (Hook test) that is empty cause I can’t add anythings except text. Try to add any code and save, you will be redirected to 404 page.
February 12, 2021 at 10:44 am #1656195Ying
StaffCustomer SupportHi there,
I logged in and tried to modify the content and published it. All worked fine. See the video below:
https://www.screencast.com/t/dX4Vmy4xHas it been solved already? Let us know!
February 12, 2021 at 12:05 pm #1656278Mouhcine
How ? I’m realy confused it’s work only for you…
I have recorded my problem https://imgur.com/a/K985JYi
February 12, 2021 at 12:41 pm #1656303Leo
StaffCustomer SupportI still can’t see the exact code you are adding.
The info you left in the private info field displayed like this with only the CSS is visible:
https://www.screencast.com/t/kUH8OFHX8XWhen I add the CSS code, it worked for me as Ying demonstrated.
I just tested some simple HTML like this and it also worked:
<div class="test"> text some code </div>Please see the test here: https://www.screencast.com/t/oCijxynZ
This cannot be a GP problem as well – otherwise, it would happen to your other install and other users.
I’m going to guess it’s something to do with the code you are adding.
February 12, 2021 at 12:55 pm #1656322Mouhcine
Hello Leo
I sent in private the file with the code inside.
FYI : I have other websites with GP and it’s work well I have only problem in this website.
February 12, 2021 at 1:04 pm #1656332Leo
StaffCustomer SupportThis code worked for me on my install:
https://www.screencast.com/t/3Gs6oLswAnd since the code works for you in your other sites, then we know that it cannot be a GP issue so I’m not sure what we can do to help here.
Perhaps this specific server is blocking some part of the code?
You can try adding the code piece by piece and see if you can determine the issue this way.
February 12, 2021 at 1:20 pm #1656340Mouhcine
Hello Leo
I have tested part by part and still not work I’m always redirected to 404 page.
So I decided to install a plugin “Ads Inserter” and try to publish my code and it’s work.
To resume, the code work prefectly with Ads Insterter and dosen’t work in GP Hook…
-
AuthorPosts
- You must be logged in to reply to this topic.