Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-14-2006, 01:02 PM
shrimp's Avatar
New Pligger
 
Join Date: Jun 2006
Location: Oregon
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Changing the URLs

I want to change the URLs.

I need to find where they define the "pretty URLs" like whatever.com/story/story-title/

I want to change it to: whatever.com/art/art-title/

Any ideas? I've looked in lang.conf .. I've just started looking through every php file looking for "URLMethod"
__________________
shrimpdesign.com
indieFox.com
Reply With Quote
  #2 (permalink)  
Old 06-14-2006, 01:06 PM
shrimp's Avatar
New Pligger
 
Join Date: Jun 2006
Location: Oregon
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
I'm using the .htaccess from http://www.pligg.com/forum/showpost....8&postcount=10 to get the fqancy URLs to work
__________________
shrimpdesign.com
indieFox.com
Reply With Quote
  #3 (permalink)  
Old 06-14-2006, 01:18 PM
shrimp's Avatar
New Pligger
 
Join Date: Jun 2006
Location: Oregon
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Never mind. It's in libs/html1.php.

If you're using the .htaccess mehtod, you'll have to change the urls in .htacess and under "if ($URLMethod == 2){" in html1.php to the same thing.

Example:
Code:
If ($x == "shakeit") {return my_pligg_base."/vote/";}
Change the /shakeit/ part but not the "$x == "shakeit"" part.

See it in action: http://www.indiefox.com/art/SE-Salon-Poster-1/

There's one problem tho: the sneak has the old ugly URLs instead of the fancy ones.
__________________
shrimpdesign.com
indieFox.com
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Has anyone got Friendly Urls (Url Method 2) working? revolver General Help 11 05-08-2008 12:32 AM
Changing underscore to dash in URLs brandondrury General Help 0 09-30-2007 12:03 PM
Suggestion: Friendlier urls for user page revolver General Help 0 07-06-2007 12:44 PM
Changing the language from urls Mupetz General Help 0 06-06-2007 05:53 AM
Simplified Friendly Urls idea revolver Suggestions 0 11-07-2006 01:20 PM


Search Engine Friendly URLs by vBSEO 3.2.0