Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Aug 2012, 09:01
Baitona Baitona is offline
 
Join Date: May 2005
url redirect .htaccess

I am getting lots of errors in the server log due to an old test folder called
forum03092011

any one can help in wrining a redirect line to redirect all requestes like

http://www.baitona.net/forum03092011/106397-post1.html

to

http://www.baitona.net/forum/106397-post1.html
__________________
Baitona.com - Always One Step Ahead
ASP, JSP, PHP, SQL - Programming, Hosting and Design
Web: http://www.baitona.com
Email: [email protected]
Reply With Quote
  #2  
Old 24 Aug 2012, 01:19
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Real name: Shawn
in your folder called "forum03092011" cant you create a .htaccess file redirect and add:

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

??
__________________
Sorry Guys, just a little busy lately.
Reply With Quote
  #3  
Old 24 Aug 2012, 06:48
Baitona Baitona is offline
 
Join Date: May 2005
thanks Jaycob,
that code work as i have tried it before

howerver it means that the folder "forum03092011" needs to be present all time as it hosts the .htaccess file!!
My questions is what is the way/line i can modify in the root .htaccess in "www.baitona.net"
to do the redirect perminantly , and the folder forum03092011 can be deleted
__________________
Baitona.com - Always One Step Ahead
ASP, JSP, PHP, SQL - Programming, Hosting and Design
Web: http://www.baitona.com
Email: [email protected]
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 03:04.

Layout Options | Width: Wide Color: