-
- 6 Posts
I'm attempting to link to another site from the main navigation on my Modx Revolution 2.2.13-pl site.
I tried to create a weblink resource, but it simply loads up a page with the URL in the content of the page, then redirects to the homepage as if you had hit a 404 that did not exist.
Can anyone chime in on how to properly create a weblink in Modx?
Thanks!
Put the full URL to the remote page.
-
- 24,544 Posts
Are you using nothing but the URL (no HTML at all).
I just tried it and this worked fine for me as a Weblink page:
Template: BaseTemplate
Pagetitle: Google
MenuTitle:Google
alias: google
Weblink: http://google.com
A link to this page in a Wayfinder menu or anywhere else will take you to Google when clicked on. Clicking on "View" when editing the page should also take you to Google.com.
-
- 58 Posts
Hi all, I'm seeing an issue when a weblink is created in a container, such as 'Products'.
For example, I've created a weblink with Resource Alias set to 'bioslim' (the alias of the defunct product, without the quotes) and set the Weblink field to the id of the new product, eg [[~474]]
So far I'm just seeing 404s. However, if the weblink is moved in the site tree to directly under the root it works as expected.
Any suggestions very welcome. Thanks in advance!