Site logo

[Support request] Can’t publish Hook

Home Forums Support [Support request] Can’t publish Hook

Home Forums Support Can’t publish Hook

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #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.

    #1654851
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?

    Let me know 🙂

    #1654895
    Mouhcine

    Hello Leo

    I have disabled all plugins and same problem…

    #1655015
    Leo
    Staff
    Customer Support

    What is the code you are trying to add?

    #1655388
    Mouhcine

    Hello,

    Check the private information.

    FYI : I have already added this code on my others websites that use Generatepress.

    #1655724
    David
    Staff
    Customer Support

    Hi there,

    are you adding the CSS inside the Hook?

    #1655896
    Mouhcine

    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.

    #1655996
    David
    Staff
    Customer Support

    Can you add the code to the Hook and save it as a Draft. So we can take a look at it.

    #1656000
    Mouhcine

    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.

    #1656195
    Ying
    Staff
    Customer Support

    Hi 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/dX4Vmy4x

    Has it been solved already? Let us know!

    #1656278
    Mouhcine

    How ? I’m realy confused it’s work only for you…

    I have recorded my problem https://imgur.com/a/K985JYi

    #1656303
    Leo
    Staff
    Customer Support

    I 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/kUH8OFHX8X

    When 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.

    #1656322
    Mouhcine

    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.

    #1656332
    Leo
    Staff
    Customer Support

    This code worked for me on my install:
    https://www.screencast.com/t/3Gs6oLsw

    And 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.

    #1656340
    Mouhcine

    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…

Viewing 15 posts - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.