Skip to content

Commit

Permalink
Add readme section for "WordPress in sub directory" with different si… (
Browse files Browse the repository at this point in the history
#625)

* Add readme section for "WordPress in sub directory" with different site_url, fixes #538

* Add readme section for "WordPress in sub directory" also in readme.txt

* Fix typo

* the readme is auto-generated

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
  • Loading branch information
iamwebrocker and pfefferle committed Dec 28, 2023
1 parent 7855437 commit 245cda8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ Add the following to the site.conf in sites-available:

Where 'blog' is the path to the subdirectory at which your blog resides.

### What if you are running your blog in a subdirectory, but have a different [wp_siteurl](https://wordpress.org/documentation/article/giving-wordpress-its-own-directory/)? ###

In that case you don't need the redirect, because the index.php will take care of that.

## Changelog ##

Project maintained on GitHub at [automattic/wordpress-activitypub](https://github.com/automattic/wordpress-activitypub).
Expand Down
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ Add the following to the site.conf in sites-available:

Where 'blog' is the path to the subdirectory at which your blog resides.

= What if you are running your blog in a subdirectory, but have a different [wp_siteurl](https://wordpress.org/documentation/article/giving-wordpress-its-own-directory/)? =

In that case you don't need the redirect, because the index.php will take care of that.

== Changelog ==

Project maintained on GitHub at [automattic/wordpress-activitypub](https://github.com/automattic/wordpress-activitypub).
Expand Down

0 comments on commit 245cda8

Please sign in to comment.