#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Forums link on main...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Forums link on main page leads to 404, is not updated

Page 1 / 2 Next
    Last Post
RSS

Redglyph
Posts: 14
 Redglyph
Topic starter
May 15, 2022 11:40 am
(@redglyph)
Active Member
Joined: 2 months ago

Hello,

I installed WordPress and wpForo and enabled it, then I configured the forums by adding a few categories.

On the main WP page is a link to the forums, when I click on it, I get a 404.

I don't have apparent issues with WordPress itself, though I haven't tried to add posts yet. Only browsed the configuration panels.

Details on the configuration:

  • It's installed on a local Linux VM with an Apache server. The URL of wordpress is "https://<IP>/wordpress" (see details down the post)
  • "Turn WordPress to wpForo" is OFF as per default (I don't want that)
  • On the dashboard, in Forums / Settings, the default link to the forum is "https://<IP>/wordpress/community", so it correctly detected the /wordpress alias, at least
    • I later tried to change it to "https://<IP>/wordpress/forum" => I see the link on the main page is not updated.
    • If I enter the URL by hand => it doesn't solve the problem, even after a hard refresh (Ctrl-F5).
    • I tried "Delete All Caches" from the dashboard / Forums / Forum Maintenance panel => no change.
  • All other settings are the default ones.

Here is an excerpt of the Apache configuration file, in case it's relevant. I need several applications and a default static option, hence the aliases.

<Directory />
    AllowOverride none
    Require all denied
</Directory>
 DocumentRoot "/usr/share/webapps/top"
<VirtualHost *:80>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*)  https://%{HTTP_HOST}%{REQUEST_URI} 
</VirtualHost>
<VirtualHost *:443>
    ...
    <Directory "/usr/share/webapps/wordpress">
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
    </Directory>
    Alias "/wordpress" "/usr/share/webapps/wordpress"
    ...
</VirtualHost>

What else I've tried:

  • both with admin login or as a visitor
  • from a local computer or from the VM with 'localhost'
  • change the permalinks to Numeric

 

Anyone has an idea of what I'm doing wrong?

wpForo Version
1.9.9.1
WordPress Version
5.9.3
PHP Version
8.1.4
MySQL version
MariaDB 10.7.3
13 Replies
Redglyph
Posts: 14
 Redglyph
Topic starter
May 15, 2022 1:33 pm
(@redglyph)
Active Member
Joined: 2 months ago

While testing different things, including the permalinks options, I got the following warning when setting it to "Plain":

IMPORTANT: wpForo can't work with default permalink, please change permalink structure

The problem is that "Plain" is the only setting currently working with WordPress. The others lead to issues when trying to see the posts. And despite the warning, it seems the only one that works with wpForo too. So I'm not sure why this warning is given?

This post was modified 2 months ago by Redglyph
Reply
1 Reply
dimalifragis
 dimalifragis
Beta Tester
(@dimalifragis)
Joined: 2 years ago

Noble Member
Posts: 1136
May 15, 2022 2:07 pm
Reply toRedglyphRedglyph

@redglyph What you try to do, doesn't work.

Default permalinks do NOT work wpForo.

If you have issues with changing that in Wordpress, this is not an issue of wpForo or Wordpress but of your installation.

Do not install plugins on a new Wordpress that is not working right. It will be impossible to track down from where an issue comes from. have a stable WP first and then continue.

Reply
Redglyph
Posts: 14
 Redglyph
Topic starter
May 15, 2022 1:40 pm
(@redglyph)
Active Member
Joined: 2 months ago

If I try to register, when I'm not logged as my WP admin, I get a 404 too. My server is local on 192.168.1.42:

https://192.168.1.42/wordpress/community?foro=signup&redirect_to=https%3A%2F%2F192.168.1.42%2Fwordpress

Reply
Redglyph
Posts: 14
 Redglyph
Topic starter
May 15, 2022 2:10 pm
(@redglyph)
Active Member
Joined: 2 months ago
Posted by: @dimalifragis

If you have issues with changing that in Wordpress, this is not an issue of wpForo or Wordpress but of your installation.

Do not install plugins on a new Wordpress that is not working right. It will be impossible to track down from where an issue comes from. have a stable WP first and then continue.

It may well be the case, though I don't see any issue with the default setting and WordPress.

My question was precisely to understand what I was doing wrong, so that's not helping much.

Reply
Redglyph
Posts: 14
 Redglyph
Topic starter
May 15, 2022 3:01 pm
(@redglyph)
Active Member
Joined: 2 months ago

I've changed the server so that it used php7 instead of the standard php (8), re-installed WordPress and wpForo from scratch, same outcome.

php7 version: 7.4.29-2

No issue whatsoever with other websites like phpAdmin, DokuWiki.

Reply
2 Replies
dimalifragis
 dimalifragis
Beta Tester
(@dimalifragis)
Joined: 2 years ago

Noble Member
Posts: 1136
May 15, 2022 3:16 pm
Reply toRedglyphRedglyph

@redglyph Ok, can you ENABLE debug to a LOG and after a while doing things, CHECK the log?

Also wpForo has a Tools / Debug option. Are all ok in there?

Reply
Redglyph
 Redglyph
(@redglyph)
Joined: 2 months ago

Active Member
Posts: 14
May 15, 2022 4:23 pm
Reply todimalifragisdimalifragis
Redglyph

@dimalifragis I think I found the culprit:

AllowOverride None

needed to be changed to:

AllowOverride All
Order allow,deny
Allow from all

or the .htaccess couldn't rewrite the URL.

I tried to enable the Apache logs to trace the rewrites but wasn't seeing anything in the error_log. That's why.

Now I can register on the forum and the errors I had in my first post seem to be solved. Maybe switching to php7 helped too, but I'm not sure.

Thanks for your help and your patience!

Reply
Page 1 / 2 Next
  All forum topics
  Previous Topic
Next Topic  

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • New Feature About Plugin Customization and Integration

    By z14165899, 5 hours ago

  • WordPress Email sending function wp_mail() doesn't work!

    By feassistant, 12 hours ago

  • Import users from IPBoard

    By jesusdlg, 1 day ago

  • Intruder signing in to wpforo without approval

    By plaurits, 1 day ago

  • How to make new user to get approve manually before creating post and profile.

    By Adhyansh21, 2 days ago

  • Posts deleted in database still show up on front-end

    By nylex, 3 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • spam33
  • editor33
  • menu33
  • shortcode32
  • forum accesses30
  • widget29
View all tags (2194)

Recent Posts

  • RE: HT Access file advice

    Guys, thank you very much for your advice that helped m...

    By Tergaros, 4 hours ago

  • RE: User banned for using icons?

    I know they are banned for outright spam and links. But...

    By Tergaros, 4 hours ago

  • About Plugin Customization and Integration

    Hello gVectors Support Team: I...

    By z14165899, 5 hours ago

  • RE: WordPress Email sending function wp_mail() doesn't work!

    @dimalifragis thanks for the enlightenment there. It...

    By feassistant, 6 hours ago

  • RE: Intruder signing in to wpforo without approval

    Maybe at Wordpress.org ?

    By dimalifragis, 15 hours ago

  • Import users from IPBoard

    Hello, Is it possible to import users from ipboard? (...

    By jesusdlg, 1 day ago

  • RE: Description for each topic?

    Why is this such a hard question to answer? You have ...

    By Christine, 1 day ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,938 Topics
50.3 K Posts
2 Online
48.4 K Members

Latest Post: HT Access file advice Our newest member: seodev436 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation