Log in

View Full Version : Problem with copying/pasting urls into wysiwyg with base href


rossco_2005
08-11-2007, 07:05 PM
On my forums I have <base href="http://mysite.com/vb3/"> between the head tags.
Some links on the forum are like this (as an example of a problematic url):

<a href="/vb3/members/rossco-42066">View Public Profile</a>Now if I was to highlight this and copy it, then paste it into the wysywig editor, then turn off wysiwyg mode to see what it inserted it would show this:

[UR L="http://mysite.com/vb3/../members/rossco-42066"]View Public Profile[/url]Which means that once that html is actually shown you end up with a link like this:
http://mysite.com/members/rossco-42066
instead of
http://mysite.com/vb3/members/rossco-42066

(because /../ = back/up a folder).



Does anyone know what's going on here?:confused:

Analogpoint
08-11-2007, 08:17 PM
Are your forums installed in http://mysite.com/vb3/ ?

rossco_2005
08-11-2007, 08:23 PM
yes

Analogpoint
08-11-2007, 08:34 PM
Just double-checking, do you have the Forums URL set to http://mysite.com/vb3 in the vB options?

rossco_2005
08-11-2007, 08:41 PM
yup.

I'm actually using <base href="$vboptions[bburl]" /> ;)