Need help on how to do a redirect via htaccess, Frontpage2003 and Apache - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Site and Server Administration » Need help on how to do a redirect via htaccess, Frontpage2003 and Apache


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 08-01-2006   #1 (permalink)
aaron
Junior Member
 
Join Date: Jul 2006
Age: 52
Posts: 24
Default Need help on how to do a redirect via htaccess, Frontpage2003 and Apache

HI,

I have been trying to use a redirect command in my .htaccess file. The website was created via Frontpage2003 and it resides on an apache server.

The redirect command I use is:

Redirect /Ceiling%20Fan%20Wiring.htm Ceiling Fan Wiring | House Wire | Electrical Light

I am trying to do this redirect so that my site visitors stop getting 404 errors when they click on a search result from Google, Yahoo, MSN, etc.

This is critical to resolve as my public_html area is max’d out (nearly 500 files), and as a result, I need to create sub-directories and moves files. As I move files to these new subdirectories I will get many pages with 404 errors based on Search engine results.

Any help would be appreciated.

Thanks,
aaron
aaron is offline   Reply With Quote


Old 09-26-2006   #2 (permalink)
Ajay
Senior Member
 
Ajay's Avatar
 
Join Date: Aug 2006
Age: 26
Posts: 755
Default Re: Need help on how to do a redirect via htaccess, Frontpage2003 and Apache

If you have moved a lot of files and these are spread across a lot of directories, then you got a great deal of work on your hands!

I suggest just adding:

Code:
ErrorDocument 404 /
to your .htaccess. This will direct users to your homepage in case they land on a 404.

Alternatively, you can add

Code:
ErrorDocument 404 /404.html
Create a 404.html with instructions telling users that you restructured your site.
Also, add a google search box (if you have signed up with adsense) to your site to let users search it.
__________________
Ajay D'Souza

Techtites - Your daily dose of all things Tech!

Sir Arthur Conan Doyle | I Sent This

WebberZone Domains
Ajay is offline   Reply With Quote

Reply



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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
redirect and Page Ranking austin PPC Search Engines 1 10-11-2006 05:12 AM
Apache breaks with large files justin Site and Server Administration 1 09-26-2006 07:34 PM
Installing Apache on a IIS and Mysql configured Windows Xp. justin Site and Server Administration 1 08-01-2006 05:00 PM


footer left
All times are GMT. The time now is 01:53 AM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Loans | Credit Card | Credit Cards | Credit Cards | Loans

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49