Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
7 registered (smallufo, SteveS, sampsonzurich, Bjab, FordDoctor, Stan, Pilgrim), 27 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/17/12
Posts: 3
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#211673 - 05/10/08 03:03 AM .htaccess redirects
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
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.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#211676 - 05/10/08 03:13 AM Re: .htaccess redirects [Re: jgeoff]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
Top
#211678 - 05/10/08 03:15 AM Re: .htaccess redirects [Re: Ian]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

How embarrassing... clearing my cache fixed it whistle ...but only thanks to you! wink
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#211679 - 05/10/08 03:17 AM Re: .htaccess redirects [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

Sirdude fixes my server, and Ian fixes my redirects ... all in one night! laugh
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#211700 - 05/10/08 03:46 PM Re: .htaccess redirects [Re: jgeoff]
Ian Offline
Registered: 06/05/06
Posts: 4337
Loc: Essex, UK
We do our best - the bill is in the mail wink
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
12:54 AM
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image