Gil Posted May 8, 2020 Share Posted May 8, 2020 (edited) Hi, I usually connecto to my website through a foward domain. The address shown then is "myname.byethost33.com/?i=1" Well, often what I see is the "Congratulations!" page, some times my website. Instead, if I go directely on "myname.byethost33.com" I can see everything right. Why? Edited May 8, 2020 by Gil Link to comment Share on other sites More sharing options...
Gil Posted May 9, 2020 Author Share Posted May 9, 2020 Hi, thanks for your replay. fortunately I don't have this problem anymore. I don't understand what was the problem. Anyway, could you please tell me how to use .htaccess to do a 301 redirect? It could be useful for me to know this. Thanks a lot. Link to comment Share on other sites More sharing options...
ma na tau Posted May 10, 2020 Share Posted May 10, 2020 We all, have the same problems here... ? I think, its not work fine... Link to comment Share on other sites More sharing options...
Gil Posted May 10, 2020 Author Share Posted May 10, 2020 5 hours ago, 360 said: Hi there, There's so much you can do with .htaccess and Redirect rules. For example, if you'd like to redirect the subdomain to another one, modify the code below to your needs and paste it in a file named .htaccess. The file should be located in the htdocs folder (Where your site's contents are located.) RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com [NC,OR] RewriteCond %{HTTP_HOST} ^www.example.com [NC] RewriteRule ^(.*)$ https://example.net/$1 [L,R=301,NC] You can search up how to do these, and you'll find plenty of useful tutorials. Please let me know if there is anything else that you need help with or have questions about. Thanks a lot. You're very kind. Link to comment Share on other sites More sharing options...
Recommended Posts