Hi,
I am making updates to a website made in Drupal 6.26. It is hosted on a local server on (server/myfolder)
There are links and images placed in the text via urls on a page. When I edit the page using CKEditor and even without making any changes to the page, /node/ is automatically added to the link and image urls, and thus the images and url don't work any more.
I tried to change it again, but everytime I save the page same thing happens.

Can anyone please suggest a solution for this?

Comments

simranjitsingh’s picture

Title: /node added in front of urls after saving » '/node' added in front of urls after saving
dczepierga’s picture

Status: Active » Postponed (maintainer needs more info)

If i understand good - slash is added after click save button?

Do u check filters in input formats settings (in Drupal)? May be try to disable all and then check does it help or not...
I think one of the filters enabled there do something like this...

Greetings

simranjitsingh’s picture

@ dczepierga:

Turning off the filters did not work. I am facing the same problem.

Also not just slash but '/node' is added in front of the url. example:

if image path is:
sites/all/images/...
and I write the path as
src="sites/all/images..."
then the CKeditor also doesnot show the image and after clicking save the '/node' is added to the front making the url
src="/node/sites/all/images..."

it works fine if I use url as:
src="/sites/all/images..."

Why not placing a slash makes extra words being added to the url ? Help Please.

dczepierga’s picture

Could u try to update your module to last DEV version?
I check this in few instance of Drupal with CKEditor module, and i cannot reproduce this.
So probably is sth in your Drupal configuration...

Greetings

simranjitsingh’s picture

Could you please let me know of any configuration that could cause such behaviour ?

dczepierga’s picture

Hmmm i think only filters in input format can transform sth like that... i don't know other way to do sth like this - so the problem must be somewhere there...
May be try to install fresh Drupal and check does sth like this happend... if not install all step by step and check - then u will find where is the problem.

Greetings