Previous Thread
Next Thread
Print Thread
Hop To
#211673 05/10/2008 2:03 AM
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

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.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837

Ian #211678 05/10/2008 2:15 AM
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

How embarrassing... clearing my cache fixed it whistle ...but only thanks to you! wink


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

Sirdude fixes my server, and Ian fixes my redirects ... all in one night! laugh


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
We do our best - the bill is in the mail wink


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
UBB 20 Years button
by Morgan - 02/20/2024 4:21 PM
Attachment/Cloudflar
e issue

by Morgan - 02/15/2024 5:47 AM
Forums down
by Nightcrawler - 02/14/2024 2:31 PM
How is this possible?
by Baldeagle - 02/08/2024 2:49 PM
Error Logs
by Outdoorking - 02/03/2024 9:41 PM
Who's Online Now
0 members (), 455 guests, and 398 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)