View Single Post
  #1 (permalink)  
Old 07-21-2006, 12:13 PM
canadianguy33 canadianguy33 is offline
New Pligger
 
Join Date: Apr 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
$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
Reply With Quote