17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1265 Views |
-
Menu links to other domains

9 July 2007 at 12:09pm
I have just converted out PlanHQ blog to Wordpress and would like to link to it from the main nav. The only solution we can see so far is to put a redirect link in, which is obviously not so good for SEO and a little unintuitive for users.
Is there a way I can put the link directly to the site? It is blog.planhq.com
Thanks!
-
Re: Menu links to other domains

9 July 2007 at 12:30pm
You could create a new page type, and override the Link() function to return the link of the page. Eg:
class BlogRedirector extends Page {
function Link() {
return "http://blog.planhq.com";
}
}Sam, do you think it would be a good idea to override Link on RedirectorPage to link to the destination page?
-
Re: Menu links to other domains

9 July 2007 at 1:05pm
Yes, overriding the Link() method in RedirectorPage would work.
| 1265 Views | ||
|
Page:
1
|
Go to Top |



