Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Joomsef not working for internal URLs
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Joomsef not working for internal URLs

Joomsef not working for internal URLs 11 years, 4 months ago #39973

For me, Joomsef is working for most of the links. I have moved my website to a new host and it is showing 404 for only some links. My client actually linked using itemid only and these links are showing 404. For eg : index.php?Itemid=216 is redirecting incorrectly. It is not taking the category section. It has to be redirected to healing/main-lessons.html ,but it is redirecting to mainlessons.html only and showing 404. how can I fix this. Only URLs in the categosy healing has got this issue I think. I have .htaccess enabled and Rewritebase is correct. Also there is no changes to any other sections as I copied the complete DB and site files. This will be very helpful if anyone can help e as this is urgent,

Re: Joomsef not working for internal URLs 11 years, 4 months ago #39975

This domain is actually added as an addon domain to the new server. If I use the complete url for the domian, I mean healing.xxxxx.org/index.php?Itemid-216 everything is working fine. Need to change something somewhere But don;t know what is . Please help me,

Re: Joomsef not working for internal URLs 11 years, 4 months ago #39987

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
If this only happens when you access the link with one domain but not with the other, there may be the old redirect cached somewhere. Try clearing the caches in Joomla and JoomSEF and also clear your web browser cache.
ARTIO Support Team

Re: Joomsef not working for internal URLs 11 years, 4 months ago #39988

I have tried the caches. I think there must be something to be added with .htacees. I am adding the current file here

This is now there in the SEF part. I have added the last two lines. The issue is , when I access the URL through www.healingstreamsusa.org/index.php?Itemid=216

it is redirected to healingstreamsusa.org/main-healing-lessons.html page. But needs to be redirected to

healingstreamsusa.org/healing/main-healing-lessons.html

While, as I told I have added it as a addon domain. So when I access the site through

healingstreamsusa-org.forerunners4him.org/

everything working fine.

:(

Even though here I am added it in the name as htaccess.txt, in my server it is .htaccess. Also please note that the site is redirected to old server because of the issue and now only I changed name servers back to new host. So if it is working fine, it is the old site
Attachments:

Re: Joomsef not working for internal URLs 11 years, 4 months ago #40001

I turned on the debug mode and it displays the following quries :

SELECT `a`.`vars`, `u`.`sefurl`
FROM `jos_sefaliases` AS `a`
INNER JOIN `jos_sefurls` AS `u`
ON `u`.`id` = `a`.`url`
WHERE `a`.`alias` = 'main-healing-lessons.html'
AND `u`.`trashed` = '0'

SELECT `file`, `params`
FROM `jos_sefexts`

SELECT *
FROM `jos_sefurls`
WHERE ((`sefurl` = 'main-healing-lessons.html') OR (`sefurl` = 'main-healing-lessons.html/'))
AND (`origurl` != '')
AND (`trashed` = '0')
ORDER BY `priority`
LIMIT 1

It is selecting where `sefurl` = 'main-healing-lessons.html' where it should be `sefurl` = 'healing/main-healing-lessons.html' This is happening for only one category called healing. For all the other categories everything is working fine. Can some one have a look here ?

Re: Joomsef not working for internal URLs 11 years, 4 months ago #40023

Managed to fix this. I have added aliases for each of the link in this category. Used a php script to fetch all the links in healing category and this itemid links are added as aliases to real links . These is added to joomsef_aliases table and now everything is working fine. :)
  • Page:
  • 1
User Login Empty