View Single Post
  #1 (permalink)  
Old 01-07-2007, 12:01 PM
sixlaneve's Avatar
sixlaneve sixlaneve is offline
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