out.php still in link with Urlmethod2, friendly Url, and outgoign links on

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 02-28-2007, 07:09 AM
Casual Pligger
 
Join Date: Feb 2007
Posts: 93
For some reason, when I have all 3 (friendly links, outgoing links, and Url Method 2) on, my outgoing links look something like this

http://www.celebrigator.com/out/Look...-Presidential/

I have pligg 9.1, and i could have sworn it was working for like a half an hour.

they seem to work fine if i turn off outgoing links, or url method2. please advise!

www.celebrigator.com

here is my .htaccess, (i had to put the gzip part in a php.ini file, that seems to be working fine!)

Code:
<files *.js.gz>
AddType "text/javascript" .gz
AddEncoding gzip .gz
</files>

##### Gzip End #####

##### Re-directing Begin #####
Options +Indexes +FollowSymlinks
RewriteEngine on
## If Pligg is installed in a subfolder, change the below line to RewriteBase /name-of-subfolder
RewriteBase /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/

## Remove these two lines if you have a sub-domain like  http://ashdigg.pligg.com  or http://localhost
## Keep if your site it like   http://www.pligg.com
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^\/?(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
##### Re-directing End #####

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

##### URL Method 2 ("Clean" URLs) Begin #####
RewriteRule ^story/([0-9]+)/?$ story.php?id=$1 [L]
RewriteRule ^story/title/([a-zA-Z0-9-]+)/?$ story.php?title=$1 [L]
RewriteRule ^recommend/([a-zA-Z0-9-]+)/?$ recommend.php?id=$1 [L]
RewriteRule ^category/([a-zA-Z0-9]+)/?$ index.php?category=$1 [L]
RewriteRule ^queued/category/([a-zA-Z0-9]+)/?$ upcoming.php?category=$1 [L]
RewriteRule ^discarded/category/([a-zA-Z0-9]+)/?$ discarded.php?category=$1 [L]
RewriteRule ^upcoming/([a-zA-Z0-9]+)/([a-zA-Z0-9]+)/?$ upcoming.php?part=$1&order=$2
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/?$ user.php
RewriteRule ^inbox/?$ user.php?view=inbox
RewriteRule ^user/view/([a-zA-Z0-9-]+)/?$ user.php?view=$1
RewriteRule ^user/view/([a-zA-Z0-9+]+)/([a-zA-Z0-9+]+)/?$ user.php?view=$1&login=$2
RewriteRule ^user/view/([a-zA-Z0-9+]+)/login/([a-zA-Z0-9+]+)/?$ user.php?view=$1&login=$2
RewriteRule ^index/?$ index.php
RewriteRule ^index/([a-zA-Z0-9-]+)/?$ index.php?part=$1
RewriteRule ^index/([a-zA-Z0-9-]+)/&category=([a-zA-Z0-9-]+)/?$ index.php?part=$1&category=$2
RewriteRule ^upcoming/upcoming/([a-zA-Z0-9-]+)/&category=([a-zA-Z0-9-]+)/?$ upcoming.php?part=upcoming&order=$1&category=$2
RewriteRule ^search/([a-zA-Z0-9]+)/?$ search.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 ^topusers/?$ topusers.php
RewriteRule ^about/([a-zA-Z0-9-]+)/?$ faq-$1.php
RewriteRule ^upcoming/?$ upcoming.php
RewriteRule ^submit/?$ submit.php
RewriteRule ^rss2/?$ rss2.php
RewriteRule ^rss2/([a-zA-Z0-9-]+)/?$ rss2.php?status=$1
RewriteRule ^rss2/category/([a-zA-Z0-9-]+)/?$ rss2.php?category=$1
RewriteRule ^rss2/search/([a-zA-Z0-9-]+)/?$ rss2.php?search=$1
RewriteRule ^rss2/user/([a-zA-Z0-9-]+)/?$ rss2.php?user=$1
RewriteRule ^rss2/user/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ userrss2.php?user=$1&status=$2
RewriteRule ^trackback/([0-9]+)/?$ trackback.php?id=$1 
RewriteRule ^profile/?$ profile.php
RewriteRule ^admin/?$ admin_index.php
RewriteRule ^tagcloud/?$ cloud.php
RewriteRule ^tagcloud/range/([0-9]+)/?$ cloud.php?range=$1 [L]
RewriteRule ^tag/(.+)/?$ search.php?search=$1&tag=true [QSA,NC,L]
RewriteRule ^live/?$ live.php
RewriteRule ^out/([^/]+)/?$ out.php?title=$1 [L]
RewriteRule ^settemplate/?$ settemplate.php
RewriteRule ^settemplate/([^/]+)/?$ settemplate.php?template=$1
RewriteRule ^comments/?$ comments.php
RewriteRule ^published/?$ published.php
RewriteRule ^unpublished/?$ unpublished.php
RewriteRule ^logout/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ login.php?op=logout&return=$1/$2
RewriteRule ^page/([^/]+)/?$ index.php?page=$1 [L]
RewriteRule ^page/([^/]+)/category/([^/]+)/?$ index.php?page=$1&category=$2 [L]
RewriteRule ^page/([^/]+)/([^/]+)category/([^/]+)/?$ index.php?page=$1&part=$2&category=$3 [L]
RewriteRule ^page/upcoming/([0-9]+)/?$ upcoming.php?page=$1 [L]
RewriteRule ^page/upcoming/([^/]+)/category/([^/]+)/?$ upcoming.php?page=$1&category=$2 [L]
RewriteRule ^page/upcoming/([^/]+)/upcoming/([^/]+)/?$ upcoming.php?page=$1&part=upcoming&order=$2 [L]
RewriteRule ^page/upcoming/([^/]+)/upcoming=([^/]+)category/([^/]+)/?$ upcoming.php?page=$1&part=upcoming&order=$2&category=$3 [L]
RewriteRule ^topusers/page/([^/]+)/?$ topusers.php?page=$1 [L]
RewriteRule ^topusers/page/([^/]+)/sortby/([^/]+)?$ topusers.php?page=$1&sortby=$2 [L]
RewriteRule ^comments/page/([^/]+)/?$ comments.php?page=$1 [L]
RewriteRule ^published/page/([^/]+)/?$ published.php?page=$1 [L]
RewriteRule ^unpublished/page/([^/]+)/?$ unpublished.php?page=$1 [L]
RewriteRule ^page/([^/]+)/([^/]+)/?$ index.php?page=$1&part=$2 [L]
RewriteRule ^page/([^/]+)/range/([^/]+)/?$ ?page=$1&range=$2 [L]
RewriteRule ^page/([^/]+)/part/([^/]+)/?$ ?page=$1&part=$2 [L]
RewriteRule ^page/([^/]+)/search/([^/]+)/?$ search.php?page=$1&search=$2 [QSA,NC,L]
RewriteRule ^page/([^/]+)/([^/]+)/([^/]+)/?$ user.php?page=$1&view=$2&login=$3 [L]

##### URL Method 2 ("Clean" URLs) End #####
Reply With Quote
  #2 (permalink)  
Old 03-03-2007, 07:23 AM
New Pligger
 
Join Date: Mar 2007
Posts: 12
I have exactly the same problem. Having outgoing links on gives me a blank page. Is there something wrong with re rewrite rule for "out"?

e.g. http://pligg.poddrzewem.pl/out/InfoQ...rum-Not-Scrum/

produces a blank page.

Tomek
Reply With Quote
  #3 (permalink)  
Old 03-03-2007, 11:13 AM
New Pligger
 
Join Date: Feb 2007
Posts: 4
Believe a fix has been suggested. Check out this page http://www.pligg.com/forum/showthrea...light=outgoing
Reply With Quote
  #4 (permalink)  
Old 03-03-2007, 11:17 AM
Casual Pligger
 
Join Date: Feb 2007
Posts: 93
I have the same problem but not for me personally, but from a handful of users.

Turning 'Outgoing Links' to 'url' and not 'title' should work, I think. If I turn off 'title' and put 'url' as outgoing, all links just go to my homepage. I would think that would be the solution but it doesn't work.

Does it work for you guys? It doesn't work for me.
Reply With Quote
  #5 (permalink)  
Old 03-03-2007, 12:37 PM
Casual Pligger
 
Join Date: Jan 2007
Location: Texas
Posts: 49
I have another observation:
If I turn off the Outgoing, but at Story menu, I Use story title as link, and Open story title in new window, then clicking on the url link below Title also open a new window, which does the same thing as turning on the Outgoing.
Is this a bug or supposed the way to be working?
Reply With Quote
  #6 (permalink)  
Old 03-03-2007, 02:13 PM
New Pligger
 
Join Date: Mar 2007
Posts: 12
I've tried the fix. Doesn't work for me. I did some more testing. Having Url Method 2nd active, while I put the outgoing links to:

1. url - I got redication to my own page (reloads to the same page)
2. id - gives me a blank page
3. title - gives me a blank page

Also with Url Method 2nd I get trackback not working correctly, and few other things, so I just gave up this method until it will have an idea how to fix it (or it gets fixed

Tomek
Reply With Quote
  #7 (permalink)  
Old 03-04-2007, 02:26 PM
Casual Pligger
 
Join Date: Feb 2007
Posts: 93
the fix is old, and I think it has been accounted for in the newest version on pligg.
are all of you using php.ini files? any other ideas? I also have a problem with trackback, and top today, yesterday links.


also, if you switch back to URL method 2
does anyone else have a duplicate set of « previous« previous 1 2 next » set at the bottom of every page?

I noticed each set of links gives different urls
the main one, which links to
and the one which seems to have just appears, links to

http://celebrigator.com/upcoming.php?page=2

while the other links to

http://celebrigator.com/page/upcoming/2/

wierd...does that mean that some of the .htaccess rewrite could still be changing my code even when it urlmethod2 is deactivated, hence the possibility of screwing up trackback and other links?

bizdiggers and I both are using GoDaddy hosting, and both fixed URL method2 with a php.ini file...could this be related to this issue?

Last edited by mbs348; 03-04-2007 at 02:58 PM.
Reply With Quote
  #8 (permalink)  
Old 03-04-2007, 04:25 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
changing your site to use url method 2 doesn't "activate" your .htaccess file. Your server will use it as long as the file is called ".htaccess". Even if your Pligg site doesn't use it, your server will still see it as there so you need to rename it or delete it if you aren't going to use it.
Reply With Quote
  #9 (permalink)  
Old 03-05-2007, 09:34 AM
Casual Pligger
 
Join Date: Feb 2007
Posts: 93
ah understood. But for those of us who are having a problem with out.php(in the called url), what file could still be using it with .htaccess being used?
Reply With Quote
  #10 (permalink)  
Old 02-02-2008, 01:12 PM
New Pligger
 
Join Date: Jan 2008
Posts: 1
I changed filename to out2.php and in .htaccess changed line:

RewriteRule ^out/([^/]+)/?$ out.php?title=$1 [L]


to

RewriteRule ^out/([^/]+)/?$ out2.php?title=$1 [L]

and it works well now. I don't know how to fix this problem.

sorry for replay in very old subject
Reply With Quote
Reply

Thread Tools
Display Modes




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