Previous Thread
Next Thread
Print Thread
Hop To
#211673 05/10/2008 3: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 3: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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Gizmo), 343 guests, and 134 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)