Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Menu links to other domains


Reply

3 Posts   1373 Views

Avatar
Decisive Flow

9 July 2007 at 12:09pm Community Member, 73 Posts

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!

Avatar
Andy

9 July 2007 at 12:30pm 230 Posts

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?

Avatar
Sam

9 July 2007 at 1:05pm Administrator, 685 Posts

Yes, overriding the Link() method in RedirectorPage would work.