Friendly URLs

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-15-2007, 08:20 PM
New Pligger
 
Join Date: Jan 2007
Posts: 29
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
  #2 (permalink)  
Old 11-15-2007, 08:27 PM
Pligg Donor
Pligg Version: 9.8.2 +
Pligg Template: yget
 
Join Date: Jul 2007
Posts: 123
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, 08:32 PM
New Pligger
 
Join Date: Jan 2007
Posts: 29
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, 08: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 Questions and Comments 7 05-08-2011 11:39 PM
Friendly URL's for stories And (error - Oops, what you're looking for isn't here!) roor Questions and Comments 6 07-12-2009 01:54 PM
Has anyone got Friendly Urls (Url Method 2) working? revolver Questions and Comments 11 05-08-2008 01:32 AM
Seo Friendly Urls - Urlmethod 2 canadianguy33 Questions and Comments 15 05-12-2007 10:57 PM
Simplified Friendly Urls idea revolver Questions and Comments 0 11-07-2006 02:20 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development