×
Kunena 5.1.5 Released - Security Release (14 Oct 2018)

The Kunena team has announce the arrival of Kunena 5.1.5 [K 5.1.5] which is now available for download as a native Joomla extension for J! 3.8.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Idea How I made Kunena 5.x compatible with my old Kunena 1.x SEO backlinks

More
1 year 5 months ago - 1 year 5 months ago #1 by pintobuck
Now using: Kunena 5.0.7, Joomla 3.7.0, JoomSEF
My old backlinks were created with: Kunena 1.x, Joomla 1.0.12, sh404SEF

Objectives:
1) Use search engine friendly URLs in Joomla and Kunena, without ID numbers in the URL.
2) Do not break old backlinks.

Problems:
1) Without an SEF extension, my URLs contained undesirable Joomla article ID numbers or Kunena topic ID numbers. Therefore, I needed an SEF extension.
2) With JoomSEF (which is good and free), Kunena URLs contained section names in the URLS, which broke my old backlinks.

Solution:
1) In Joomla 3.7.0 backend / System / Global Configuration / Site / SEO Settings
Search Engine Friendly URLs = yes
Use URL Rewriting = yes
Adds Suffix to URL = yes (This made Joomla receptive to .html file suffixes, but did not create suffixes, which is good. After thought: Adds Suffix turned out not to be necessary because I modified .htaccess in Item #4, below. So Adds Suffix is optional for this purpose.)

2) In Kuena 5.0.7 backend / Confuration / General / Basic Settings / SEO Settings
Search Engine Friendly URLS = yes
Direct Component Access = No
Support Legacy URLs = Kunena 1.x

3) Use JoomSEF.
3.a) Enable Artio seo Kunena forum plugin
3.b) Joomla backend / Component / Artio JoomSEF / Manage Extension / Kunena Forum (open it) / Extension / Category Settings / Add Categories to URL = Only last one. This takes the Section Name out of Kunena URLs when JoomSEF is enabled. It made Kunena URLs compatible with my old backlilnks.

4) I had to trim .html suffixes off of incoming backlink URLs, because Kunena would not find the file. So, in the .htaccess file, I added
## Mod_rewrite in use.
RewriteEngine On
## --- begin REMOVE HTML SUFFIXES ---
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\.html$ /$1 [L,R=301]
## --- end REMOVE HTML SUFFIXES ---


Results:
1. Joomla Content articles use SEF URLs with no ID numbers
2. Joomla accepts old URLs with .html file suffixes, and Joomla does not create new .html suffixes, which is good.
3. Kunena uses SEF URLs, with only an ID number at the very end of the URL
4. Kunana URLs do not contain Section Names (that were inserted by JoomSEF). So, Kunena URLs are compatible with my old backlinks.
5. Kunena accepts URLs with .html suffixes (because my htaccess file trimed off the URL suffixes), which preserves my old, incoming backlinks.

Notes:
1) Sometimes you have to go to an article or topic on your website in order for JoomSEF to create the SEF URL the first time. You can have a crawler do this for you when your create a site map. Xenu Link Sleuth is good for this. It is free, runs on your local computer, and can be downloaded from Cnet.com.
2) I changed the name of my forum, which required URL redirects, but that is another story which I posted in Joomla.org
3) This process seems like a long way around to get the results that I needed, but this is what finally worked after a lot to trial runs. This post might help someone, and it will remind me of what I have done.
Last edit: 1 year 5 months ago by pintobuck.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.071 seconds