• Hello,

    I am running one server with 4 websites. 2 are wordpress 2 are php based but not wordpress. All of my sites work fine except for one. My root folder contains my main live wordpress then I have 3 subdirectories with my other sites. site 2 is my under construction redevelopment of my main live site. Site 3 is a site I created for another person and site 4 (the one I’m having an issue with) is simply a php audio player I am working on. It is derived from this https://github.com/cub/audio_web_player. The issue is every time I navigate to the media player page(site 4) it redirects me to the main, live sites 404 page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • From what you are saying, I think that you are in need of RewriteRule in the main .htaccess file. Adding something like the following on the line right after “Rewrite On” may be the trick:

    RewriteRule ^cub/audio_web_player - [PT,L]

    The rule would tell the server “any request in the main directory that matches, see it and ignore it”. Make sure that the code is the line after Rewrite On but before the default WordPress htaccess stuf

    Thread Starter dutch85

    (@dutch85)

    Fixed it, thanks. Turns out this wasn’t my actual issue. The page was still showing a default 500 error page after this fix. I found out that was due to folder permission settings.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘single server multi site issue’ is closed to new replies.