Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-18-2006, 07:56 PM
Night Shaded's Avatar
New Pligger
 
Join Date: Nov 2006
Location: Calgary, Alberta
Posts: 10
Thanks: 3
Thanked 0 Times in 0 Posts
URL Method 2 does not seem to work

If you go to my pligg installation at http://theanime.net/news/ , you can see that the links on that page are broken.
Reply With Quote
  #2 (permalink)  
Old 11-18-2006, 08:11 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,415
Thanks: 171
Thanked 440 Times in 279 Posts
Hi
Night Shaded

You may need to look for a file called default.htaccess
Edit it for your domain
save and rename to just .htaccess

Hope that helps
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
The Following User Says Thank You to chuckroast For This Useful Post:
  #3 (permalink)  
Old 11-18-2006, 08:49 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
Pligg wiki - Url Method
Reply With Quote
The Following User Says Thank You to revolver For This Useful Post:
  #4 (permalink)  
Old 11-18-2006, 09:38 PM
Night Shaded's Avatar
New Pligger
 
Join Date: Nov 2006
Location: Calgary, Alberta
Posts: 10
Thanks: 3
Thanked 0 Times in 0 Posts
Um, would you mind telling me how exactly?
Reply With Quote
  #5 (permalink)  
Old 11-19-2006, 09:55 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 227
Thanks: 56
Thanked 22 Times in 18 Posts
What the hell are you groaning at me for Night Shaded?

You ask a common question obviously without searching first because you would have found it just got asked a week ago and I point you towards the wiki where I've taken the time to summarize all the info that's been said in this forum about it and you groan?

Figure it out yourself then.

(2 posts + 2 groans = not a good ratio.)
Reply With Quote
  #6 (permalink)  
Old 11-19-2006, 12:09 PM
Night Shaded's Avatar
New Pligger
 
Join Date: Nov 2006
Location: Calgary, Alberta
Posts: 10
Thanks: 3
Thanked 0 Times in 0 Posts
I have already browsed the wiki and it came up with nothing.
Reply With Quote
  #7 (permalink)  
Old 11-19-2006, 06:38 PM
Night Shaded's Avatar
New Pligger
 
Join Date: Nov 2006
Location: Calgary, Alberta
Posts: 10
Thanks: 3
Thanked 0 Times in 0 Posts
Can anyone please help me?
Reply With Quote
  #8 (permalink)  
Old 11-19-2006, 07:30 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,415
Thanks: 171
Thanked 440 Times in 279 Posts
Night Shaded

Have you followed my intructions above?
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #9 (permalink)  
Old 11-19-2006, 08:04 PM
Night Shaded's Avatar
New Pligger
 
Join Date: Nov 2006
Location: Calgary, Alberta
Posts: 10
Thanks: 3
Thanked 0 Times in 0 Posts
Yes, but unfortunately, that does not resolve the issue. This is the content of my .htaccess file:

Code:
##### Re-directing Begin #####
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://theanime.net/news/ [R=301,L]
##### Re-directing End #####

##### Friendly URLs Begin #####
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteRule ^story/([0-9]+)/?$ story.php?id=$1 [L]
RewriteRule ^story/([a-zA-Z0-9-]+)/?$ story.php?title=$1 [L]
RewriteRule ^category/([a-zA-Z0-9]+)/?$ ?category=$1 [L]
RewriteRule ^category/queued/([a-zA-Z0-9]+)/?$ shakeit.php?category=$1 [L]
RewriteRule ^shakeit/([a-zA-Z0-9]+)/?$ shakeit.php?category=$1 [L]
RewriteRule ^story/([0-9]+)/editcomment/([0-9]+)?$ edit.php?id=$1&commentid=$2
RewriteRule ^story/([0-9]+)/edit/?$ editlink.php?id=$1
RewriteRule ^story/([0-9]+)/modify/([a-z]+)/?$ linkadmin.php?id=$1&action=$2
RewriteRule ^user/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ user.php?login=$1&view=$2
RewriteRule ^user/([a-zA-Z0-9-]+)/?$ user.php?login=$1
RewriteRule ^search/([a-zA-Z0-9-]+)/?$ index.php?search=$1
RewriteRule ^login/?$ login.php
RewriteRule ^login/([a-zA-Z0-9-]+)/?$ login.php?return=$1
RewriteRule ^login/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ login.php?return=$1/$2
RewriteRule ^register/?$ register.php
RewriteRule ^user/?$ user.php
RewriteRule ^topusers/?$ topusers.php
RewriteRule ^topstories/?$ topstories.php
RewriteRule ^about/([a-zA-Z0-9-]+)/?$ faq-$1.php
RewriteRule ^shakeit/?$ shakeit.php
RewriteRule ^submit/?$ submit.php
RewriteRule ^bugreport/?$ bugreport.php
RewriteRule ^rss2/?$ rss2.php
RewriteRule ^rss2/([a-zA-Z0-9-]+)/?$ rss2.php?status=$1
RewriteRule ^trackback/([0-9]+)/?$ trackback.php?id=$1
RewriteRule ^profile/?$ profile.php
RewriteRule ^admin/?$ admin_index.php
RewriteRule ^tagcloud/?$ cloud.php
RewriteRule ^sneak/?$ sneak.php
RewriteRule ^pliggadmin/?$ admin_index.php
RewriteRule ^logout/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ login.php?op=logout&return=$1/$2
RewriteRule ^tag/(.+)/?$ search.php?search=$1&tag=true [QSA,NC,L]
##### Friendly URLs End #####
Reply With Quote
  #10 (permalink)  
Old 11-20-2006, 06:19 PM
New Pligger
 
Join Date: Nov 2006
Posts: 13
Thanks: 0
Thanked 1 Time in 1 Post
Possible fix

I am not entirely sure what you mean by broken links, however, this worked for me: Add...

Code:
If ($x == "outurl") {return my_pligg_base."/out.php?url=" . urlencode($var1);}
...to the URLMethod 2 section of libs/html1.php. Look for "$URLMethod == 3" and place it somewhere in the section (I put it under "outtitle"). You can also put this in the URLMethod 3 section if you want.

This change doesn't create a friendly url for the outbound link, however, this doesn't really matter in this case.
Edit/Delete Message
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
Using Search Method 4 - Tags will not work hotsitez Bug Report 11 11-29-2008 07:54 PM
Voting Method 2 takes a long time to work. loader.gif maybe? rwallen General Help 3 06-15-2008 12:37 AM
GoDaddy and URL Method 2 can't work together. mariopulido Installation and Upgrade Help 2 02-18-2008 08:18 AM
Licensing tbronson Wiki Articles 0 10-27-2007 11:55 PM
URL 2 Method doesn't work on digitalnature soulja90 "Digital Nature" 1 03-29-2007 02:22 AM


Search Engine Friendly URLs by vBSEO 3.2.0