Is it possible to set up WordPress in a subdirectory?

Hi; here's the story:
I'm virtual-hosting 3 websites (including mail and ftp) on our in-house MacMini SL server. These sites are pretty basic, and each resides in its own folder on the secondary (non-system) drive inside our MacMini:
/Volumes/harddrive2/websites/domain1
/Volumes/harddrive2/websites/domain2
etc.
This setup has worked well for several years. But now we want to upgrade our main site ("domain1"), and have begun working with a web design company. This company has told us that we need to have WordPress installed in order to accomplish some of the functionality we have asked for. They also requested that we set up a subdirectory within our main "domain1" directory where they can build and test the new site; then, once it's ready to go live, we would move the new site up one level, replacing the files that are currently in the "domain1" directory. So the folder structure they're asking for looks like this:
/Volumes/harddrive/websites/domain1/testing
I downloaded MAMP and WordPress (I realize now that MAMP was not strictly necessary, but as I'm not an IT pro it seemed like a fairly user-friendly solution), and indeed, I was able to install all of the necessary files, create a database using phpMyAdmin, install Wordpress, and create a WP admin account. The problem is that I have not been able install WP such that it resides in the /testing subdirectory. There are a couple of issues that may be relevant here:
1. MAMP defaults Apache to port 8888. If I don't change that assignment, the consequence is that I have to include :8888 after the domain in order to interact with WP. (I can change the port to 80, but this then interrupts all traffic to my existing websites.) I'm not sure if using :8888 for Apache may somehow be inhibiting my ability to target WP to the /testing subdirectory.
2. Interestingly, if I place all the WP files in the /testing subdirectory (which is where I want them), I am able to complete the WP setup (and this works whether Apache is using port 8888 or 80). But the strange thing here is that after WP is up and running it still sees the "domain1" directory, rather than the /testing subdirectory, as the path to WP. IOW, when I look in Settings > General in WP after the WP set up is complete, it shows www.domain1.com as the path to WP, and not www.domain1.com/testing, and any attempt to access WP with a URL that includes the /testing subdirectory fails. No matter what I do, I can only access WP using the main domain directory (www.domain1.com/wp-login.php).
When I asked this question on the WP forums, I was advised that this is a server configuration issue that I should pursue with Apple. Put simply: WP needs to reside in the /testing subdirectory while we work on the new site, and then everything in that subdirectly needs to move up one level to the domain1 directory and function there when we're ready to launch. If anyone can suggest a configuration that will make that possible, I would appreciate it; or, if there is some other approach that will accomplish the same end, I'm all ears. Thanks so much.

With Server Admin, you'd switch the "old" virtual host entries for the port and the domain name over to the new directory, and you should be good to go.  You'll want to test the web site after that switch-over, of course, on the off chance that the testing virtual host's details got embedded in a configuration file or into the HTML of the web site somewhere.  If the web folks have been following typical web design practices, the whole site is relative to the domain, and the domain itself is not encoded in the HTML.
As for what you didn't ask...
I did not, do not and would not recommand using MAMP here.
MAMP adds complexity to an OS X Server configuration, and adds the potential for vulnerabilities, and you already have a new maintenance project and security risk you're managing with a content management system. 
When last I checked, the MAMP folks specifically recommended against using it in production and against exposing the package to the wilds of the Internet.  It was intended for development and testing.
To be clear: I don't have anything against MAMP for web development use on OS X client and do occasionally use it for that purpose, but I can think of no reason to use it in an OS X Server configuration.
For this case, I would recommend using the existing OS X Server 10.6 Server Admin.app tool to add a virtual host on a variant port.
As a maintenance and security matter separate from the use of MAMP or the integrated Apache server present in OS X Server, Wordpress, Drupal and various other content management system packages are unfortunately common targets for attackers.   From direct experience dealing with the resulting messes from successful breaches at various sites, uncomplicated web site defacements and the SEO-placement hacks are about the least nasty problems that arise.  If the attackers delete stuff, or start generating spam, or swipe sensitive data, things get ugly.
And to be clear on CMS packages: I don't mean to scare you off Wordpress, Drupal or another CMS either.  I use and depend on CMS packages.  This is simply to underscore the need to monitor the CMS security notification lists for new attacks, and to expect to need to keep your Wordpress patches and updates current, to keep your OS X Server backups and web database backup exports current and tested, and to actively monitor your servers.  Your web folks may or will be providing you with a mysqldump database export for backups, or an analogous export for whatever database you're using.

Similar Messages

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • Is it possible to set up multiple iTunes accounts on a single computer?

    is it possible to set up multiple iTunes accounts on a single computer?

    If you do it with a single user account, you will receive update notifications for purchase made on both IDs regardless of which one you're using at the time.  That's slightly frustrating as you get the notification BUT you can't actually update!  In any event, separate user accounts on the computer is the cleaner way to go.

  • My daughter and I have separate iCloud accounts set up on out desktop PCs and our iPhones and iPads. We want to share the usage of a Win 8 laptop and will log in using using separate user accounts. Is it possible to set up our own iCloud accounts?

    My daughter and I have separate iCloud accounts set up on out desktop PCs and our iPhones and iPads. We want to share the usage of a Win 8 laptop and will log in using using separate user accounts. Is it possible to set up our own iCloud accounts in each of those separate user accounts?

    No it is not possible.  Content purchased from the iTunes Store is permanently tied to the account from which it was originally purchased, and Apple does not provide a way to change it.

  • Is it possible to set up a HP Scanjet 8200 series (8290 with ADF) Intel Mac

    Is it possible to set up a HP Scanjet 8200 series (8290 with automatic document feeder) on the new Intel based Mac Pro desktop computer (nehalem 2.93 dual processors, 8 core)? Can anyone please steer me in the right direction -- I tried one of the drivers from the HP website and the install reflected that it does not work on intel based computers. Does OS X Leopard come with some type of utility to help me set up the scanner (I don't see where to set it up)? Thanks.

    Hi Nicky,
    Yes,  you can download and install the software.  Yay!
    HP Deskjet 3050A e-All-in-One Printer series - J611
    Select your printer from the list ...
    Find and open the pdf document titled:
    Install Full Feature Software - Printer
    Good Luck!
    Click the Kudos Star!
    It is a great “Thank You” for the Experts who offer to help!
    Kind Regards,
    Dragon-Fur

  • Is it possible to set up a backup between two external drives

    Is it possible to set up a backup between two external drives?
    i use time machine to back up my imac onto an external 2T.
    i also have two external 3T drives.  i am looking for redundancy of data, tried software RAID and it failed.  i also see some limitations with RAID that a backup would avoid.
    thanks for sharing your expertise.
    be well,
    tony

    so thanks to all of you, particularly rkaufmann87 i have decided to stop the plan of setting up a software RAID set.  instead i have downloaded ccc and am in the process of setting up the secone 3t external drive as a clone.  i will use time machine to back up the internal hard drive only and if possible see if i can clone that as well onto one of the 3t's.
    this gives me the peace of mind i sounght and avoids the problem of total corruption that exists with the raid solution i was exploring.
    thank you all for making this an enjoyable and informative experience.  what a powerful community.
    be well
    tony

  • ThreadOpt values - is it possible to set them and what are the ranges?

    Hi there,
    I have a problem on my TestStand 4.2 platform, with test step result, formed and received from called external sequences results. In my Main sequence, in Post-Expression I defined condition, according to which the "Step.Result.Status" is passed or failed, and it works. But the problem is that in Status Expression field there is following statement: "(Step.Result.Status == "Done" && (Step.TS.SData.ThreadOpt == 0 || Step.TS.SData.ThreadOpt == 3)) ? "Passed" : Step.Result.Status". After deep search in the user manual, I found that (Note from "Expression Tab - Step Properties Dialog Box"): "Certain types of steps, such as Numeric Limit Tests, Multiple Numeric Limit Tests, String Value Tests, Pass/Fail Tests, and Statement steps, reserve one or more of these expressions to perform operations specific to the type of step or a substep performs the operation. In these cases, you cannot use the expressions the step type reserves, which appear dimmed on the tab." 
    Now, my problem is that at this specific step I call to an external sequence, which returns results and it is correct, but if these results, compared to expected are not the same, my step in the main sequence fails. Which is OK. But when the final report is generated I see there "Number of Tests Failed: 0", which is not OK. Since I can't change the "Step.Result.Status == Done", which comes from the external sequence, I thought that may be there is a place to change the "Step.TS.SData.ThreadOpt" and this way to cause to main sequence to correctly report "Failed Tests <> 0"??? 
    Does anyone has an idea whether it is possible to set this the ThreadOpt value and what is the accepted range?
    Your feedbacks and inputs are highly appreciated.
    Stephan

    GSinMN wrote:
    Hello Doug,
      I didn't think I was modifying any hidden properties.  It's just configuring a sequence call step when you add it to the sequence.  The "Execution Options" are clearly shown in a dropdown menu on the Module tab.  I was just pointing out that this seems to be what sets the ThreadOpt variable.  
    GSinMN
    Maybe I misunderstood. When you said "My normal process is to set it to 1, but based on this info, it needs to be either set to None or Use Remote Computer if you want anything other than "Done" to be returned." I thought you meant that you were setting the property directly rather than setting your sequence call steps to "New Thread" with the combobox.
    -Doug

  • Possible to set a default column value to an expression?

    Hi,
    Is it possible to set a default column name to an expression when creating a table?
    For example, I wish to set the default value of a column to read from another table's column and do some arithmetic....is this possible?
    Thanks.

    Yes, you can, with trigger Before Insert for Each row
    But be carefull, you can hit the mutating table problem...

  • Is it possible to set a default music player for the music on my external hard drive while still keeping my iTunes the default player on my Mac ?

    Is it possible to set a default music player for the music on my external while still keeping my iTunes the default player on my Mac ?
    Message was edited by: Pellseidon

    There is no setting in the iPhone to set another default music player. The default is Music. If you are using another application, you are at the mercy of how that application operates as far as what occurs when it stops or errors out. The car is looking for music to play.

  • Is it possible to set up a bootable external hard drive

    Is it possible to set up an external hard drive by copying my system folders, etc from my Ibook to my firewire drive??? If not is there a way to do it w./o the system DVD

    Hi matthew,
    first of all: WELCOME TO THE DISCUSSIONS!
    Yes, it is possible, but you need certain devices and software. You cannot create a bootable external device with drag&drop only.
    In order to get a bootable hard disk you have to buy a firewire disk (USB is not a bootable inteerface with MacOS X). Then you have to make a bootable clone from your internal hard disk to the external. You can use backup utilities such as Carbon Copy Cloner to achieve this.
    If this answered your question please consider granting some stars: Why reward points?

  • Is it possible to set default path and filename to the upload UI element  ?

    Hello All,
       Can some advise on if its possible to set a default path and filename to the upload ui element ? I will like to set a default path and filename to be uploaded to the upload UI. The user will then have the option of using that path or clicking on the browse to set another location.
      Any suggestions or advise ? Thank you very much.
    from
    Kwok Wei

    Hello VS,
      So to confirm, from your opinion, you feel that its not possible to have my upload UI elememt to be displyed on the screen with the path and filename preloaded ?
    Btw, do you have an email that I can reach you at ?
    from
    Kwok Wei

  • When saving a PDF from a FrameMaker book, is it possible to set document filenames as bookmarks in the PDF?

    When saving a PDF from a FrameMaker book, is it possible to set document filenames as bookmarks in the PDF? Currently when I have a Framemaker book that I want to save as a PDF, I choose Save Book As and then choose PDF for the file format. A dialog box comes up in which I can choose the Bookmarks tab and choose which tagged content I want to be made into bookmarks in the PDF file. What if I would rather have the filename of a document rather than the chapter title be a bookmark in the PDF? Is that possible? Where would I choose that option? Thanks!

    There are two ways that you could do this. You can either use postscript text frames and enter the correct pdfmark entries to show the file name with the corresponding actions (i.e. where to go in the PDF) or you can use hidden text in FM and the "Filename (Short) " variable in a unique paratag to be picked up by FM's bookmark creation.
    To go the pdfmark route, see http://www.pdflib.com/fileadmin/pdflib/pdf/pdfmark_primer.pdf for details and also consult the Adobe Pdfmark Reference manual (http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdfmark_reference.pdf).
    The hidden text route would use FM's Color Views to specify a colour as Invisible. This will make the content visually disappear from the screen (and any output), but FM will still be able to read the contents of any text that is coloured with the Invisible colour(s).
    1. Pick or create a colour that you want to be invisible. [Magenta is usually a good bet and stands out visually].
    2. Set that colour to be invisible in View 1 and visible in View 6. [you can use the shortcut <esc> v 1 and <esc> v 6 to toggle between the views.]
    3. Create a paratag to use for the filename and set the font colour to use the invisible colour.
    3. In the title of each chapter file, drop an anchored frame that is set to be outside of the text frame [so it won't interfere with any other content].
    4. In that AFrame, insert a text frame and use the invisible paratag defined in step 3.
    5. Insert the Filename (Short) variable in that text frame.
    6. Repeat steps for all files to be included in the bookmarks.
    When creating the PDF bookmarks, select only the paratag used for the invisible colour.
    Don't forget to toggle the View to be invisible (i.e. <esc> v 1  - this also works at the book level for all files in the book).

  • It should be possible to set default behavior for all file types

    It should be possible to set a default action for all file types. I'm so tired of having to manually sit and say "save this file" because Firefail always defaults to "open with" and has disabled the "Do this automatically for files like this from now on."
    And spare me the zealotry religious excuses for why its the fault of websites and not Firefail
    ''edited to remove swearing''

    I do want users to have full control to be able to set any folder view they want by using Apply to Folders; I just want to set the initial/default view to Detail because that matches what the majority of my users want.
    That is, what registry setting changes when I go to a picture folder, change the view to Detail, and click Apply to Folders? Having done that, I still retain the ability to change it to some other view and apply that to folders. But what registry setting
    represents the change I just made when applying Detail view to all Picture folders.?
    This settings is simple via GUI, but it is related a lot of registry keys, I made a test in my machine, capture the "Apply to Folders" process using Regshot tool (this is a small tool which can compare the regsitry changes after you change some
    settings), and this is the result:
    this is part of the registry changes, a plenty of registry keys and values need to be changed. hard to list them here. if you have interests, I recommend the tool Regshot, it can help you capture the regsitry changes.
    NOTE: Please Note: The third-party product discussed here is manufactured by a company that is
    independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's
    performance or reliability.
    Yolanda Zhu
    TechNet Community Support

  • Is it possible to set a song in my itunes library as a ringtone straight from my phone, without having to use my computer?

    Is it possible to set a song in my itunes library as a ringtone straight from my phone, without having to use my computer?

    Hi,
    According to your post, my understanding is that you want to make the Workflow Tasks work out with a pre-determined due date that it's 2 days from today in your client list workflow.
    I recommend that you can create this client list workflow as below in your environment.
    Then, you can go to “Start Options” to check “Start workflow automatically when an item is created”, publish this workflow and test if it works.
    When an new item is added in the client list, its corresponding Workflow Task is shown as below:
    Best Regards,
    Yumi Fu

  • Is it possible to set up my iPhone 5 as a new phone and sync ONLY my contacts and apps from my iPhone 4?

    Is it possible to set up my iPhone 5 as a new phone and sync ONLY my contacts and apps from my iPhone 4? Or do I have to set up my iPhone 5 by using my iPhone 4 backup (I'd rather not)?

    Contacts are not stored in a backup, so a restore will not bring them in.  Contacts, along with all the other Apple databases (log into icloud.com with a browser and look at the various pages - this is what I call the Apple databases) are contained in their own locations on the servers.  You should be able to take a new device, go to Settings>iCloud, log in to the icloud account, then turn on the services (e.g. contacts) you want to sync.  They will then be synced to the device.  That has nothing to do with a restore and with the old iphone 4.  As for apps, their listing and locations on the screens are stored in a backup.  If you don't restore, then go to the itunes app store, look under Purchased Apps and download them again.

Maybe you are looking for

  • Deleting photo's from ipod

    Can anybody tell me the steps to deleting photo's from a 30G video ipod. I'm not sure but "I think!" its a 5th generation model. All this INFO and nothing on deleting "go figure"

  • Unsanity related blue screen of death

    I decided to post this as a separate thread from the ongoing blue screen of death, as that thread seems to be mostly related to those upgrading to Leopard. My situation is slightly different. There appears to be two separate issues related to this bl

  • Change in number range for Job Family

    Hi, We have a requirement where we need to change the existing number range for object type Job Family. The number range begins from 500* series. Now this needs to be changed to 90000000 number range. Now the question is what would be the impact if w

  • Does not install Adobe Acrobat Xi Pro

    I am running windows 7, with 6GB of free storage space. I downloaded the free trail version and then went to install and got the following error 1327 Invalid Drive E:\mapped to a user folder ..... For details refer to http://kb2.adobe.com/cps/404/kb4

  • Best way to save

    I have filled a 500 GB external harddrive with iMovie and iDVD files. I know I can archive them in iDVD and dump both files but when I tried too do this with one movie, the archive was bigger than both files combined. I tried saving as disk image whi