Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 31 Mar 2010, 11:37
jscieza jscieza is offline
 
Join Date: Apr 2007
.htaccess redirect

Hello,

I want to make a redirect like this through .htaccess:

from: http://www.forosperu.net/forumdisplay.php?f=282
to: http://www.forosperu.net/forumdisplay.php?f=323

I have just tried placing something like this on my .htaccess with no luck


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It's possible to do it using .htaccess?

Thank you,
Jonathan

Last edited by jscieza; 02 Apr 2010 at 03:45.
Reply With Quote
  #2  
Old 01 Apr 2010, 16:00
jscieza jscieza is offline
 
Join Date: Apr 2007
Any idea?
Reply With Quote
  #3  
Old 01 Apr 2010, 22:04
jdaw jdaw is offline
 
Join Date: Apr 2010
Try adding the "RewriteEngine on" just before the redirect.
I put one before each set of rules.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #4  
Old 02 Apr 2010, 03:50
jscieza jscieza is offline
 
Join Date: Apr 2007
Thanks but "RewriteEngine on" is present at the begin of .htaccess

Anyone here knows a possible workaround for this?
Reply With Quote
  #5  
Old 02 Apr 2010, 14:57
kNeeLy's Avatar
kNeeLy kNeeLy is offline
 
Join Date: Nov 2008
Real name: kneel
just a guess here...but maybe you need the http:// in the first link in the rewrite. It looks like you have it in the second part, but not the first.
__________________
The Best Toyota Forum for enthusiasts!
Reply With Quote
  #6  
Old 03 Apr 2010, 20:20
jdaw jdaw is offline
 
Join Date: Apr 2010
I am VERY well aware that the RewriteEngine On command is at the beginning.

What I am suggesting you try, based on me having he same issue, is putting the RewriteEngine On command before every different set of rules.

The first set of rules here will redirect yoursite.com to www.yoursite.com.
The second set will redirect all yoursite.com/index requests to yoursite.com/
Both of these will help you avoid duplicate content penalties.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by jdaw; 06 Apr 2010 at 17:03.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 09:34.

Layout Options | Width: Wide Color: