(2015-01-10, 23:06:53)WerWieWas Wrote:(2015-01-09, 23:43:22)datiswous Wrote: What about using links like: http://../data/uploads/img.jpg or http://../page2 (other page at same level) or http://./page2 (subpage)?
Sorry, I do not understand this. Can you please rephrase it? Thank you.
Well I just found out you can use links with an url like:
http://../data/uploads/yourimg.jpg (this is the full url, apart from the filename)
instead of:
http://www.yoursite.com/data/uploads/yourimg.jpg
So if it was http://localhost/data/uploads/yourimg.jpg and now http://www.yoursite.com/data/uploads/yourimg.jpg it would both work with http://../data/uploads/yourimg.jpg
In the output the links have the right url.
Edit: It seams the http:// in the url isn't needed. The Ckeditor gui doesn't work propperly with it though.
Also in the source of the page you still see the ../data/uploads/yourimg.jpg , so maybe bad for seo. Also, I didn't test this with more than one browser.