Welcome to WebmasterWorld Guest from 54.145.23.244

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

redirect 301

incorrect url to correct url

     
2:05 pm on Mar 8, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:May 18, 2005
posts: 57
votes: 0


New to Apache so please bear with me.
I have been getting 404 errors caused by an incorrect website url for my site on a message board.

incorrect url is www.domain.co.uk/%22www.domain.co.uk
correct url is www.domain.co.uk

Can I use htaccess to redirect or correct this?
Thank you for your time.

Shug

5:03 pm on Mar 8, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Yes. It should be a very easy job.

First, decide whether you want to just fix this one rogue URL, or whether to also cater for any request with %22 within.

5:13 pm on Mar 8, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:May 18, 2005
posts: 57
votes: 0


Thanks for your reply.
I just have this one rogue URL. Does anyone have the code I need to input to .htaccess to fix this please.
Thanks again.
Shug
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members