Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
relative urls in images and internal links
#12
I found the thing I forgot to mention, after Shawn came up with calling suggest_site_path(true).
While adding images to content I was always deleting part of the url, and since I came across problems with my webhost, I had a ready to copy, modified basic.php file. Where among couple things I had a changed function suggest_site_path($parts=false) inside basic.php, which returned $path_parts in both cases.
Thus the returned link to img was always relative.

But this isn't a solution for a ready to migrate website. Now the only way is to bulk edit&replace strings in all pages xml files.

I'm terribly sorry for misleading.
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
relative urls in images and internal links - by yojoe - 2012-04-27, 06:11:24



Users browsing this thread: 3 Guest(s)