i have a wordpress with multisite. I redirected my domain to my host and now, when i check my website, my urls are domain.com/domain.com/wp-contents/[...]
In my console, the same :
"NetworkError: 404 Not Found - http://example.com/example.com/wp-content/uploads/2017/08 ...
Here is my .htaccess :
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPresshtaccess
I tried to remove htaccess. And i dont have access to wp-admin be cause always redirected.
Any idea ?
解决了,问题出在数据库wp_1_options上,是“ example.com”,我更改为“ http://example.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.