Site Address (URL) - causing error 404

I have the following situation which I tried to solve by using the website and forum but unfortunately no success so far

I have the following situation which I tried to solve by using the website and forum but unfortunately no success so far.

I am working on a new site (old still-now online) but when changing the Site Address (URL), i receive a error 404 when trying to accees the site www.gas-spring.

When changing the permalink settings and saving them there is no change and I still receive the error 404. When I change the Site Address (URL) back to wordpress URL everything is working fine. I stopped plugins and clearing cache etc.. but nothing seems to work.

The .htaccess is :

<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

I really would like to receive some help in resolving this. I'm a beginner with Wordpress so maybe I have overlooked something.

I use filezilla to upload the site and the files are stored in - /home/www/public_html/wordpress

If i check the following link, / , I can see some of the website loading but still with errors.

Filezilla / folder :

Please inform me if you require any more info. Thanks in advace, Regards, Stefan

I have the following situation which I tried to solve by using the website and forum but unfortunately no success so far.

I am working on a new site (old still-now online) but when changing the Site Address (URL), i receive a error 404 when trying to accees the site www.gas-spring.

When changing the permalink settings and saving them there is no change and I still receive the error 404. When I change the Site Address (URL) back to wordpress URL everything is working fine. I stopped plugins and clearing cache etc.. but nothing seems to work.

The .htaccess is :

<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

I really would like to receive some help in resolving this. I'm a beginner with Wordpress so maybe I have overlooked something.

I use filezilla to upload the site and the files are stored in - /home/www/public_html/wordpress

If i check the following link, https://www.gas-spring/wordpress/ , I can see some of the website loading but still with errors.

Filezilla / folder :

Please inform me if you require any more info. Thanks in advace, Regards, Stefan

Share Improve this question edited Nov 27, 2019 at 11:22 Stefan asked Nov 27, 2019 at 8:00 StefanStefan 136 bronze badges
Add a comment  | 

3 Answers 3

Reset to default 0

You have installed your website in public_html/wordpress so you need to move it up a directory in FTP or change your URL in the dashboard to gas-springs/wordpress.

The JSON error is because your Wordpress URL is HTTP and the Site URL is HTTPS.

You can also change site address in database direct. You can use below link to generate sql query to change your old url to new url. https://codepen.io/EightArmsHQ/full/nzEjI

and try below .htaccess code:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

I am checking links/permalinks etc... and when I edit a page and update/preview it I see the following message, "Updating failed. Error message: The response is not a valid JSON response."

I did not see this message / error before. Does it have something to do with the site not viewing properly ?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744963094a4603505.html

相关推荐

  • Site Address (URL) - causing error 404

    I have the following situation which I tried to solve by using the website and forum but unfortunately no success so far

    1天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信