![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| 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 ##### |
| Sponsored Links |
|
Check out the New Modules at the Pligg Pro Shop.
|
| ||||
| 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. |
| The Following User Says Thank You to kbeeveer46 For This Useful Post: | ||
| ||||
| a-ah. tnx! |
| |||
| 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??? |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
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 |






Linear Mode

