-
☆ A M B ☆
- 209 Posts
Hi,
I’ve had to remove the <base> tag from one of my sites (which uses friendly URLs) in order to get in-page anchors to work. The problem with doing this is that it’s broken all internal links on my site - links are no longer relative to the web root.
Is there a way to change [~3~] to generate an URL like /foo/bar/baz rather than foo/bar/baz?
Or alternatively a way to get anchors working in the page so I can leave the <base> tag in place...
Thanks!
-
MODX Staff
- 10,725 Posts
Search for AnchorsAway plugin in the forums, or always use [~[*id*]~]#anchor format for your anchor hrefs.