Problems with SH404SEF and ajax scroller
- waseemhussain
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
13 years 5 months ago #6180
by waseemhussain
Hi,
I am using sh404sef and loading articles with internal images and internal links into ajax scroller.
On page load the first set of articles show up fine with images and links working properly.
But when the articles change, the image does not load and the link is appended to the current url in the following manner:
Current page:
www.mypage/mysection/mypage.html
The link inside the joomla article is:
mysection2/mypage2.html
but when the article in ajax scroller changes this link becomes:
mysection/mysection2/mypage2.html
ie. it appends the link of the article into the existing url only removing the html-file part.
The link in the artcile is manually inserted, and whether it is written as a sefurl or a normal joomla url then the same thing happens.
If I use external url's (ie. www.google.com ) then it works fine. Same thing for external images.
The really strange thing is that this never happens on the first articles on page load. They always work fine. But it only happens when the artciles change, and only for the internal links and images.
Any clues?
I am using sh404sef and loading articles with internal images and internal links into ajax scroller.
On page load the first set of articles show up fine with images and links working properly.
But when the articles change, the image does not load and the link is appended to the current url in the following manner:
Current page:
www.mypage/mysection/mypage.html
The link inside the joomla article is:
mysection2/mypage2.html
but when the article in ajax scroller changes this link becomes:
mysection/mysection2/mypage2.html
ie. it appends the link of the article into the existing url only removing the html-file part.
The link in the artcile is manually inserted, and whether it is written as a sefurl or a normal joomla url then the same thing happens.
If I use external url's (ie. www.google.com ) then it works fine. Same thing for external images.
The really strange thing is that this never happens on the first articles on page load. They always work fine. But it only happens when the artciles change, and only for the internal links and images.
Any clues?
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
13 years 5 months ago #6182
by Saka
Emir Sakic
www.sakic.net
Try using absolute links in your articles. Also see the other reply.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.