home_url() trouble: Home page displays "Index of /wp/" also rewriting urls
-
Hi!
I have 2 questions regarding my multisite install. I’m using a child theme that I created off the Quark theme. There are no posts, comments, or blog issues – it’s just website pages, a.k.a. “faux-static” pages.My three sites are functional, but one will not display the home page. The network home site (https://djxstation.com/) displays the correct home page both in the menu and via the logo in the header masthead. The 2nd site (https://partisound.com/) also correctly displays the home page, but my 3rd site (https://autodjpac.com/) will not display the home page – only a listing of the index directory, and a link up to the parent directory. I can manually type in the urls of the rest of the pages on that site, but any home links go back to the directory listing. Here is the home page for reference: https://djxstation.com/wp/autodjpac/home/
At one point I managed to create a “new” home page and replace it in the menu, but the home_url function still calls the directory listing. I’m not getting the home page to display and I think it’s related to the home_url() function. I am stumped, and I’m afraid to change something deep in the template files and affect all three sites.
My other problem is about the urls themselves, but not permalinks.
I need to rewrite the urls somehow without messing everything up.
These 3 sites are running off one install, with the 1st one as the main network site. I want the urls to stand alone as below, rather than the redirects I put into my host CPanel:
https://djxstation.com/ vs.
https://djxstation.com/wp/;https://partisound.com/ vs. https://djxstation.com/wp/partisound/
https://autodjpac.com/ vs. https://djxstation.com/wp/autodjpac/home/Is this a multisite issue or just wordpress? Please let me know if I need to provide additional info, and thanks for looking at my post/question!!
Cindy
- The topic ‘home_url() trouble: Home page displays "Index of /wp/" also rewriting urls’ is closed to new replies.