Dec 05, 2008 | 06:15 PM  
Welcome

Don't have an account yet? You can create one, it is free, just click here

as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
  Forum FAQForum FAQ   SearchSearch  UsergroupsUsergroups  PreferencesPreferences  Options forumOptions forum  Watched TopicsWatched Topics  Watched ForumsWatched Forums
Latest forum posts Latest forum posts  Log in to check your private messages Log in to check your private messages    Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
bullet
MD NewNew
MD NewNew


Joined: Sep 22, 2005
Posts: 1

Member
Post  Posted: Sep 22, 2005 - 06:28 AM Reply with quote Back to top
Post subject: Attractive URL

Heloo Wink
i have a Question Rolling Eyes
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 Rolling Eyes
Regards
View user's profile Visit poster's website Yahoo Messenger
PeteBest
MD user level 5
MD user level 5


Joined: Oct 06, 2003
Posts: 4845

bannato
Post  Posted: Sep 22, 2005 - 06:47 AM Reply with quote Back to top

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
View user's profile
Boxednet
MD user level 3
MD user level 3


Joined: Nov 18, 2003
Posts: 35

bannato
Post  Posted: Oct 24, 2005 - 08:59 PM Reply with quote Back to top

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
View user's profile Visit poster's website
PeteBest
MD user level 5
MD user level 5


Joined: Oct 06, 2003
Posts: 4845

bannato
Post  Posted: Oct 24, 2005 - 09:09 PM Reply with quote Back to top

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
View user's profile
Boxednet
MD user level 3
MD user level 3


Joined: Nov 18, 2003
Posts: 35

bannato
Post  Posted: Oct 24, 2005 - 10:10 PM Reply with quote Back to top

Thanks pete

I will give it a try by first just trying to change Article.html to article-title.html

thanks for your help
View user's profile Visit poster's website
carpatin
MD user level 3
MD user level 3


Joined: Jan 14, 2006
Posts: 39

bannato
Post  Posted: Feb 18, 2006 - 10:03 PM Reply with quote Back to top

I'm also interested in the subject and just started to dig on it... found some interesting stuff in the Wiki world; check this page http://meta.wikimedia.org/wiki/Rewrite_Rules... the Apache documentation seems to be rather for pros, at least for me is not easy accesible

_________________
http://www.hoinar.lx.ro
http://www.homeopatieclasica.ro
http://www.bonsaimed.ro
View user's profile
carpatin
MD user level 3
MD user level 3


Joined: Jan 14, 2006
Posts: 39

bannato
Post  Posted: Feb 24, 2006 - 06:24 AM Reply with quote Back to top
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
View user's profile
cdphreaker
New MD user
New MD user


Joined: Feb 04, 2005
Posts: 10

bannato
Post  Posted: Jan 17, 2008 - 11:54 AM Reply with quote Back to top

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.
View user's profile Visit poster's website
Display posts from previous:     
Jump to:  
All times are GMT + 13 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by MDForum 2.0.8© 2003-2007 MAXdev Team
Credits