Custom homepage does not work in 1.6.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 = / -
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!
-
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 -
@yariplus Do you know how to fix this!
Your version of https://github.com/yariplus/nodebb-plugin-custom-pages is too old right?
-
@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
-
Update: [email protected] works with 1.6.1