2 replies
I've been building my own template for a site running wordpress and everything has been working fine.

The wordpress is installed in domain.com/blog so I decided to move it to domain.com using the copy of the index.php file to the root directory.

Now anytime I try to view a single post it won't work and displayed all of the posts, this is the same for archives.

I have tried changing the template to the default and also tested with a few others, and it has the same problem so I have a feeling it's an error in the permalinks or htaccess as it was once I altered these that I noticed the change.

Tried removing the .htaccess and putting the permalink structure back to how it was before, but still nothing.

Reverting back to the /blog index I'm still having the same problems.

Any ideas folks?
I can copy and paste codes if needed but I'm not sure which ones would be useful to you.

Cheers
#wordpress
  • Profile picture of the author Abledragon
    This article describes the process for moving WordPress from /blog to the root:

    Move WordPress from a Sub-Folder to the Root | WealthyDragon

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[5036362].message }}
  • Profile picture of the author beezer123
    Figured it out. One of the plugins was conflicting with the have post query, sorted it now though.

    Cheers
    Signature
    Want to get your hands on "The Definitive List Building Guide" for 2014? You can find it in the WSO Section or by using the link below!

    GET YOURS NOW!

    What are you waiting for? It's FREE!
    {{ DiscussionBoard.errors[5039661].message }}

Trending Topics