

These are the headers obtained with two different browsers. RewriteCond % ^(RewriteRule ^(/)?$ wp_dir/index.php Here is the current htaccess in the root directory (without the mess): # SSL rewrite How can it work well when you access it in a desktop computer, and not in a mobile phone? Obviously I've done something wrong, but I can't figure out what that is. The htaccess file is pretty messed up with many different instructions (SSL, non-www redirection, permissions to other subdirectories for management applications, block exploits, etc).

Something is not working ok, or in the proper order, but I can't find what. I have also tried removing the directives, in order to allow the instructions to continue being executed, but to no avail. In mobile, instead, when you type "", the url changes to "/wp_dir", with SSL, and menu links are shown, but shows a 404 error. In desktop, the site is rendered well: when you type "", it renders the wordpress site well, from the wordpress installed in wp_dir folder, with SSL and everything. It works well, in desktop, but not in mobile. I have followed the instructions in, specifically: I have a website made in WordPress, installed in a subdirectory (let's call it "wp_dir").
