Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
relative urls in images and internal links
#26
undetermined.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#27
Was this fixed or not?
Reply
#28
IMHO there's nothing to fix.
GS works like Wordpress: absolute url's for images and links.
No failproof way to have relative links.
Reply
#29
How other CMS handle this are to stick token and shit in their content to handle site urls, this is always a huge issue because it breaks constantly. I believe in no special markup in content, aside from simple things like shortcodes.

I guess one option would be to at least strip the domain off and make it site root relative, at least you can port your site over to another domain with the same structure. Which you cannot even do now, without global replacements.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#30
Meh, I don't think we should worry about it. As long as however its done right mow makes sense!
Reply
#31
@shawn_a

yeah, I mentioned the token/shortcode way in some previous post in this thread.

The "relative to root" way for easier migration from dev to production site can be done by just defining it like that in the site settings (see also previous posts) and changing it after migration. No need to change the GS core to use that type of links.

IMO it's best to keep it like it is.

Someone could develop a plugin or script that does the find/replace thing.

(there's at least one for WordPress, that also uses absolute url's)


[edit] a workaround: FixSiteURL plugin.

[edit] a script that does the search/replace thing: http://get-simple.info/forums/showthread.php?tid=5082
Reply
#32
This is being proposed in
https://github.com/GetSimpleCMS/GetSimpleCMS/issues/899
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)