Hi guys,
I have installed a seperate instance of WP on the blog directory of my site. Everything works great........... EXCEPT! The root directory listing.
Example: domain.com/blog = defaults back to domain.com.
I tried to combat this with a 301 redirect but that is even getting over written by the CMS somehow. There is nothing in the blog directory except WP, so this is confusing to me. Everything else works just fine except accessing the root /blog/ etc..
Any ideas?? Has this happen to anyone?
CMS Version 1.10.3
Installed Modules
CMSMailer 2.0.2
CMSPrinting 1.0
FileManager 1.2.0
MenuManager 1.7.7
MicroTiny 1.1.1
ModuleManager 1.5.3
News 2.12.3
Search 1.5.4
ThemeManager 1.1.4
FormBuilder 0.7.3
Captcha 0.4.6
jQuery 1.2.0
CGExtensions 1.31
ExtendedTools 1.3.3
Analytics 1.2.2
AComments 1.1.1
FrontEndUsers 1.18.1
Running WP 3.5.1 on CMSMS 1.10.3 "Hyacinthe" (PROBLEM)
-
- Forum Members
- Posts: 98
- Joined: Wed Aug 01, 2012 7:46 pm
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Running WP 3.5.1 on CMSMS 1.10.3 "Hyacinthe" (PROBLEM)
cms 1.10.3 is no longer supported so upgrade asap.
Normally you can install cmsms next to wp, so both in their own directory. You cannot install cmsms in the root directory and wp in a subdirectory.
Normally you can install cmsms next to wp, so both in their own directory. You cannot install cmsms in the root directory and wp in a subdirectory.
-
- Forum Members
- Posts: 98
- Joined: Wed Aug 01, 2012 7:46 pm
Re: Running WP 3.5.1 on CMSMS 1.10.3 "Hyacinthe" (PROBLEM)
hmmm, So what would be a work around then, installing this on a seperate directory???
And just to be clear:
root/cmms/blog (WILL NOT WORK)
root/cmsms/
root/blog/ (WILL WORK)
Please Verify and thanks!
And just to be clear:
root/cmms/blog (WILL NOT WORK)
root/cmsms/
root/blog/ (WILL WORK)
Please Verify and thanks!
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Running WP 3.5.1 on CMSMS 1.10.3 "Hyacinthe" (PROBLEM)
CMSMS can be installed in a subdirectory under WP.... or WP can be installed in a subdirectory under CMSMS. Both will work, IF you have setup your .htaccess correctly.
The default .htaccess file shipped with CMSMS (as doc/htaccess.txt) will setup rewrite rules to write all /xxxx stuff to index.php?page=xxxx but checks if the requested item is not a file or a directory first:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
I know this works as I use it regularly. However if you are not running the default .htaccess, or are using some other environment, you may have difficulty.
The default .htaccess file shipped with CMSMS (as doc/htaccess.txt) will setup rewrite rules to write all /xxxx stuff to index.php?page=xxxx but checks if the requested item is not a file or a directory first:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
I know this works as I use it regularly. However if you are not running the default .htaccess, or are using some other environment, you may have difficulty.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
- Forum Members
- Posts: 98
- Joined: Wed Aug 01, 2012 7:46 pm
Re: Running WP 3.5.1 on CMSMS 1.10.3 "Hyacinthe" (PROBLEM)
I am runnning it on a LAMP server, and am using cpanel for all .HTACCESS edits/changes. I have existing rewrites for subdirectories and they all work fine but WP. For some reason it does not like the domain.com/blog directory at all, and always dumps back to domain.com
HOWEVER everything after this will work just great, for example
domain.com/blog/category or domain.com/blog/post-name
but anything straight to the root of blog fails big time.... Kinda stumped on what to do. I also tried to force it with HTACCESS, but that failed as well....
HOWEVER everything after this will work just great, for example
domain.com/blog/category or domain.com/blog/post-name
but anything straight to the root of blog fails big time.... Kinda stumped on what to do. I also tried to force it with HTACCESS, but that failed as well....