Go Back   Pligg Forum > Pligg Help > Installation and Upgrade Help
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-03-2007, 06:58 AM
pkrtech pkrtech is offline
New Pligger
 
Join Date: Mar 2007
Posts: 9
Downloads: 1
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
URL Method

Just installed latest download everything went fine however when I change URL method to method 2 these are the problems....

The links for but not limited to,

Admin Profile Live Top users Tag cloud Logout Submit New Story

All get bugged and lose there full names

example...

http://www..com/system/submit.php

becomes

http://www..com/system/submit

example2..

http://www..com/system/admin_index.php

becomes

http://www..com/system/admin

And all of them do not resolve correctly.



Also the rewrite rules coded here from the site is causing a server error I probally canfix this manually but could be a problem for others.

RewriteRule ^(all|system|)/([a-zA-Z0-9-]+)/?$ story.php?title=$2 [L]
RewriteRule ^(all|system|)/?$ ?category=$1 [L]

If someone can tell me how to fix the method problem without me having to dig through all of the code that would be great!
Reply With Quote
Sponsored Links
Check out the New Modules at the Pligg Pro Shop.
  #2 (permalink)  
Old 03-03-2007, 08:30 AM
kbeeveer46's Avatar
kbeeveer46 kbeeveer46 is offline
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,579
Downloads: 62
Uploads: 6
Thanks: 255
Thanked 651 Times in 515 Posts
The URLs you are seeing are correct. The point of URL method 2 is to have "clean" URLs and ones that are more search engine friendly. When you renamed your htaccess file, did you put a period in front of it? It should be called .htaccess. Did you edit the line where you put your sub-folder if you're installed in one?

For your second question, try taking out the extra pipe (in red) and see if that fixes it
Code:
RewriteRule ^(all|system|)/([a-zA-Z0-9-]+)/?$ story.php?title=$2 [L]
RewriteRule ^(all|system|)/?$ ?category=$1 [L]
__________________
I accept donations for my time helping users like you on the forum and IRC.

FREE and premium Pligg Web Hosting (NO ads, Includes MySQL, PHP, PHPMyAdmin, and Control Panel) - PM me for discounts on premium packages or if you would like a custom-made package. Paypal accepted.
Reply With Quote
  #3 (permalink)  
Old 03-03-2007, 08:23 PM
pkrtech pkrtech is offline
New Pligger
 
Join Date: Mar 2007
Posts: 9
Downloads: 1
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kbeeveer46 View Post
The URLs you are seeing are correct. The point of URL method 2 is to have "clean" URLs and ones that are more search engine friendly. When you renamed your htaccess file, did you put a period in front of it? It should be called .htaccess. Did you edit the line where you put your sub-folder if you're installed in one?

For your second question, try taking out the extra pipe (in red) and see if that fixes it
Code:
RewriteRule ^(all|system|)/([a-zA-Z0-9-]+)/?$ story.php?title=$2 [L]
RewriteRule ^(all|system|)/?$ ?category=$1 [L]
Ok I got it working, few hints, it should be added to the URL change method page that you need to rename the .htaccess file, also that if you installed in a sub folder you need to edit the RewriteBase line inside that file.

Also removing the second pipe from the Category Management code given worked.
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

vB 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-07-2008 11:32 PM
URL Method 2 Problems snoopgst General Help 11 06-07-2007 08:27 PM
FIX for gzip compression troubles, no .htaccess gzip compression method required Daniel Core Development 8 02-16-2007 02:16 PM
url method 2 advancement davebowker General Help 10 02-11-2007 04:45 PM
URL Method nish Bug Report 4 09-16-2006 03:01 PM


LinkBacks Enabled by vBSEO 3.0.0