Using the forum on the home page
Quote from nelamzin on December 8, 2018, 6:48 pmВозникла небольшая проблема при использовании форума в качестве главной страницы сайта.
При нажатии на вкладку «форум» в меню форума, открывается страница с добавлением URL «форум». Оказывается, главная страница дублируется вкладкой меню.
Убедитесь сами, как главная страница со ссылкой в меню форума дублирует главную страницу (созданы две основные страницы форума).
Можно ли как-то исправить дубликаты? Спасибо заранее за вашу поддержку!
Возникла небольшая проблема при использовании форума в качестве главной страницы сайта.
При нажатии на вкладку «форум» в меню форума, открывается страница с добавлением URL «форум». Оказывается, главная страница дублируется вкладкой меню.
Убедитесь сами, как главная страница со ссылкой в меню форума дублирует главную страницу (созданы две основные страницы форума).
Можно ли как-то исправить дубликаты? Спасибо заранее за вашу поддержку!
Quote from Asgaros on December 9, 2018, 8:18 pmHello @nelamzin
Actually the pages are not duplicated. Both pages are internally the same, just the slug got removed on the homepage.
The reason why I redirect to the “real” page instead is to avoid possible problems which can occur when you use other pages. Think about the following example:
- The forum is located at your frontpage
- You are using another plugin for frontend-profile-management which is available on your-site.com/profile
- Without locating to the real forum-page either your forum-profiles or your frontend-profile-management page would not accessible anymore because it would be impossible for WordPress to decide which page you actually want to access
- The same can happen with every other combination of identical page-slugs and reserved forum-keywords
To prevent those problems – which occur in other forum-plugins like wpForo for example – a redirect is necessary. If you want to get rid of duplicate search-engine-indexing you can define a .htaccess-rule which redirects frontpage-visitors automatically to your forum-page.
Hello @nelamzin
Actually the pages are not duplicated. Both pages are internally the same, just the slug got removed on the homepage.
The reason why I redirect to the “real” page instead is to avoid possible problems which can occur when you use other pages. Think about the following example:
- The forum is located at your frontpage
- You are using another plugin for frontend-profile-management which is available on your-site.com/profile
- Without locating to the real forum-page either your forum-profiles or your frontend-profile-management page would not accessible anymore because it would be impossible for WordPress to decide which page you actually want to access
- The same can happen with every other combination of identical page-slugs and reserved forum-keywords
To prevent those problems – which occur in other forum-plugins like wpForo for example – a redirect is necessary. If you want to get rid of duplicate search-engine-indexing you can define a .htaccess-rule which redirects frontpage-visitors automatically to your forum-page.