简体   繁体   中英

Redirecting Issue - Site only redirecting on mobile but not on Desktop

I have this site on WordPress http://vergelabogados.pe/ and I make a redirect in the index.php to another site
But nothing happens on desktop, but in a mobile device works fine. I try to find out code on .htaccess file, index file, but I can't find nothing. I Google it but not found any helpful solution. Any suggestion what could be the reason for this. Thanks

Add this code to your .htaccess file :
Permanently redirect all request to yourdomain.com/index.php to another site : Redirect 301 index.php http://another.site/
Permanently redirect all request to yourdomain.com (Root domain) to another site : Redirect 301 index.php http://another.site/

More info : https://mediatemple.net/community/products/grid/204643080/how-do-i-redirect-my-site-using-a-htaccess-file

// This allows you to redirect your entire website to any other domain

Redirect 301 / http://max2colors.com/ use this in htaccess file

visit this http://max2colors.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM