WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] New static front page: error in connecting database problem (9 posts)

  1. drdolittle76
    Member
    Posted 1 year ago #

    Hi

    I set up a website with blog posts publishing to the homepage http://www.paddockhilldojo.co.uk . Now I want to create a static front page and have a separate tab for all my blog posts.

    I've set about creating the new static page and the page for blog posts (as per wordpress instructions on creating a static front page). However, now when I click on my new blog page (www.paddockhilldojo.co.uk/blog) I get the message, "Error in connecting to the database".

    Can anyone advise me on what I need to change in order to start getting my posts links to change correctly so that they do connect?

    Thanks

    Charlie

  2. Aaron
    Member
    Posted 1 year ago #

    What did you do to set this up?

    Did you just create a page called blog and then go to settings > reading and selected that page as the blog page?

  3. drdolittle76
    Member
    Posted 1 year ago #

    Hi Aaron

    Yep - that's what I did.

  4. Aaron
    Member
    Posted 1 year ago #

    Do you have an actual folder in your file system that is called /blog/ that might be another instance of wordpress?

    Try changing your page name or permalink for the blog page. That will test it.

  5. drdolittle76
    Member
    Posted 1 year ago #

    Yes, I have the folder /blog/

    I've tried changing the page name to 'blog test' for example, but nothing happens to the folder in the file system.

  6. Aaron
    Member
    Posted 1 year ago #

    You have to change the permalink or URL under the title also from /blog to something else.

    /myblog

    Or something besides blog. Or you can go rename that folder in your file system if you want to keep blog.

  7. drdolittle76
    Member
    Posted 1 year ago #

    Looking at my folder structure, it does appear that there are two instances of WordPress.

    There are two instances of wp-admin, wp-content and wp-includes folders.

    What's the fix if 'having two instances of wordpress' is the problem?

    Thanks, Charlie

  8. Aaron
    Member
    Posted 1 year ago #

    I would rename the BLOG folder to BLOG1 or just delete it if you dont need it.

  9. drdolittle76
    Member
    Posted 1 year ago #

    I renamed the folder to Blog1 and it now works.

    Thank you a thousand times, Aaron.

    Big smiles. :-]

    Charlie

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags