Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Home Button Going to /blog (http://forum.bytesforall.com/showthread.php?t=18354)

MrsBodien Sep 12, 2012 01:29 PM

[SOLVED] Home Button Going to /blog
 
Disclaimer: I am just a librarian who wanted her library to have a nicer website so I decided to do it myself. I am aware that there are CSS errors in my site (just discovered the CSS validation service and am slowly learning about all that) ... but this problem just began yesterday.

Yesterday I updated both Wordpress and Atahualpa to WP 3.4.2 and Atahualpa 3.7.8.

My site used to work so that when you typed in http://www.franklinlibrary.org you would arrive at our site and the home page was our most recent posts. When you clicked on Home in the page menu, you would go to http://www.franklinlibrary.org

Now, clicking on Home sends you to http://www.FranklinLibrary.org/blog, and you see an error that the page doesn't exist. However, when you remove the /blog from the end, all is right.

How do I make it so that clicking on the Home page in the menu bar takes you to http://www.franklinlibrary.org, and not http://www.franklinlibrary.org/blog ?

Things I've explored:

- deactivated all plugins
- when I switch to Twenty Eleven theme, the home button works (that is, it takes you to http://franklinlibrary.org and you see the posts)
- in general settings, the correct URL (http://www.franklinlibrary.org) shows in both WP URL & Site URL
- in Settings >> Reading the front page is set to Your Latest Posts
- in wp_config.php, define wp_home and define wp_siteurl are both set to http://www.franklinlibrary.org

Thank you in advance for any assistance (and for such a lovely theme).

juggledad Sep 12, 2012 02:31 PM

if you send me a PM (private message) with an admin ID/PW, I'll take a look.

juggledad Sep 13, 2012 10:34 AM

You have not done anything wrong, someone has modified some of the wordpress code. Who set up this site? ie installed wordpress

There is a variable called $homeURL which should contain the contents of the of what is in dashboard->settings->general->WordPress Address (URL) - BUT the code is automatically adding '/blog/ to the end of the address. To make matters worse, you should be able to change that value but someone has protected it.

So as it stands you are going to have to create a page called 'blog' and that will be your home page, however I would find out who installed it and get a valid install put up. At least that is what I would do.

juggledad Sep 14, 2012 10:09 AM

Aha! I think I know what is going on. You need to use FTP and take a look at the wp-config.php file in the root folder of wordpress. I think you are going to find two lines definint the 'WP_SITEURL' and 'WP_HOME' and they are overriding everything. Try this, put a '#' at the begining of both lines and see if the home page link is fixed in Atahualpa

Note: the user sent a PM
Quote:

Oh my goodness! That worked - It's all fixed! Thank you so, so, so much. And I also found the post causing the problem with Internet Explorer, so we're all fixed up now! Today we are rolling out a new e-book lending service, so I was really feeling the crunch to get it fixed. You saved the day.


All times are GMT -6. The time now is 05:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.