Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)
  • Your advice has been really helpful, so I have one more question before I carry out the migration (on a real website – not my test one).
    WordPress has been installed in /root/wordpress and the settings are:
    WordPress Address: http://dancescottish.org.nz/wordpress
    Site Address: http://dancescottish.org.nz/wordpress
    Permalinks: Postname

    /root/wordpress includes the required .htaccess and index.php files
    Website addressed as dancescottish.org.nz/wordpress works fine as it is.

    If I display a page in the admin panel, say with title ‘Class Guidelines’ the permalink is displayed as expected
    Permalink: http://dancescottish.org.nz/wordpress/class-guidelines/

    The question is: When I change the site address in WP settings to:
    Site Address: http://dancescottish.org.nz
    will WP automatically change all the permalinks to exclude /wordpress
    and take care of any links which have been defined in the menu.

    If so, I just need to correct any hard-coded links in my pages, tablepress etc and. of course, set up modified versions of .htaccess and index.php in /root.

    And, before you ask, /wordpress and the database will be backed up first!

    Regards
    Andy

    Thanks for the answer.
    You raised a very important point about internal links to pages since my tests had shown that these no longer work unless I remove the /wordpress part of the path. I had hoped that there might be some nifty way of leaving the path as it is, but I now know that this is not the case.
    Fortunately there are very few of them.

    Regards
    Andy

    andynz

    (@andynz)

    Just one other related question.
    I am replacing a non-WordPress website (dancescottish.org.nz) in /root
    with a WordPress site (same domain name) which is being developed in /root/wordpress.
    Thus it is currently addressed as dancescottish.org.nz/wordpress which is the site address in the WordPress settings.

    My plan is to launch the new website in /root by:
    – setting up index.php in /root
    – setting up .htaccess in /root
    – changing the site address in WordPress to dancescottish.org.nz

    However, I want to test this out before the final launch. This means doing all the above, including changing the site address in WordPress. Then, having assured that it works, reinstate the old website for a couple of weeks. Then repeat the changes which are then permanent.

    This may not seem to be a sensible approach, but there are logistical reasons why it may be necesssary.

    So, my question is: Are there technical reasons why changing the site address in WP back and forth is inadvisable? I have tried this on a test site and it seems OK.

    In fact, I concluded that I could carry out my test by just changing the two /root file and leaving the WP site address as dancescottish.org.nz/wordpress. I could still activate the website by either:
    dancescottish.org.nz
    or
    dancescottish.org.nz/website

    Andy

    Thanks for the confirmation and explanation. All makes sense now.
    Andy

    Rajan, thanks for taking the trouble to reply.

    However, http://rotorua.waibopscd.org.nz/wordpress/links/ works exactly as it should by redirecting to the root. No 404 error as occurs with the home page.

    Jadenjoner may have a clue to the answer. I probably set the website up originally with default permalinks and changed it to postname later. This might have confused wordpress.

    As for why I install WordPress in its own directory, I think this a fairly common strategy.

    I am testing out CFDB7 1.2.4.5 and have encountered the same problem.

    1. I submitted a form in which all fields are entered. The exported CSV is output with columns in the same order as the form fields.

    2. I submitted a form in which some check-boxes are null. The exported CSV is output with the columns for null check-boxes following those for all other fields (obviously, this applies to the first form as well).

    3. I submitted another form in which all fields are entered. The exported CSV is once again output with all columns in the same order as the form fields.

    Conclusion. The order of columns in the CSV depends on whether or not the final record submitted has any null check-boxes. If so, these columns will be moved to the end.

    Andy

    andynz

    (@andynz)

    My host support has finally provided me with a modsec log which seems to confirm your suspicions. He is not very helpful and still insists it is a bug in your plug-in.

    I do not seem to be able to attach a file with this post, but here are some of the details in the log:

    The log refers to rule 217280
    [msg “COMODO WAF: HTTP Request Smuggling Attack
    [data “Matched Data: head found within MATCHED_VAR:

    Certainly, the use of my word ‘head’ in the text on the form seems to cause a problem, but I assume there must be more to it than that.

    Can you explain what is going on here? I could send you the error log if this might help.

    Regards
    Andy

    I have referred the problem to my hosting provider in the hope that an error log might shed light on the problem. In the meantime, I have been carrying out some tests and I find the results puzzling.

    The form is structured using html <table> commands and here is a section:

    <tr>
    <td>
    Biography (doc, docx or pdf)
    </td>
    <td>
    [file biography limit:2mb filetypes:doc|docx|pdf]
    [file biography limit:2mb filetypes:doc|docx|pdf]
    </td>
    </tr>
    <tr>
    <td>
    Head and Shoulders and head Photo (jpg or jpeg)
    </td>
    <td>
    [file photo limit:2mb filetypes:jpg|jpeg]
    </td>
    </tr>

    The problem seems to relate to the line:
    Head and Shoulders and head Photo (jpg or jpeg)

    The form saves OK if I change it to:
    Shoulders and head Photo (jpg or jpeg)
    or
    Neck and shoulders (jpg or jpeg)

    Can anyone explain why the problem only occurs if the phrase begins with ‘Head’?

    Andy

    Important to point out that the connection with the dropbox server appears to be OK. BackWPup is adding and deleting the backups exactly as expected.

    However, I reauthenticated as you suggested but this made no difference.

    Further analysis shows that the ‘manage backup archive’ screen in backWPup always lists the two most recent backups (the ones in dropbox), PLUS the one immediately preceding backup (no longer in dropbox). So, if the dropbox settings state: File deletion – 2, then there are always:
    2 backups in dropbox
    3 backups listed in the archive.

    I can live with this.

    Andy

    Tobias

    Thanks for the prompt advice which did the trick.

    Do you never sleep!

    Regards

    Andy

    Thanks for the suggestion, but I tried it to no avail. Same 403 message.

    The problem seemed to arise when I defined a sub-item as a custom link to a PDF file in my media library. Of course, this may be just coincidence.

    Anyway, my fix was to define a new page and use a PDF viewer plugin to embed the pdf document in the page. I then changed the sub-item from a custom link to a link to the new page on the website.

    It all works fine now, but it is still a bit of a puzzle.

    Andy

    I had a similar problem a while ago. I discovered that it only happened on a particular table if the last cell in the last row of the table is empty.

    However, I cannot repeat this condition so perhaps something else has changed in the meantime.

    Andy

    andynz

    (@andynz)

    It is pretty clear that the problem is related to the version of WordPress and has nothing to do with my host.

    I can upload the docx files to the WP 4.6.7 site if I bypass the WP ‘add media’ panel (eg via the host control panel or filezilla). I can then use the files in WP, but this is just a short-term solution.

    I have another website which, because it is not used at present, I could risk updating from 4.6.7 to 4.8.2.
    Before the update, the DOX files failed to upload with the security error.
    After the update, the DOCX files uploaded OK.

    So, it looks like I will have to update WordPress 4.7.6 to 4.8.2 after all.

    Andy

    Kathryn
    Thanks for confirming what I suspected might be the case.
    I will stick with Coraline for the time being as it does exactly what I want.

    Regards
    Andy

    I use Coraline on all my websites but I just created a new site and Coraline is no longer available for download. Colinear was offered instead, but I have found one major difference.
    In Coraline, I can define the default template as sidebar-content-sidebar and individual pages can select either the default or full-width. As a rule, my home page is sidebar-content-sidebar and all other pages are full-width.
    In colinear, it does not appear to be possible to override the default. If I want the home page to be sidebar-content-sidebar, then all pages must follow this structure. Have I missed something?
    Of course, I can still download Coraline and install it and hopefully it will continue to work OK.
    Andy

Viewing 15 replies - 1 through 15 (of 26 total)