Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
971 views
in Q2A Core by

I've recently changed my site URL from (just an example) :

http://question2answer

to

http://www.question2answer.com

Everything is ok, except for the images embedded in the posts (answers and questions) : they do not display anymore.

With a view source on the page I can notice that they are referenced as :

http://question2answer//?qa=blob&qa_blobid=4896547062520444222

that is :

- using the old URL, the URL that I've disabled (that's the reason why they do not display anymore)

- using an absolute URL (it could be ok, but it's a wrong URL)

What do you think ?

Did I miss any config step  ?

Why do they have still the old URL ? Is it "stored" anywhere ? (I could not find it....)

 

ps

the avatar images are still visible.....

 

Q2A version: 1.6.2

1 Answer

0 votes
by

ops, found, sorry.

It's in the content field of the qa_posts table smiley

Do you usually have to change them "manually" when you modify the URL of your website ?

Is it correct that they are stored as absolute Url ?

by
I had the same issue with smileys ....
I have had to manually change their urls, they were saved as absolute url in the db.

I think that it's ckeditor that's using absolute urls.
I'm wondering if it would be better to save relative paths instead of absolute ones.....
...