NYCPHP Meetup

NYPHP.org

[joomla] Shorten an URL

Matt Thomas matt at betweenbrain.com
Wed Jun 27 14:30:28 EDT 2012


You should be able to do something like this with a rewrite rule in an
.htaccess file. See
http://stackoverflow.com/questions/3542280/how-to-remove-directory-from-url-using-mod-rewrite
 and
http://stackoverflow.com/questions/9516852/remove-directory-from-url-htaccess-apache
for
a couple of examples.

Best,

Matt Thomas
Founder betweenbrain <http://betweenbrain.com/>™
Lead Developer Construct Template Development
Framework<http://construct-framework.com/>
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain



On Wed, Jun 27, 2012 at 2:13 PM, Helvécio da Silva <helvecio.rj at gmail.com>wrote:

> Usually I put my Joomla websites in a subdirectory so things don't get
> messed up at the root directory level.
>
> Question is:
>
> Is it possible to display the site URL as www.domain.com/contact.htmlinstead of
> www.domain.com/*site*/contact.html, even though the Joomla instalation
> remains under */site*?
>
> --
> Helvecio "Elvis" da Silva
> Rio de Janeiro - Brasil - helvecio.rj at gmail.com
> http://www.helvecio.com - http://blog.helvecio.com
>
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20120627/26253c22/attachment.html>


More information about the Joomla mailing list