![Remove "view topic" and "view forum" phpBB3 Remove "view topic" and "view forum" phpBB3](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgqIBN6ymYXTe_QhWo9Lo2H6EXy9juESAdjJ521kbNA-kqQuWsrolOQfnT5Ul5UhxNGXopFLT7DMx-E2QNhYp8ii16n4ntEQsZJDjI2YtQ4IAlO37cF4eOA54Gcsaq9Vr6PC3RJ0ikYmQ/s1600/view-topic-forum-phpbb.jpg)
Theo cá nhân mình, đây là cách chỉnh sửa giúp tiêu đề bài viết trên diễn đàn thân thiện hơn với các bộ máy tìm kiếm.
Hướng dẫn
- Mở file viewforum.php, tìm đoạn mã bên dưới (bấm Ctrl+F để tìm nhé)
page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name'], true, $forum_id);Thay đoạn mã trên bằng đoạn mã dưới này:
page_header($forum_data['forum_name'], true, $forum_id);- Mở file viewtopic.php, tìm đoạn mã bên dưới
page_header($user->lang['VIEW_TOPIC'] . ' - ' . $topic_data['topic_title'], true, $forum_id);Thay đoạn mã trên bằng đoạn mã dưới này:
page_header($topic_data['topic_title'], true, $forum_id);- Bạn lưu 2 file này.
- Vào ACP, chọn xóa bộ nhớ đệm nữa là xong.
Chúc các bạn thành công!