as in the title.
I've got the modrewrite in the server, .htaccess is uploaded, URLMethod is set to 2 and Friendly URL's for categories and Friendly URL's for stories are set to true.
Everything works fine, apart from the stories... I get either a blank page (is Friendly URL's for stories is false) or a 404 (if Friendly URL's for categories is true)
any idea/help?
![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
|
Hi sixlaneve Could you paste your .htaccess file? I am using urlmethod 2 and my .htaccess looks like this.. ##### Re-directing Begin ##### Options +FollowSymLinks RewriteEngine on RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ http://www.scooptube.com/ [R=301,L] RewriteCond %{HTTP_HOST} ^www.scooptube\.com$ [NC] RewriteRule ^(.*)$ http://scooptube.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 ^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 ^tag/(.+)/?$ search.php?search=$1&tag=true [QSA,NC,L] 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 ^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 #####
__________________ Visit PliggPro the official Pligg Mods & Template Shop! |
| |||
|
@chuckroast Does your "edit" link work in the comments section? I am using the same file as you do and it doesn't. Please let me know.
__________________ Pligg - a Swiss version of Pligg (very much online) |
| ||||
|
chuckroast, I tried your file (of course i changed the domain name)... URL Method 2 now works correctly for stories, but friendly url doesn't still work for stories. also, when I click on the link of the original news, it goes to the same page. :/ |
| |||
| Did you paste the rewrite code for categories?
I may not understand your problem correctly, but this sounds like one I had. I realized that I hadn't updated line 16 in the .htaccess file with the new on provided at the bottom of the Category Management page. Line 15, above says: ##### When categories change, you must replace the following line with the new one pre-made for you in the category management section of the admin panel, bottom of the page. ###### This update made the story titles actually link to the story pages. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Friendly urls not working | WebDesignGoldmine | General Help | 6 | 06-21-2008 04:46 AM |
| Has anyone got Friendly Urls (Url Method 2) working? | revolver | General Help | 11 | 05-08-2008 12:32 AM |
| Seo Friendly Urls - Urlmethod 2 | canadianguy33 | General Help | 15 | 05-12-2007 09:57 PM |
| Search and friendly urls problem | pligiro | Bug Report | 1 | 02-27-2007 11:43 AM |
| Simplified Friendly Urls idea | revolver | Suggestions | 0 | 11-07-2006 01:20 PM |






Linear Mode

