![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| $16 to Anyone That Can Solve My Friendly Url Problem Hello pliggers! I've got $16 Canadian in my paypal account for anyone that can get my friendly urls working. lol I know $16 isn't a lot but that's all I have in my paypal account at the moment. If you know the secret to getting the friendly urls working and you share that secret with me I'll give you a whopping $16 and my gratitude. Here's my .htaccess: ##### Re-directing Begin ##### Options +FollowSymLinks RewriteEngine on RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ http://www.hollywoodscoops.com/ [R=301,L] RewriteCond %{HTTP_HOST} ^hollywoodscoops\.com$ [NC] RewriteRule ^(.*)$ http://www.hollywoodscoops.com/$1 [R=301,L] ##### Re-directing End ##### ##### Friendly URLs Begin ##### Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteRule ^story/([0-9]+)/?$ story.php?id=$1 [L] RewriteRule ^story/([a-zA-Z0-9-]+)/?$ story.php?title=$1 [L] RewriteRule ^(all|celebrity_fashion|celebrity_gossip|celebrity _rehab|hollywood_buck_offs!|hollywood_hook_ups|mov ies|music|paparazzi|television)/([a-zA-Z0-9-]+)/?$ story.php?title=$2 [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/(.+)/?$ index.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 ##### Here's what I have in my config.php: // URL Method // change both lines below $URLMethod = 1; define('urlmethod', $URLMethod); //1 = original method -- 2 = /story/25/ method. // --- // Friendly URL's for stories define('enable_friendly_urls', true); // --- As far as I know these are the only files I'm supposed to change to enable friend urls, is that correct? Could the problem be that one of my categories has an exclamation point in it? Thanks, Jay
__________________ Hollywood Scoops - The most relevant Hollywood Rag on the Net! |
| Sponsored Links |
|
Check out the New Templates at the Pligg Pro Shop.
|
| |||
| Hey 3d thanks for the reply. Unfortunately, it's still not working. Any ideas? I have B7.2 installed.
__________________ Hollywood Scoops - The most relevant Hollywood Rag on the Net! |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Seo Friendly Urls - Urlmethod 2 | canadianguy33 | General Help | 15 | 05-12-2007 08:57 PM |
| RSS and localization | jackdaw | Core Development | 5 | 05-10-2007 03:24 AM |
| Fixing Problem reporting | dwg | Bug Report | 7 | 07-28-2006 09:51 AM |
| Friendly urls | sid | Bug Report | 0 | 07-01-2006 11:14 PM |
| Problem form doesn't work! | nabil | Bug Report | 1 | 04-01-2006 07:53 PM |




Linear Mode

