Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
2 registered (Jim, packlite), 23 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 02/15/08
Posts: 17
Top Posters (30 Days)
Ruben Rocha 103
Rick 81
Mark S 72
Thelockman 56
Gizmo 54
driv 35
ntdoc 32
Sirdude 29
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#211673 - 05/10/08 12:03 AM .htaccess redirects
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1901
Loc: NJ

This has nothing to do with Threads, but I thought someone might be able to help -- maybe my syntax is wrong or something? I created a new site on a new domain altogether for a subdirectory of the old site. There were a bunch of Google links that I want to redirect to the new site, so I figured .htaccess was the way to go. But it's not working properly...

I want:
http://www.mineroff.com/nature/service.htm
To forward to:
http://mineroff-nature.com/nature/repairs.php
So I used this line in .htaccess:
Code:
Redirect 301 /nature/service.htm http://mineroff-nature.com/nature/repairs.php

But it ends up going to:
http://mineroff-nature.com/nature//service.htm [404]


But this DOES work:

I want:
http://www.mineroff.com/nature/me67.htm
To forward to:
http://mineroff-nature.com/nature/sennheiser-mic-systems-c-22.html
When I used this line in .htaccess:
Code:
Redirect 301 /nature/me67.htm http://mineroff-nature.com/nature/sennheiser-mic-systems-c-22.html


And so does this:

I want:
http://www.mineroff.com/nature/sscopes.htm
To forward to:
http://mineroff-nature.com/nature/digital-camerasbinoculars-c-32.html
When I used this line in .htaccess:
Code:
Redirect 301 /nature/sscopes.htm http://mineroff-nature.com/nature/digital-camerasbinoculars-c-32.html



Am I missing something in the first one??
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#211676 - 05/10/08 12:13 AM Re: .htaccess redirects [Re: jgeoff]
Ian Moderator Offline

***

Registered: 06/05/06
Posts: 4176
Loc: Essex, UK
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....))

Top
#211678 - 05/10/08 12:15 AM Re: .htaccess redirects [Re: Ian]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1901
Loc: NJ

How embarrassing... clearing my cache fixed it whistle ...but only thanks to you! wink
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#211679 - 05/10/08 12:17 AM Re: .htaccess redirects [Re: jgeoff]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1901
Loc: NJ

Sirdude fixes my server, and Ian fixes my redirects ... all in one night! laugh
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#211700 - 05/10/08 12:46 PM Re: .htaccess redirects [Re: jgeoff]
Ian Moderator Offline

***

Registered: 06/05/06
Posts: 4176
Loc: Essex, UK
We do our best - the bill is in the mail wink
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....))

Top


Shout Box

Today's Birthdays
GOTMYSELFA...., smilinjack
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
Today at 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
Yesterday at 10:00 PM
Chaging the "max online" number and date
by wanted
Yesterday at 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
Yesterday at 10:26 AM
Custom island with sql connection
by Robje01
Yesterday at 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156014 Posts

Max Online: 978 @ 06/24/07 08:19 PM