Pligg CMS Forums


Go Back   Pligg CMS Forum > Pligg Help > General Help



issue with urlmethod 2 and news source url in beta 9


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: 81
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
issue with urlmethod 2 and news source url in beta 9

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
Sponsor
  #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,547
you need to turn outgoing urls off in admin config > OutGoing. Change it to false.

Free and Premium Pligg Hosting
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
  #3 (permalink)  
Old 01-07-2007, 03:30 PM
sixlaneve's Avatar
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 81
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 to change URL so that one click goes to news source xmlham General Help 2 05-26-2008 03:31 AM
fanrumours.com - social football news site :) seer My Pligg Site 1 03-07-2008 12:50 PM
Social News with No VOTING noyp Suggestions 1 11-22-2006 11:27 AM
DiamondBump.com (Beta): Baseball news and info Permanent4 My Pligg Site 0 04-19-2006 08:33 PM
Nabaza.info - News Searched, Categorized, Queued, Shared and Commented weblord My Pligg Site 0 02-03-2006 04:47 AM

Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Use the coupon code PLIGG at Dreamhost.com to receive a discount of up to $84.00 Make a donation to support Pligg CMS development