Why isn't my redirect working?

bass_junkie83

Suspended / Banned
Messages
4,367
Name
Dave
Edit My Images
Yes
I use .com for my website as the .co.uk option was taken, but not being used by anyone.
Then this morning, I got a phone call from a particuarly arrogant person from nominet letting me know that .co.uk had become available and they wanted to offer it to me, for the princely sum of £100+vat for two years, oh, and garunteeing me page one of google of course.
I said it was fine, I'm not going to pay overinflated prices for it and said I would buy it myself elsewhere. At this point he tried telling me they had it held on their system and that it's fine if I didn't want it, he'll just go and sell it to someone else. Five minutes later I had bought it via my host for a fiver.

Anywho. I have updated my htaccess file to redirect the new .co.uk to my existing .com address. I already had these redirects in place.

RewriteCond %{HTTP_HOST} ^photographerinessex.com$
RewriteRule ^(.*)$ "http\:\/\/www\.photographerinessex\.com\/$1" [R=301,L]
RewriteCond %{HTTP_HOST} ^davidwalker-photography.co.uk$
RewriteRule ^(.*)$ "http\:\/\/www\.photographerinessex\.com\/$1" [R=301,L]
RewriteCond %{HTTP_HOST} ^www.davidwalker-photography.co.uk$
RewriteRule ^(.*)$ "http\:\/\/www\.photographerinessex\.com\/$1" [R=301,L]




So I copied that to include the following.


RewriteCond %{HTTP_HOST} ^photographerinessex.co.uk$
RewriteRule ^(.*)$ "http\:\/\/www\.photographerinessex\.com\/$1" [R=301,L]
RewriteCond %{HTTP_HOST} ^www.photgrapherinessex.co.uk$
RewriteRule ^(.*)$ "http\:\/\/www\.photographerinessex\.com\/$1" [R=301,L]


But, its not working. When I go to my .co.uk address, that's exactly what I see, I am not getting redircted to my .com

Is tere something stupid that I have missed? I cant see it!
 
nominet are a not for profit organisation.. deffo wasnt them .......
 
Yeah, I figured it was either really poor practice, or down right dodgy, either way I wasn't going to play ball with them.
 
Yeah, I figured it was either really poor practice, or down right dodgy, either way I wasn't going to play ball with them.

Happened to a mate of mine, they charge you £100 then go buy it for a fiver! Not bad if you can get away with it!
 
Nope, no longer have cpanel. My new host doesn't have it, it's the one thing I really miss!
 
It works for me, maybe caching or just needs time to re-route?

edit: sorry second one with www goes nowhere page not found - because you mis-spelled photographer (!)
 
Last edited:
Thats why it was a fiver....oops


Looks like it was just a typo in the OP. He's registered the correct URL
 
Last edited:
Ahh there it is. I have been staring at it for ages trying to spot the obvious mistake. What an idiot!
Thank you!
 
Ahh there it is. I have been staring at it for ages trying to spot the obvious mistake. What an idiot!
Thank you!

At least it was a simple to fix issue. I'm a bit dyslexic. I have a number of useless URL's...:D
 
Back
Top