Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » Running WordPress » Web Hosting for WordPress »

[SOLVED] How to do a redirect?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 1, 2009, 02:50 PM
Shepherd Jim's Avatar
Shepherd Jim
 
301 posts · Feb 2009
Bristol, midcoast Maine USA
[SOLVED] How to do a redirect?

All this talk of redirects has me bringing this up again.

Our old website had a page that much linked to from all over:

http://www.hatchtown.com/nostdir.html

I want to maintain that same URL but have people who go there be redirected to a new, and better!, page in the WP-powered site, maybe:

http://hatchtown.com/tools/misc-tools

How DO I set up the redirect?
  #2  
Old Apr 1, 2009, 03:14 PM
bcorrigan
 
85 posts · Feb 2009
Jim you do this in your .htaccess file.

take a look here:
http://www.webweaver.nu/html-tips/web-redirection.shtml

-Bill
  #3  
Old Apr 1, 2009, 09:57 PM
Shepherd Jim's Avatar
Shepherd Jim
 
301 posts · Feb 2009
Bristol, midcoast Maine USA
Hey thanks Bill!

You put me onto some good stuff! I'm now reading a bunch about maybe trying to solve my "canonical URL" problem:

ie. what used to show up as http://www.hatchtown.com/ has been only http://hatchtown.com/

I want my "www" back!

Thanks again!
  #4  
Old Apr 18, 2009, 09:12 AM
Shepherd Jim's Avatar
Shepherd Jim
 
301 posts · Feb 2009
Bristol, midcoast Maine USA
Bottomline: I have the "www" consistently appearing as part of my websites' URLs in my various browsers.

I wish I could say that I completely understand HOW I managed that. I have to say the .htaccess seems to be a bit of magical mystery. There are a lot of people out there who have figured out ONE way to do something (probably by trial and error!) and happily go off telling everyone else how to do it. Now, there'll be someone else who's doing that same thing BUT with COMPLETELY different code. Which way is better? Why the difference? Suddenly, everyone gets very quiet.

The one thing that I think that I have learned is that changes to .htaccess files can take a little time to "work their way" into the server/browser "thing". You have to make a change and then jump around between webpages, re-loading and refreshing as you go. Count to 100. Sometimes, what you were hoping would happen will suddenly POP onto your screen.

Bookmarks

Tags
legacy url, redirect

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Redirect Loop" Issue When Clicking ANY blog link!!?? River2Horses Atahualpa 3 Wordpress theme 5 Sep 29, 2010 02:47 PM
Header feed-links to sidebar? + redirect pages? net-prophet RSS, Feeds & Subscribing 3 Feb 8, 2009 02:05 PM


All times are GMT -6. The time now is 11:40 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.