Weird .htaccess issue

by Vcize
1 replies
I was attempting to set up a simple 301 redirect from Index of / to Florida Gators Blog

I created an .htaccess file with the below code, and uploaded it to iakow.com

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^iakow.com
RewriteRule (.*) http://www.inallkindsofweather.com/$1 [R=301,L]
Now, here's the really weird part. When I uploaded it via filezilla from my home computer, everything went fine. When I go to iakow.com from that computer, it redirects me to inallkindsofweather.com as it should.

However, if I go to iakow.com from another computer, it does not. In fact, when I look with filezilla on that other computer, there is no .htaccess file uploaded to iakow.com. Even weirder, when I do upload it from that computer, it gets immediately deleted as soon as it uploads.

What the heck is going on here
#htaccess #issue #weird
  • Profile picture of the author KirkMcD
    It's common in ftp programs to not show file names that begin with "."
    Check your settings on the other computer.
    That would also be why it appears to disappear after you upload it.

    Now as to why it only works one one pc, not really sure. It could be a webcache issue.
    Try holding down the CTRL and F5 key to force a full refresh, when you are on the page that isn't forwarding.
    {{ DiscussionBoard.errors[3266743].message }}

Trending Topics