# 'Add Link" Creates URL With /(null)/(null)

**URL:** <https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633>\
**Category:** RapidWeaver Classic\
**Created:** [September 17, 2015, 8:20pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633 "2015-09-17T20:20:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![evatar](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@evatar](https://forums.realmacsoftware.com/u/evatar)\
**Post date:** [September 17, 2015, 8:20pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/1 "2015-09-17T20:20:23Z")

</div>

I can’t figure out what I’m doing wrong here: I’m selecting some text, clicking the ‘Add Link’ and select URL from the popup (‘Page’ doesn’t work either) and paste in the URL for the link. I close, I save, I publish… and when I go online I keep getting the links going 404 and now point to [http://www.xxxxxx.com/(null)/(null)](http://www.xxxxxx.com/(null)/(null)) instead of, for example, [http://www.xxxxxx.com/blog](http://www.xxxxxx.com/blog)

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [September 17, 2015, 8:35pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/2 "2015-09-17T20:35:00Z")

</div>

Michael,

A couple of things to try:

First, when you say:

> (‘Page’ doesn’t work either)

could that indicate something else may be wrong? Is it not appearing in your version of _RW_?

The Page option is to select a page from within your site, internal to your project; a link referenced relative to your own site, internal.

If you view the source of the page, what do the links look like there?

---

<div class="post-metadata">

**Author:** ![evatar](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@evatar](https://forums.realmacsoftware.com/u/evatar)\
**Post date:** [September 17, 2015, 8:51pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/3 "2015-09-17T20:51:52Z")

</div>

When you click on the Add Link button at the bottom a popup gives you the option of URL, Page, and Resource. Originally I selected ‘Page’ but I got the 404 error. Then I tried ‘URL’ this morning and get the same result.

I don’t know if this is what you mean, but in the page source I see this:

href="(null)/(null)" rel=“self” title=“Crew” class=“button”\>Our Awesome Crew

---

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [September 17, 2015, 9:09pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/4 "2015-09-17T21:09:04Z")

</div>

Yes, that’s what I mean; thanks.

So you’re seing:

> href=“(null)/(null)”

even though you’re putting:

> \*\*[http://www](http://www).\*\*[yoursite.com/directory/blog](http://yoursite.com/directory/blog)

or similar, into the URL box?

And you’re seeing that inside _RapidWeaver 6_’s own View Source window?

---

<div class="post-metadata">

**Author:** ![evatar](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@evatar](https://forums.realmacsoftware.com/u/evatar)\
**Post date:** [September 17, 2015, 9:25pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/5 "2015-09-17T21:25:05Z")

</div>

Ah, no, I got that from the browser. Inside RapidWeaver 6 I see:

```
<a href="http://www.yoursite.com/blog/">Blog</a>
```

---

<div class="post-metadata">

**Author:** ![weaver](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/weaver/32/33079_2.png) [@weaver](https://forums.realmacsoftware.com/u/weaver)\
**Post date:** [September 17, 2015, 11:19pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/6 "2015-09-17T23:19:00Z")

</div>

Hi Michael,

Can you give us a URL to take a look? Does your Theme have a file named javascript.js?

---

<div class="post-metadata">

**Author:** ![evatar](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@evatar](https://forums.realmacsoftware.com/u/evatar)\
**Post date:** [September 17, 2015, 11:43pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/7 "2015-09-17T23:43:26Z")

</div>

Is there any way to send it to you without posting it publicly?

---

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [September 18, 2015, 12:34am UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/8 "2015-09-18T00:34:33Z")

</div>

Are there any ‘special’ characters in the URL?

Are you by any chance pasting the UR into that box in _RW_?

> [@evatar](#):
>
> Is there any way to send it to you without posting it publicly?

Not that I know of.

---

<div class="post-metadata">

**Author:** ![evatar](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@evatar](https://forums.realmacsoftware.com/u/evatar)\
**Post date:** [September 18, 2015, 2:41am UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/9 "2015-09-18T02:41:48Z")

</div>

Yes, I copy the url from the Safari browser and paste it into the RapidWeaver entry box. There are no special characters.

---

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [September 18, 2015, 2:56am UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/10 "2015-09-18T02:56:44Z")

</div>

Try typing it in character by character in case there are hidden characters in the URL (from _Safari_) that are causing this.

And you have set the Web Address in _RW_?

---

<div class="post-metadata">

**Author:** ![evatar](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@evatar](https://forums.realmacsoftware.com/u/evatar)\
**Post date:** [September 18, 2015, 3:16am UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/11 "2015-09-18T03:16:07Z")

</div>

I just tried. The same thing happens.

I set the web address in the publish settings, if that’s what you mean.

---

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [September 18, 2015, 3:21am UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/12 "2015-09-18T03:21:55Z")

</div>

I’m sorry, I can’t see why this should be happening. If you can’t include the real URL (for which I’m sure you have good reasons) suggest you contact RM support. Good luck!

---

<div class="post-metadata">

**Author:** ![weaver](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/weaver/32/33079_2.png) [@weaver](https://forums.realmacsoftware.com/u/weaver)\
**Post date:** [September 18, 2015, 9:58am UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/13 "2015-09-18T09:58:43Z")

</div>

Michael, send me a Message clicking on my profile name.

---

<div class="post-metadata">

**Author:** ![theMountainMoves](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/themountainmoves/32/3836_2.png) [@theMountainMoves](https://forums.realmacsoftware.com/u/theMountainMoves)\
**Post date:** [September 18, 2015, 3:53pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/14 "2015-09-18T15:53:19Z")

</div>

Did you name the Page? Folder? File Path? Has the destination point been formatted to accept the link?

![](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/1X/3d6937792804ad68125326e55eb117bfa33969a4.png)

---

<div class="post-metadata">

**Author:** ![evatar](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@evatar](https://forums.realmacsoftware.com/u/evatar)\
**Post date:** [September 18, 2015, 4:16pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/15 "2015-09-18T16:16:04Z")

</div>

> [@theMountainMoves](#):
>
> destination point been formatted to accept the link

Yes, all pages have been named and with a file path.

I have no idea what ‘destination point been formatted to accept the link’ means.

---

<div class="post-metadata">

**Author:** ![theMountainMoves](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/themountainmoves/32/3836_2.png) [@theMountainMoves](https://forums.realmacsoftware.com/u/theMountainMoves)\
**Post date:** [September 18, 2015, 4:30pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/16 "2015-09-18T16:30:06Z")

</div>

My other suggestion would be to clear the formatting (Highlight, then Clear Format), and then append the URL to the link one more time. You might also want to check the path to the blog on your end of the file server.

Without a visual reference, it is difficult to diagnose. 😷

---

<div class="post-metadata">

**Author:** ![evatar](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@evatar](https://forums.realmacsoftware.com/u/evatar)\
**Post date:** [September 18, 2015, 4:36pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/17 "2015-09-18T16:36:49Z")

</div>

I just tried that. It didn’t work either. Previously I’s just clicked ‘Remove Link’ button and re-applied the URL or Page connection.

---

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [September 18, 2015, 8:37pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/18 "2015-09-18T20:37:39Z")

</div>

Another way to go - since there really does appear to be something non-standard going on here - would be to create a second (test) _RW_ project; then add a single page, make sure you have the Publishing Settings perfect, put in a single link on that page (maybe to a second, equally simple page), make sure you can get that uploaded and working.

Then one by one introduce the additional attributes to the href which you have now, and try different paths and links until something that you do causes the substitution, be it by the host, within _RW_ or during _RW_’s publish etc.

Tedious though this may be, to find out where and why the substitution is happening seems the key. It’s a one step as a time elimination process, unfortunately. Good luck!

---

<div class="post-metadata">

**Author:** ![WebKarnage](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/webkarnage/32/495_2.png) [@WebKarnage](https://forums.realmacsoftware.com/u/WebKarnage)\
**Post date:** [September 18, 2015, 8:45pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/19 "2015-09-18T20:45:05Z")

</div>

Are you possibly trying to check the link while previewing a single page locally in a browser?

Have you tried a full Export Site locally, and does it then work as expected?

With best regards,  
Karn.

---

<div class="post-metadata">

**Author:** ![Gabrielle](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/gabrielle/32/183_2.png) [@Gabrielle](https://forums.realmacsoftware.com/u/Gabrielle)\
**Post date:** [September 19, 2015, 3:15pm UTC](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633/20 "2015-09-19T15:15:28Z")

</div>

I was getting the same error when I was adding a url link. Took me ages to figure out the problem. Problem one was that at some point I had deleted pages and re-added them so the links I had were then missing, so I had to go in and re-link them. Also at some point I’d already put those text boxes in a ‘link’ stack, which I forgot about, so my links were getting confused! Sorted it out now though 😉

[Next page](https://forums.realmacsoftware.com/t/add-link-creates-url-with-null-null/2633.md?page=2)
