0

Hello,

I am having a bit of trouble using 301 redirects. I have used the following format, successfully, on many occasions (putting the following code in the .htaccess file and loading into the directory of the domain I wish to redirect):

"redirect 301 /oldpage.html http://www.newdomain.com/newpage.html"

The problem is that the pages are redirecting to: http://www.newdomain.comnewpage.html
In every instance, the slash trailing the domain name is being ignored. I am currently redirecting about 100 pages, and my website is hosted through GoDaddy. I've used this method in the past flawlessly, so I'm a little puzzled as to what I am doing wrong. To remedy the problem, I have tried changing "redirect" to "RedirectMatch", as well as pute all URL locations in quotations. Both of these methods I found after many hours of surfing the web for an answer. I'm absolutely puzzled, any ideas, input, or advice would be greatly appreciated.

Thanks,
- Teal

1
Contributor
1
Reply
2
Views
4 Years
Discussion Span
Last Post by TealList
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.