Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Jan 2015, 06:25
bskr84 bskr84 is offline
 
Join Date: Aug 2010
Unhappy .htaccess redirect

Hello,

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

My main domain name: abc.com

When a user enters the URL(http://z.abc.com) in the browser

then redirect to this url http://www.abc.com/forumdisplay.php?f=262

how can i do that

Last edited by bskr84; 08 Jan 2015 at 07:03.
Reply With Quote
  #2  
Old 08 Jan 2015, 09:43
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008

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

backup first has not been tested
Reply With Quote
  #3  
Old 08 Jan 2015, 09:59
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Or a simple 301 would work

Redirect 301 / http://www.abc.com/forumdisplay.php?f=262
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

Reply With Quote
  #4  
Old 08 Jan 2015, 23:11
bskr84 bskr84 is offline
 
Join Date: Aug 2010
Originally Posted by ForceHSS View Post
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

backup first has not been tested
Originally Posted by RichieBoy67 View Post
Or a simple 301 would work

Redirect 301 / http://www.abc.com/forumdisplay.php?f=262
but, the browser notice "Error 105 (net :: ERR_NAME_NOT_RESOLVED): Unable to locate this server."
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 01:31.

Layout Options | Width: Wide Color: