after changing the “Site Address (URL)” at settings when trying to publish a new post or page an error-message comes:
“Publishing failed. The response is not a valid JSON response.“
Is it because of my .htaccess-file, because of Require User there, because of wordpress, …? What do I have to change?
The domain is situated at the hosting-company in the file-directory:
/mydifferentdomains/example_com
The directory
/mydifferentdomains/example_com/section
is secured by an .htaccess-file per “Require user”.
At settings in my WordPress-Settings page:
WordPress Address (URL)
https://www.example.com/section/wp
Site Address (URL)
https://www.example.com/section/wp
There I change the Site Address (URL) to auf https://www.example.com
After the change the .htaccess-file reads:
RewriteEngine On
#Options FollowSymLinks
ErrorDocument 404 default
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
ErrorDocument 404 default
# ErrorDocument 404 /neuanlegen.php?aktion=DateiNichtVorhanden
# Next three lines by the hosting company, after I activated the SSL-certificate coming with my contract.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
But now whenever trying to “Publish” a new post or page the error-message comes up:
“Publishing failed. The response is not a valid JSON response.”
—–
(Once I accomplished this I will switch the setting to use Permalinks..)
]]>Your help would be very much appreciated!
Thank you and have a nice day!
Here is a picture of what I did and want to do.
https://i61.tinypic.com/zvbecx.png
]]>I’m having doubts about my site url:
WordPress Adress: https://domain.com/wordpress
Site Adress: https://domain.com/florida
> I recently added /florida for SEO purposes, is this ok?
> I asked my host now to forward domain.com to domain.com/florida.
Is this ok? While there is no folder on the server called ‘florida’… Or wordpress takes care about this?
> I also added an index.php redirection page in the root to domain.com/florida.
Is this whole process correct or too complicated for SEO and general purposes?
Best regards,
Pieter
]]>So, I have a new WP installation on a location that is not root but inside a folder. I think I succesfully changed what it’s needed because it seems to be working (I wanted https://cenizasenelaire.com/ to point to the installation on https://cenizasenelaire.com/cenizas). Thing is, I can’t change Site adress (url) to https://cenizasenelaire.com/ in the WP options. It’ll show “403 Forbidden / Access to this resource on the server is denied!” when trying to save. So, WP doesn’t recognize “cenizasenelaire.com” as the frontpage but “cenizasenelaire.com/cenizas”. What could I’ve missed? Maybe I just can’t change that?
Thanks in advance.
]]>I am hosting my own Ubuntu server.
The installation went fine and everything seem to work, but I just can’t seem to fix the following:
under Settings -> General
WordPress Address (URL): https://84.107.47.206
Site Address (URL) : https://84.107.47.206
I want to change the Site Address to https://www.skware.nl
It’s a domain it registered at mijndomein.nl
I configured the domain so that It redirects to 84.107.47.206.
I want to set the Site Adress to skware.nl for SEO improvements.
Whenever i set the Site Adress to skware.nl, and skware.nl is visited with any browser, only the main page loads.
I hope someone can point me out on whatever this problem may be.
Sebastiaan
]]>I wonder if there is any way to have access to the general settings to go back with the changes?
In the other hand, I would like to know in wich folder are the post.
thanks a lot
I had a WP site up and running. Recently, I went into the dashboard and changed the site address & URL from this: www.mysite.com/wp/
To this: www.mysite.com/
When I clicked Save Changes it directed me to a broken link page on Google. Now I am unable to get the prompt to login to my dashboard. The homepage still exists when you go to: www.mysite.com/wp/ here, all the posts are missing and the source title says Page not found. Does anybody have any thoughts or solutions to this problem?
Thanks in advance!!
]]>