I’m moving a site to a new host. The htaccess file on the old host was working great for friendly urls like mysite.com/contact
RewriteRule ^/([a-zA-Z0-9_-]+)$ index.php?var1=$1
However, on the new host, I have a temporary address to browse, which I think is my problem. I’ve got an address like: http://00.00.00.000/~mysite/ until the actual domain is transferred…
first line of my htaccess: DirectoryIndex index.php
This is working correctly, so I know the htaccess file is being found and at least functioning…
I’ve tried the unaltered rule as the original and a number of other combinations. Can’t get it to work.
File (not working) as it sits currently is:
RewriteRule ^/~mysite/([a-zA-Z0-9_-]+)$ index.php?var1=$1