| Author |
Message |
bullet
MD NewNew


Joined: Sep 22, 2005
Posts: 1
Member
|
 Posted:
Sep 22, 2005 - 06:28 AM |
|
| Post subject: Attractive URL |
Heloo
i have a Question
I don't know the exact word for it... but let me explain.
I visited my frinds website which is in Postnuke and i was wondering after seeing the links for his articles.
Like If he have a Article on his site with Subject
At Microsoft, the yin and yang of Linux
The link for that article will come like ...
http://www.sitename.com/Articles/News/Article1229-At-Microsoft,-the-yi n-and-yang-of-Linux.phtml
Hope you must got what m trying to say .... i know it is also possible with MD Pro.
Please help me out i searched alot but found nothing
Regards |
|
|
|
 |
PeteBest
MD user level 5


Joined: Oct 06, 2003
Posts: 4845
bannato
|
 Posted:
Sep 22, 2005 - 06:47 AM |
|
|
He's just got a custom hack for PostNukes ShortURL's by the look of that. We have an adaptation for MD-Pro, but it works slightly differently. You need apache running with mod_rewrite enabled, more information can be found HERE |
_________________ Retired from official MAXdev duties |
|
|
 |
Boxednet
MD user level 3


Joined: Nov 18, 2003
Posts: 35
bannato
|
 Posted:
Oct 24, 2005 - 08:59 PM |
|
|
Hi Pete
If the top mentioned url structure is possible -
and if md has a adaptation please could you let me know where to find it - or is what you mean above a required change to the htaccess file ?
thanks in advance |
|
|
|
 |
PeteBest
MD user level 5


Joined: Oct 06, 2003
Posts: 4845
bannato
|
 Posted:
Oct 24, 2005 - 09:09 PM |
|
|
Our adaptation is the default ShortURL's (aka AutoURL's) feature, as used to rewrite to either .htm/.html/.phtml. If you want a structure similar to the first poster you'll need to enable ShortURL's then edit your .htaccess with some custom rewrite rules, certainly not an easy task for most people. |
_________________ Retired from official MAXdev duties |
|
|
 |
Boxednet
MD user level 3


Joined: Nov 18, 2003
Posts: 35
bannato
|
 Posted:
Oct 24, 2005 - 10:10 PM |
|
|
Thanks pete
I will give it a try by first just trying to change Article.html to article-title.html
thanks for your help |
|
|
|
 |
carpatin
MD user level 3


Joined: Jan 14, 2006
Posts: 39
bannato
|
 Posted:
Feb 18, 2006 - 10:03 PM |
|
|
|
|
 |
carpatin
MD user level 3


Joined: Jan 14, 2006
Posts: 39
bannato
|
 Posted:
Feb 24, 2006 - 06:24 AM |
|
| Post subject: Re: Attractive URL |
| bullet wrote: |
Like If he have a Article on his site with Subject
At Microsoft, the yin and yang of Linux
The link for that article will come like ...
[b]http://www.sitename.com/Articles/News/Article1229-At-Microsoft,-the -yin-and-yang-of-Linux.phtml |
... or at least to have an address like http://mysitename/article-name.phtml ?
Did you manage to modify the .htaccess file to support such a thing ? and would it be possible to do this without any change in the providers' Apache config files which you cannot access ?
I did not manage and I was wandering if someone else with more coding skills did this ? For search engines it would be an "extra-bonus".
Thanks |
_________________ http://www.hoinar.lx.ro
http://www.homeopatieclasica.ro
http://www.bonsaimed.ro |
|
|
 |
cdphreaker
New MD user


Joined: Feb 04, 2005
Posts: 10
bannato
|
 Posted:
Jan 17, 2008 - 11:54 AM |
|
|
Hello,
Even i want to do the same so that the links of the articles come up as http://mysite.com/article_name.html or phtml anything will do. I've succesfully made htaccess files for my own scripts but the one which is supplied with the mdpro is a bit too complicated for me. Can someone please help me out with this?
Thanks. |
|
|
|
 |
|
|