Go Back   Pligg Forum > Pligg Help > General Help
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-07-2007, 11:01 AM
sixlaneve's Avatar
sixlaneve sixlaneve is offline
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 73
Downloads: 18
Uploads: 0
Thanks: 6
Thanked 6 Times in 5 Posts
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
Sponsored Links
Check out the New Modules at the Pligg Pro Shop.
  #2 (permalink)  
Old 01-07-2007, 12:52 PM
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
you need to turn outgoing urls off in admin config > OutGoing. Change it to false.
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
The Following User Says Thank You to kbeeveer46 For This Useful Post:
  #3 (permalink)  
Old 01-07-2007, 02:30 PM
sixlaneve's Avatar
sixlaneve sixlaneve is offline
Send a message via ICQ to sixlaneve Send a message via AIM to sixlaneve
Casual Pligger
 
Join Date: Dec 2006
Location: Rome
Posts: 73
Downloads: 18
Uploads: 0
Thanks: 6
Thanked 6 Times in 5 Posts
a-ah. tnx!
Reply With Quote
  #4 (permalink)  
Old 07-04-2007, 05:29 PM
sanmi1234 sanmi1234 is offline
New Pligger
 
Join Date: Jan 2007
Posts: 5
Downloads: 4
Uploads: 0
Thanks: 0
Thanked 1 Time in 1 Post
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
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
News 2 - The New News Generation slashpix My Pligg Site 11 09-23-2007 03:15 AM
Social News with No VOTING noyp Drawing Board 1 11-22-2006 10:27 AM
DiamondBump.com (Beta): Baseball news and info Permanent4 My Pligg Site 0 04-19-2006 07:33 PM
Nabaza.info - News Searched, Categorized, Queued, Shared and Commented weblord My Pligg Site 0 02-03-2006 03:47 AM
Pligg Double Beta Alpha Omega Preview 6 Yankidank Retired Threads 4 01-13-2006 07:29 PM


LinkBacks Enabled by vBSEO 3.0.0