not working in multisite
-
When I am trying to use shortcode in a post, I got error:
HTTP 404
Could not find the fileMultisite configuration is subdirectory type.
For example:
https://domainname/ will go to root site. CVG works well on this site.https://domainname/subdirectory will go to subsite, CVG doesn’t work.
It seems to be .haccess issue. Because the file is actually working fine when i modified the url from
https://domainname/subdirectory/video-gallery/path-to-video.mov
to
https://domainname/blog/video-gallery/path-to-video.movmy .haccess is here, Please help to fix it.
RewriteEngine On RewriteBase / # CVG rules RewriteRule ^([_0-9a-zA-Z-]+/)?((image//|studio//|it//|travel//).*)$ blog/$2 [L] 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).*) blog/$2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ blog/$2 [L] RewriteRule . /index.php [L]
The image//|studio//|it//|travel is subdirectory name, also subsite name as well.
BTW, I use external site like youtube in the gallery. It still doesn’t work. 404 response in the post, but the video can be watching by clicking the video thumbnail in the gallery.
- The topic ‘not working in multisite’ is closed to new replies.