At some point after Oct 4, 2024 (according to the Wayback Machine), the /blog subfolder of my WordPress install stopped working. This is also where my WordPress install is located, so that means that I am also not able to access my wp-admin web interface.
I have tried disabling my plugings using phpMyAdmin and tried deleting the two unused themes.
Although https://allenwp.com/blog and https://allenwp.com/blog/wp-admin are no longer functioning, the root website, https://allenwp.com is still functioning without issue, so it appears that the WordPress install is still functioning correctly in some ways.
Unfortunately, I configured my wordpres install to have this sort of directory structure back in 2023 using an online guide and have since entirely forgotten what approach I used at the time.
Is anyone aware of an update or change that may have affected this sort of WordPress install?
]]>https://lnx.sinapsi.org/public/triangoli.htm
will be indexed in sitemap?
If I check with Google Search Console it says: the URL is not indexed
my sitemap: https://www.sinapsi.org/wordpress/sitemap.xml
]]>https://lnx.sinapsi.org/public/triangoli.htm using:
https://search.google.com/search-console?resource_id=sc-domain%3Asinapsi.org
I get: the URL is not indexed. So how could I index the subfolder https://lnx.sinapsi.org/public/ ?
My sitemap is located here: https://www.sinapsi.org/wordpress/sitemap_index.xml
But how could add a site map here:
https://lnx.sinapsi.org/public/sitemap_index.xml
Thanks.
]]>I have a website, and a WordPress install on it in a subfolder. I’m hosted on Dreamhost.
I installed ActivityPub and set it up okay, but can’t find the account @[email protected] via Mastodon.
I installed webfinger. Site Health shows an error: “WebFinger endpoint is not accessible”.
My site has a /.well-known/ folder in the root. There is no /.well-known/ folder in the subfolder (the root of the WP install).
I’ve searched and read quite a few threads around this problems, but I’ve found it confusing, and I don’t know if it’s a problem with .well-known, or with Dreamhost, or with .htaccess or some combination or something else. (I also don’t know if this should be in the ActivityPub forum or the Webfinger forum. Apologies it’s in the wrong place.)
I have another site (entirely different URL), also on Dreamhost, with a WP which is hosted on a subdomain, and ActivityPub (without webfinger) gets that one on to the fediverse fine.
Given that I don’t want to move the problem WP to a subdomain, but leave it in its subfolder, can you please advise how to get this WP to appear on the fediverse?
Thanks.
Latest WordPress/Woocommerce/Hiippoo Plugin and App installation. Problem is that I can not connect the application to my website most probably because I am running wordpress in a subfolder of server root directory.
By trying to connect using both auto connection feature and API keys I end up on Error 404 Page.
Please note that website is in maintenance mode but problem is still present even if set to live mode (uncached).
Any help would be very appreciated, best regards.
Francesco
Now, like I said before I’ve already used your plugin many times on “real” website, but it seems it does not work on my website in development; could it possibly be because the site is in a subdirectory (like www.mydomain.com/mywebsite)? Maybe you’ve had a similar problem with sites in subfolders before?
Thanks in advance
Now I need to move it into a folder with the main site at https://127.0.0.1/mysite and the translation at https://127.0.0.1/mysite/es. Should that be possible?
Translations are linked correctly, but the main site https://127.0.0.1/mysite/es and all subpages do load with a lot of 404 as referenced files (like https://127.0.0.1/mysite/es/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1) can’t be found).
Here are the files and database tables I changed (in bold) in order to get it working, but without the described problems:
wp-config.php:
/* Multisite */
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
define( 'DOMAIN_CURRENT_SITE', '127.0.0.1' );
define( 'PATH_CURRENT_SITE', '/mysite/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
.htaccess:
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
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]
wp_site:
domain path
https://127.0.0.1 /mysite/
wp_sitemeta:
site_id metakey metavalue
1 siteurl https://127.0.0.1/mysite/
wp_blogs:
blog_id site_id domain path
1 1 127.0.0.1 /mysite/
4 1 127.0.0.1 /mysite/es/
wp_options:
option_name option_value
siteurl https://127.0.0.1/mysite
home https://127.0.0.1/mysite
wp_4_options:
option_name option_value
siteurl https://127.0.0.1/mysite/es
home https://127.0.0.1/mysite/es
]]>The ones with the structure like domain.com/en
and domain.com/sv
are not found.
I added this to my .htaccess
file and it worked – for one site, but not for all of them:
RedirectMatch "^\/.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" /sv/.well-known/$1$2
I do use Let’s Encrypt and I’ve googled and found out that it’s a huge problem, but the solutions for that have not worked for me.
I’ve installed 3 plugins, activitypub, webfinger and nodeinfo.
Thanks for any fast help with this.
]]>RedirectMatch "^\/.well-known/(webfinger|nodeinfo|x-nodeinfo2|activitypub)(.*)$" /blog/.well-known/$1$2
however, subsequently, the blog doesn’t know how to handle this, and throws a 404. So I change it to
RewriteRule "^\/.well-known/(webfinger|nodeinfo|x-nodeinfo2|activitypub)(.*)$" /blog/index.php?well-known [QSA]
But I get an error:
Fatal error: Uncaught Error: Call to undefined method WP_Error::get_url() in /srv/home/blog/domains/blog.com/htdocs/www/blog/wp-content/plugins/activitypub/integration/class-webfinger.php:36
Stack trace:
#0 /srv/home/blog/domains/blog.com/htdocs/www/blog/wp-includes/class-wp-hook.php(310): Activitypub\Integration\Webfinger::add_user_discovery()
#1 /srv/home/blog/domains/blog.com/htdocs/www/blog/wp-includes/plugin.php(205): WP_Hook->apply_filters() 2 /srv/home/blog/domains/blog.com/htdocs/www/blog/wp-content/plugins/webfinger/includes/class-webfinger.php(146): apply_filters()
#3 /srv/home/blog/domains/blog.com/htdocs/www/blog/wp-includes/class-wp-hook.php(310): Webfinger::generate_user_data()
#4 /srv/home/blog/domains/blog.com/htdocs/www/blog/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#5 /srv/home/blog/domains/blog.com/htdocs/www/blog/wp-content/plugins/webfinger/includes/c in /srv/home/blog/domains/blog.com/htdocs/www/blog/wp-content/plugins/activitypub/integration/class-webfinger.php on line 36
What did i do wrong?
]]>