SuperRembo Posted June 9, 2014 Report Share Posted June 9, 2014 Sveiki, varbūt kāds var ar šo skādi palīdzēt atrisināt. Izmantoju nano.lv Šo itkā iemetu tajā .htaccess bet rezultātu neredzu. In order to pass this test you must consider using a 301 re-write rule in your .htaccess file so that your site's IP points to your domain name. If your site is running on apache server, you could put these lines in your .htaccess after RewriteEngine on line: RewriteCond %{HTTP_HOST} ^XXX\.XXX\.XXX\.XXX RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L] Note that you must proper format the first line using your IP (replace X characters with proper digits from your IP) and the second line using your domain name. Link to comment Share on other sites More sharing options...
BOT^a Posted June 10, 2014 Report Share Posted June 10, 2014 (edited) RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} !^(www\.)?yourdomain\.com$ [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/lat [L,R] Edited June 10, 2014 by BOT^a Link to comment Share on other sites More sharing options...
SuperRembo Posted June 15, 2014 Author Report Share Posted June 15, 2014 Es jau no nano.lv saņemu ziņu, nav iespējams, vajag virtualo serveri ņemt. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now