cbobson
Forum Replies Created
-
Forum: Reviews
In reply to: [Contact Form 7] no message filtering supports spamI’ve wrote a function to filter Contact Form 7 to prevent spam and solicitation. Enter any combination of words or phrases that you don’t want people to put in your message body and it will tell spammers to go to hell. Contact me if you would like it – free.
Forum: Networking WordPress
In reply to: Run WP in subdirectory – not just install it thereBy deleting the script provided for the .htaccess file update we were able to gain access to the directory.
However, the primary issue still remained, the pages did not resolve.
We then chmod 777 to the .htaccess and decided to let WP update the file automatically, thinking our manual update changed the owner or the permissions. [we will revert this to 755].
We also added ‘news’ to the optional Category Base field in the Permalinks settings.
To our joy, this finally gave us the service we were hoping for. We now have a top level or root site running separately from a WordPress blog in a subdirectory.
We intend to replicate this on another site and see if the process goes any different.
Forum: Networking WordPress
In reply to: Run WP in subdirectory – not just install it thereThanks for the clarification. The site is arcannahomes.com. We are installing a WP blog for them and want it to run in the subdirectory /news/. We want to provide a link to it from the primary site which resides in the root directory. We do not want to replace the index.php file in the root because that points to the primary site.
After several install attempts, we were able to get WP running in this directory. However, the Posts and Pages were not resolving to the proper path, even though the settings within the WP interface include the path [eg. arcannahomes.com/news/].
In attempting a resolution, we modified the permalinks to /%category%/%postname%/. We then updated the .htaccess file to include the script that was offered.
Currently the subdirectory is experiencing an internal server error. We have removed the .htaccess modification but are still unable to log back in. We will reboot server and restart computer and clear browser cache and re-attemt.
It is obvious that the current issue is determining the proper script and location for the .htaccess (root or sub dir?). Where do you recommend we install that file and with which script based on the permalink structure would work in this instance.
Thanks again!
Forum: Networking WordPress
In reply to: Run WP in subdirectory – not just install it thereI reinstalled for the fourth time, created a new db and was able to install. The installs kept giving the error as listed in my previous post. So the ‘works out of the box’ comment is not what I saw.
However, even though the WP URL and Site URL are both set up properly (ie. https://www.mydomain.com/news/), when I create a new Post or Page it loads in https://www.mydomain.com/ and pulls an error. It is not keeping the subdirectory path for any posts or pages.
btw, this is a mutli question because we have two sites trying to run on the same domain and if we can get it to work we will have a third and may need to do a multisite install. But we need these issues resolved first.
Forum: Networking WordPress
In reply to: Run WP in subdirectory – not just install it thereThanks again, but this does not work right out of the box. We only want one blog in a subdirectory named /news/
I manage several WP themes and have installed successfully in top level and top level with content in subdirectory. But having a real challenge getting WP to run entirely in the subdirectory.
Keep in mind, I do not want the index.php in the top level.
I’ve installed again in the directory and get this error:
Warning: require(/var/www/vhosts/mydomain.com/httpdocs/news/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /var/www/vhosts/mydomain.com/httpdocs/news/wp-settings.php on line 21
Fatal error: require() [function.require]: Failed opening required ‘/var/www/vhosts/maydomain.com/httpdocs/news/wp-includes/load.php’ (include_path=’.:’) in /var/www/vhosts/mydomain.com/httpdocs/news/wp-settings.php on line 21
Forum: Networking WordPress
In reply to: Run WP in subdirectory – not just install it thereThanks, but I have been trying to do that without success. Do you know the process flow for installing in that subdirectory?
Forum: Installing WordPress
In reply to: keep old website visible online while installing and design WP@tcbarrett – Number 3 has been difficult to achieve. But I’m not giving up so thanks for the inspiration. I’m trying a fresh install on a WP 3.3.1 in a new directory again. Great input, and don’t sweat the small stuff. I’ll post my results shortly.
Forum: Installing WordPress
In reply to: keep old website visible online while installing and design WPDerby,
You face a daunting challenge that no one seems to be able to resolve effectively. I’ve spent over 15hours trying to resolve this myself, and I am no newbie.
We have a similar scenario. We want visitors to view our primary site at https://www.ourdomain.com and then click a link to view our blog which should reside exclusively in a sub-directory https://www.ourdomain.com/blog/. This way we can edit our blog till perfect and then just provide link from the homepage to view content.
But this is not possible as WP only works in a top level directory and the index.php must be installed there. Of course you can store your WP files in a subdirectory, but that is not the solution, because we already have an index.php page there for our primary site and for SEO reasons do not want to delete it.
Maybe if we put our heads together we can find a resolution. Good luck!
Forum: Fixing WordPress
In reply to: edit_comments.php page is broken after server changet-p, thanks for the note. I did switch to the default theme, since it was a new build. But that was not the issue.
Everything in my gut was telling me that the cause was somewhere on the new server’s settings…
Turns out I was correct. I did a scan of the php.ini settings on both servers and noticed many discrepancies so I notified the dedicated support team to update the php.ini file and this is what they said:
The issue is now resolved. The problem was within the PHP5 configuration. We had some compatibility flags that were enabled to make it work with PHP4 code, but as it turns out they were doing nothing good and were causing harm so we disabled them. Everything should be working fine now. I also increased your memory and file upload limits to make it closer to the old server. Please note that not all settings can be the same since the difference in OS and PHP is pretty big.
So if anyone out there experiences the same broken Comments and Menu page in the administration control panel after switching to a new server, check your php settings!
[How to do: create php file in site “yourfilename.php” and insert <?php phpinfo() ?>]
This took 4 days to figure out. Best