Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Need felp with simple rule

2:25 pm on Dec 24, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 17, 2004
votes: 0

Here is the url for an image

What is the rule to redirect the above url to

[edited by: jdMorgan at 4:35 pm (utc) on Dec. 24, 2005]
[edit reason] De-linked. [/edit]

4:35 pm on Dec 24, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

To answer your question specifically,

RewriteCond %{HTTP_HOST} ^111\.111\.111\.111
RewriteRule ^images/title\.withbottom\.gif$ http://www.mysite/images/title.withbottom.gif [R=301,L]

but you might consider a domain-wide redirect to help prevent anyone ever linking to your images by IP address or non-www domain, and to correct the requests if they do. That would make specific rules like this unnecessary.



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members