Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-17-2007, 09:26 PM   PM User | #1
700lbGorilla
New Coder

 
Join Date: Aug 2005
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
700lbGorilla is an unknown quantity at this point
Hep with mod rewrite redirect

I'm trying to redirect a url like domain.com/blog/coding-demos to domain/blog/coding-demos/ I need the slash added for a class to function correctly. The problem is coding-demos isn't a real directory it is through a rewrite.

I tried RewriteRule ^blog/([A-Za-z0-9-]+)$ blog/$1/ [R=301, L] but that caused a 500 error. Just wondering if someone can help.
700lbGorilla is offline   Reply With Quote
Old 08-18-2007, 05:02 AM   PM User | #2
gemguy
New Coder

 
Join Date: Apr 2007
Location: India
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
gemguy has a little shameless behaviour in the past
redirect error

Hi,

More information about this error may be available in the server error log so just check out your error log.
__________________
GemGuy

Be friend of me
Hey what a fun
gemguy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:13 PM.


Advertisement
Log in to turn off these ads.