Pligg CMS Forums


Go Back   Pligg CMS Forum > Pligg Help > Installation and Upgrade Help



Friendly URLs

Find help for Installing and Upgrading Pligg


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-15-2007, 07:20 PM
Casual Pligger
 
Join Date: Jan 2007
Posts: 38
Friendly URLs

I am having a bit of trouble with enabling Friendly URLs; specifically, through the use of URL Method 2. I renamed the htaccess file. I am not using a subdomain or subdirectory. Mod Rewrite is enabled on my server.

When I activate URL method 2 from within the admin, it appears that the URLs are actually translating into Friendly URLs correctly. However, when I actually click on any link, it will not load the page.

I have searched the forum as best as I can, but cannot find the answer.

Any thoughts??
Reply With Quote
Sponsor
  #2 (permalink)  
Old 11-15-2007, 07:27 PM
Pligg Donor
Pligg Version: 9.8.2 +
Pligg Template: yget
 
Join Date: Jul 2007
Posts: 125
Quote:
Originally Posted by mushmoosh View Post
I am having a bit of trouble with enabling Friendly URLs; specifically, through the use of URL Method 2. I renamed the htaccess file. I am not using a subdomain or subdirectory. Mod Rewrite is enabled on my server.

When I activate URL method 2 from within the admin, it appears that the URLs are actually translating into Friendly URLs correctly. However, when I actually click on any link, it will not load the page.

I have searched the forum as best as I can, but cannot find the answer.

Any thoughts??
I ran into this problem before and I think I deleted the files in my cache folder and my template_c folder and it started working after that. Anyway, it's worth a try.
Reply With Quote
  #3 (permalink)  
Old 11-15-2007, 07:32 PM
Casual Pligger
 
Join Date: Jan 2007
Posts: 38
thank you....

I just deleted everything in the cache and templates_c folder. However, it did not work and found the same result....

I have no clue what it could be. All the links take me to a Not Found on this server page.
Reply With Quote
  #4 (permalink)  
Old 11-16-2007, 07:45 AM
shackbase's Avatar
New Pligger
Pligg Version: 9.8b
Pligg Template: ?
 
Join Date: Nov 2007
Posts: 19
What you need to do is copy the text on bottom of the category admin page and paste it into you .htaccess file.

Comment out what is there now:

##### You can find the below lines pre-made for you in the category management section of the admin panel ######
#RewriteRule ^(all|pligg)/([^/]+)/?$ story.php?title=$2 [L]
#RewriteRule ^(all|pligg)/?$ ?category=$1 [L]

and replace it with:
RewriteRule ^(all|Cases|CellPhones|Coolers|DigitalCameras|Gadg ets|GPS|Laptops|Keyboardsandmice|Miscellaneous|Pri nters|SoundSystems|$
$stems|VideoCards|WebCameras)/?$ ?category=$1 [L]

(obviously your rewrite rule will differ from mine)

That should fix it for you,

Tony
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Friendly URL's for categories works, but for stories not sixlaneve General Help 6 12-06-2008 09:28 AM
Has anyone got Friendly Urls (Url Method 2) working? revolver General Help 11 05-08-2008 12:32 AM
Seo Friendly Urls - Urlmethod 2 canadianguy33 General Help 15 05-12-2007 09:57 PM
Simplified Friendly Urls idea revolver Suggestions 0 11-07-2006 01:20 PM

Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Use the coupon code PLIGG at Dreamhost.com to receive a discount of up to $84.00 Make a donation to support Pligg CMS development