Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
0 registered (), 18 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 07/21/06
Posts: 1792
Top Posters (30 Days)
Ruben Rocha 187
Gizmo 107
Rick 100
Thelockman 83
driv 41
AllenAyres 35
Sirdude 29
ntdoc 28
Ian 24
ScriptKeeper 18
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#211673 - 05/10/08 12:03 AM .htaccess redirects
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1885
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: 4160
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: 1885
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: 1885
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: 4160
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
kimteague_5@msn.com, Trekkie, Trixie
Recent Topics
Issue mass-emailing
by Mitch P.
Today at 12:55 PM
Inclusion of Locked/Closed thread capabilities
by QSS Tim
Today at 11:17 AM
Contact Page Problem
by David DelMonte
Today at 09:05 AM
FAQ bug,
by BreeOge
Today at 08:36 AM
I'm the Admin but.....
by David DelMonte
Yesterday at 11:12 AM
Forum Stats
4261 Members
33 Forums
30539 Topics
155016 Posts

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