| User | Post |
|
2:01 pm 14 Jan 2008
| Patrick
Guest
| | | |
|
| |
|
|
When I attempt to add/embed a hyperlink within a topic it keeps changing…
Here’s what’s happening. I am placing a link to my Contact Us page.
For example, what I am trying to add (not real address) is below:
http://mywebsite.com/contact/
When I save it the link then automatically changes to this:
http://mywebsite.com/forum/contact/
It keeps adding the /forum/ to the URL path which creates an invalid path!
And no, reediting the path does not fix it. Bummer.
How can I get around this issue?
|
|
|
|
|
Well this is something that I have just tried to replicate on both this live site and my local test site… without success. And certainly this has never come up before. In fact, I will embed a link to my own contact page in this post for good measure.
I would suspect, once again, that perhaps another plugin is having an effect, maybe filtering URL’s or something. Might you have something like that installed?
|
|
|
5:19 pm 14 Jan 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 558 |
|
|
This is an issue that has poked up a couple of times, unfortunately, it’s infrequent nature has made it dificult to track down.
I have speculated that the TinyMCE editor might be the culperate but have not been able to establish a solid foundation for this.
TEST LINK TO a forum topic <- this link was created by using the TiniMCE LINK button.
The following link is simply pasted in as text:
http://www.stuff.yellowswordfish.com/support-forum?forum=11&topic=836&page=1
lets see which one breaks when I save this post…
|
|
|
5:21 pm 14 Jan 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 558 |
|
|
without editing… the link added by using the TinyMCE link button produced this link
http://www.stuff.yellowswordfish.com/undefined//support-forum?forum=11&topic=836&page=1
as I suspected, the TinyMCE editor is the culpret … this issue does not arise when using the Quick Links editor…
|
|
|
5:34 pm 14 Jan 2008
| Patrick
Guest
| | | |
|
| |
|
|
I have a development site which is exactly the same as far as plugins and WP version.
The link works until I save it, then I go back to it and it inserts that #### /forum/ portion into the path thus breeaking it….
I place links in many other areas of my site, but this one is a real bugger…… Only links within the forum causes me issues!!
The only thing that is different is my dev site has "forums" as the page slug and my production site uses "forum" as its slug within the Forum Managemenrt Console. Does "forum" cause issues? If so, how can I change that without breaking all my posts?
Andy, can you think of anything else that I might need to check?
|
|
|
|
|
Good catch Radio. Of course I always use the link toolbar button…
Patrick: Try this if you are able. Open up the code file sf-control.php. Find the function sf_setup_header(). In there you will find a block that defines the TinyMCE rules. try adding the following line but… put in somewhere in the middle (on it’s own line) NOT at the start or end:
relative_urls : false,
And don’t miss of the comma at the end. Try it and let me know if that fixes your problem please.
|
|
|
5:56 pm 14 Jan 2008
| Patrick
Guest
| | | |
|
| |
|
|
I added that bit of code and it DOES seem to be working now!!
You two were a great help to me Andy and Radio!! Thank you VERY much!!
|
|
|
6:11 pm 14 Jan 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 558 |
|
|
|
6:12 pm 14 Jan 2008
| -Radio-
Moderator
| | Florida - USA | |
|
| posts 558 |
|
|
|
|
|
Patrick said:
I added that bit of code and it DOES seem to be working now!!
You two were a great help to me Andy and Radio!! Thank you VERY much!!
That’s good to hear. This code is already in V3.0 but I didn’t realise there was anoither probem to resolve.
|
|