issue with urlmethod 2 and news source url in beta 9

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-07-2007, 12:01 PM
sixlaneve's Avatar
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 69
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
hi, dunno if it's just me experiencing this.

using urlmethod 2 and friendly url, the news source URL points to my website.

ie, when I am reading an entry, and I click to the source url, the address goes to my website.

looks like a problem in my htaccess (that it s the standard one) any fix?

##### Re-directing Begin #####

Options +Indexes +FollowSymlinks

RewriteEngine on

RewriteBase /

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/

## RewriteRule ^(.*)index\.php$ /$1 [R=301,L] ##

## 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]

## thanks to the many people who have posted this fix in the forums ##

##### Re-directing End #####

##### Friendly URLs Begin #####

Options +Indexes +FollowSymlinks

RewriteEngine On

RewriteBase /

RewriteRule ^story/([0-9]+)/?$ story.php?id=$1 [L]

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

##### You can find the below line pre-made for you in the category management section of the admin panel ######

RewriteRule ^(all|italia|esteri|economia|cultura|sport|curiosi t|istruzione|lavoro)/([a-zA-Z0-9-]+)/?$ story.php?title=$2 [L]
RewriteRule ^(all|italia|esteri|economia|cultura|sport|curiosi t|istruzione|lavoro)/?$ ?category=$1 [L]

RewriteRule ^recommend/([a-zA-Z0-9-]+)/?$ recommend.php?id=$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 ^tagcloud/range/([0-9]+)/?$ cloud.php?range=$1 [L]

RewriteRule ^tag/(.+)/?$ search.php?search=$1&tag=true [QSA,NC,L]

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

##### Friendly URLs End #####
Reply With Quote
  #2 (permalink)  
Old 01-07-2007, 01:52 PM
kbeeveer46's Avatar
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
you need to turn outgoing urls off in admin config > OutGoing. Change it to false.
Reply With Quote
  #3 (permalink)  
Old 01-07-2007, 03:30 PM
sixlaneve's Avatar
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 69
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
a-ah. tnx!
Reply With Quote
  #4 (permalink)  
Old 07-04-2007, 06:29 PM
New Pligger
 
Join Date: Jan 2007
Posts: 5
I had the same problem, I've seen the solution, but I'd need to have the outgoing urls off and of course having the url method 2 on, due to spam reasons.

Any ideas???
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you get rid of 'your source of social news and networking' kephrira Questions and Comments 4 07-24-2009 10:38 AM
Why does not the most voted News come up in the first position? ameran Questions and Comments 5 08-08-2008 08:57 AM
How to change URL so that one click goes to news source xmlham Questions and Comments 2 05-26-2008 03:31 AM
Social News with No VOTING noyp Questions and Comments 1 11-22-2006 11:27 AM
Pligg Double Beta Alpha Omega Preview 6 Yankidank Questions and Comments 4 01-13-2006 08:29 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