Hello fellow pliggers,
I have a pligg site www.hollywoodscoops.com and I'm pretty happy with it thus far except that I can't get friendly urls to work.
My htaccess file is as follows:
##### 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|pligg|category1|category2|category3)/([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 #####
Currently I have the urlmethod in the config.php file set to urlmethod 1 so as to keep the site functional. I've tried switching it to urlmethod 2 but I get 'this page is not found' when clicking on the links.
As far as I know, I'm only supposed to change the .htaccess file and config.php to get friend urls working. Is that correct?
Any help would be greatly appreciated.
Thanks,
Jay





These friendly urls are going to be the death of me! lol It's funny that such a little thing is giving me so much trouble.
Linear Mode




