Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 6th Jun 2014, 02:15 AM   #1
Warrior Member
 
Join Date: 2014
Location: Earth
Posts: 14
Thanks: 3
Thanked 1 Time in 1 Post
Default
Need help in HTACCESS url redirection
Share on: 
fb share twitter share gplus share more share

Hi,

How can I redirect my url in HTACCESS.. can anyone let me know because i want to know that how can i do ? so i could implement in project because i heard its easy in htaccess.

Regards
peter

peter09 is offline  
Unread 6th Jun 2014, 08:47 AM   #2
Advanced Warrior
 
Join Date: 2007
Location: , , Canada.
Posts: 563
Thanks: 2
Thanked 101 Times in 88 Posts
Default
Re: Need help in HTACCESS url redirection
Share on: 
fb share twitter share gplus share more share

have you tried doing a google search?

Redirect to a Different URL using .htaccess:*Web Site Maintenance:*Tools and Guides:*IU Webmaster:*Indiana University

or forum serach?
http://www.warriorforum.com/main-int...cess-file.html
crams is offline  
Unread 6th Jun 2014, 09:56 AM   #3
Software Developer
War Room Member
 
Nuke07's Avatar
 
Join Date: 2012
Location: Planet Earth
Posts: 516
Thanks: 69
Thanked 36 Times in 32 Posts
Arrow
Re: Need help in HTACCESS url redirection
Share on: 
fb share twitter share gplus share more share

Originally Posted by peter09 View Post

Hi,

How can I redirect my url in HTACCESS.. can anyone let me know because i want to know that how can i do ? so i could implement in project because i heard its easy in htaccess.

Regards
peter
you can make 301(Permanent) & 302(Temporary) redirect in htaccess. Like:


For e.g:
Redirect 301 / Example Domain

Nuke07 is offline  
Unread 6th Jun 2014, 11:33 AM   #4
Active Warrior
 
webdeveloperindia's Avatar
 
Join Date: 2011
Location: RiseCommerce.Com @ India !
Posts: 89
Thanks: 10
Thanked 5 Times in 5 Posts
Default
Re: Need help in HTACCESS url redirection
Share on: 
fb share twitter share gplus share more share

I am agree with @crams and @Nuke07
you can also try
Redirect 301 /oldpage.html http:// www. yoursite. com/newpage.html

webdeveloperindia is offline  
Unread 7th Jun 2014, 03:31 AM   #5
Warrior Member
 
cr726shd's Avatar
 
Join Date: 2013
Posts: 16
Thanks: 8
Thanked 0 Times in 0 Posts
Default
Re: Need help in HTACCESS url redirection
Share on: 
fb share twitter share gplus share more share

Tricky business. PM me and the site and let me have a look!
cr726shd is offline  
Unread 11th Jun 2014, 05:40 AM   #6
Warrior Member
 
Daisyonta's Avatar
 
Join Date: 2014
Posts: 7
Thanks: 0
Thanked 2 Times in 1 Post
Default
Re: Need help in HTACCESS url redirection
Share on: 
fb share twitter share gplus share more share

Good query. Here is the PHP code for Url redirection..

PHP Code:
<?
    Header( "HTTP/1.1 301 Moved Permanently" ); 
    Header( "Location: http://www.new-url.com" ); 
?>

Daisyonta is offline  
Closed Thread


Bookmarks

Tags
htaccess, redirection, url


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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 01:53 AM.