Loading...
 
Features / Usability

Features / Usability


Linking to web pages in a dev environment

United States

As posted in some earlier postings, I am a newbie and recent convert to TikiWiki and have been following's Rick's excellent TikiWiki for Smarties which has proven invaluable.

I have a question re: Linking to internal web pages.
The instructions here state

To create a link to a wiki page from another source (such as another website or an email) use this format
http://www.yourdomain.com/tiki-index.php?&page=XXX.

However, I am developing my site in a dev environment. Thus, my current domain is dev.domainname.com instead of www.domainname.com

Won't all of my links be broken once I migrate the site out of the dev environment? What are the accepted best practices in this regard?
Any help would be greatly appreciated. Thanks.

-Kevin Mulligan

Czech Republic

just use relative links like:

[tiki-index.php?&page=XXX|my relative link]

United States
OK. Great. Thanks Luci.

Catalan Countries

KMull, welcome to Tiki Community! :-)

Feel free to use and update the official documentation at:
http://doc.tikiwiki.org/Documentation

(it's a community effort)

And I would suggest you to update the information at tw for smarties site, if you are allowed to... (or suggest the main author of that site to update it for you...)

HTH


United States
Thanks Xavi. I will definitely do both.

United States
The relative link may work for Wiki pages. However, what about linking to other pages such Forums ?((tiki-forums.php|Forums) doesn't work. Can anyone possibly help me?

Japan

For forums, etc., you need to use the external link syntax, as luci also gave an example of, above: single brackets rather than double parentheses. They should still be a relative URL and not the full URL, something like [tiki-forums.php|Forums] so you don't need to be concerned about the domain and subdomain, etc.

-- Gary


United States

Gary-

Thank you so much. That did it.

-Kevin


Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.