.htaccess non-www url problem.
-
Hi guys,
I am trying to fix few troubles with WP setup.1. I have this .htacess file
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress RewriteCond %{HTTP_HOST} ^trade-worthy\.com [NC] RewriteRule ^(.*) https://www.trade-worthy.com/$1 [R=301,L]
The urls (https://www.trade-worthy.com/nico/) with www and slash on the ends works. But without www or / slash on the end NO. Could you help me what is wrong?
2. Second problem. I can’t log into the wp-admin section. I know that there must be some problem with spaces (empty string before session starts) but how can I find it with only access to FTP?
It’s just a blank page and I am starting to getting mad about it ?? https://www.trade-worthy.com/wp-admin
Thank you for any help.
Josef
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘.htaccess non-www url problem.’ is closed to new replies.