Learn about Centmin Mod LEMP Stack today
Become a Member

Xenforo 404 pages do not display XenForo error pages, instead just showing the nginx error

Discussion in 'Forum software usage' started by rdan, Jun 3, 2014.

  1. Derek

    Derek Member

    43
    9
    8
    Aug 5, 2016
    Ratings:
    +21
    Local Time:
    12:39 PM
    That's certainly motivation to better understand the change you made! I'm glad I posted my summary above because I recently moved my server and needed to make the same changes again.

    Roldan, can you give a bit more information on what you've changed?
     
  2. rdan

    rdan Premium Member Premium Member

    4,289
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    12:39 AM
    Mainline
    10.2
    Only improve how 404 pages should look like.
    I pointed all 404 request to xenforo generated page.
     
  3. Jon Snow

    Jon Snow Active Member

    376
    60
    28
    Jun 30, 2017
    Ratings:
    +90
    Local Time:
    1:39 PM
    Nginx 1.13.9
    MariaDB 10.1.31
    Traffic stats increasing should be normal I guess since it goes to one of your XF pages with your traffic script.
     
  4. eva2000

    eva2000 Administrator Staff Member

    36,322
    7,979
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,287
    Local Time:
    2:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Nice about SEO but ads like Google Adsense prohibit ads on pages without useful content IIRC?
     
  5. rdan

    rdan Premium Member Premium Member

    4,289
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    12:39 AM
    Mainline
    10.2
    I never display ads on those pages.
     
  6. rdan

    rdan Premium Member Premium Member

    4,289
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    12:39 AM
    Mainline
    10.2
  7. eva2000

    eva2000 Administrator Staff Member

    36,322
    7,979
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,287
    Local Time:
    2:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Yeah it's only setup for non-XF pages :)
     
    • Informative Informative x 1
  8. rdan

    rdan Premium Member Premium Member

    4,289
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    12:39 AM
    Mainline
    10.2
    It's missing now, no idea why :{.
     
  9. eva2000

    eva2000 Administrator Staff Member

    36,322
    7,979
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,287
    Local Time:
    2:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah IIRC google stopped that feature :(
     
    • Informative Informative x 1
  10. rdan

    rdan Premium Member Premium Member

    4,289
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    12:39 AM
    Mainline
    10.2
  11. eva2000

    eva2000 Administrator Staff Member

    36,322
    7,979
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,287
    Local Time:
    2:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah error_page 404 /404.html; in nginx vhost itself :)
     
  12. rdan

    rdan Premium Member Premium Member

    4,289
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    12:39 AM
    Mainline
    10.2
    On what specific location? :D
    Some 404 page are serve by xenforo.
     
  13. eva2000

    eva2000 Administrator Staff Member

    36,322
    7,979
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,287
    Local Time:
    2:39 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    outside of web root / location so within server{} context.
     
    • Informative Informative x 1
  14. rdan

    rdan Premium Member Premium Member

    4,289
    1,040
    113
    May 25, 2014
    Ratings:
    +1,497
    Local Time:
    12:39 AM
    Mainline
    10.2
    Got it Thanks!
     
..