• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Custom homepage does not work in 1.6.1

Scheduled Pinned Locked Moved NodeBB Plugins
8 Posts 2 Posters 1.5k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by Jenkler
    #1

    @psychobunny Could you please fix this issue?

    It does not render the page!

    It would be better if NodeBB had custom pages and custom homepage build into the core! Feels like a core function in my eyes ๐Ÿ™‚

    Or should we use custom pages for this?

    • Make a custom page your landing page / homepage under General -> Homepage and selecting "Custom"

    Problem is the when going to / i get redirected to the custom page in the url.

    I am unable to set path
    Page Title๏ฟผ = test
    Path to Page = /

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #2

    @Jenkler I can confirm that custom-pages is working fine in v1.6.0 (not sure about v1.6.1 but nothing really changed there).

    In my case, I have the values set as such:

    0_1508355614102_f2ebcd72-3d72-4fd5-9ad2-50843c00ddd9-image.png

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by Jenkler
    #3

    Yeah that does not work!

    Check this out!

    https://dev-web.nodebb.se <-- will work if click on the logo but

    https://dev-web.nodebb.se/home <-- it will redirect to that if putting this in the url dev-web.nodebb.se

    Why does it work that way, it should always be only dev-web.nodebb.se, else SEO gets fucked up! ๐Ÿ™‚ Can you confirm this @julian

    Note: https://github.com/NodeBB/nodebb-plugin-custom-homepage worked as it should before 1.6.1. Confirmed working in 1.5.1. But better to fix custom pages plugin and deprecate custom homepage plugin!

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by
    #4

    Output from chrome. I get a 302 redirect to home

    Request URL:https://dev-web.nodebb.se/
    Request Method:GET
    Status Code:302
    Remote Address:104.27.156.66:443
    Referrer Policy:no-referrer-when-downgrade
    Response Headers
    access-control-allow-origin:null
    cf-ray:3b015e22289385e9-ARN
    content-type:text/html; charset=utf-8
    date:Thu, 19 Oct 2017 05:34:20 GMT
    location:home
    server:cloudflare-nginx
    status:302
    vary:Accept, Accept-Encoding
    x-frame-options:SAMEORIGIN
    x-powered-by:NodeBB

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by
    #5

    @yariplus Do you know how to fix this!

    Your version of https://github.com/yariplus/nodebb-plugin-custom-pages is too old right?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by julian
    #6

    Actually the custom-homepage plugin has been deprecated, but because now you are defining the home page via the ACP General -> Homepage, that's why there is a redirect. We may need to revise this...

    gh#5993

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by
    #7

    @julian Is it hard to patch custom pages to support / as a route or maybe its the nodebb cores fault ie not able to set / as custom link.

    I tried to fix this with nginx redirects without success. The bad part is that i updated my forums to 1.6.1 to fast and missed this issue completely so a quick fix / workaround would be nice ๐Ÿ˜‰

    Thanks for creating the issue ๐Ÿ™‚

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by
    #8

    Update: [email protected] works with 1.6.1 ๐Ÿ™‚

    1 Reply Last reply
    1

Copyright ยฉ 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development