PDA

View Full Version : How to get homepage as url instead of /content/1-home


charlesr
12-29-2013, 03:30 PM
When I "upgraded" to 4.2.2 the navigation manager decided it's now impossible to have www.bordersdown.net as my homepage and instead everyone sees http://www.bordersdown.net/content/1-home

Bloody ridiculous. It worked fine in the previous version.
This thread (http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/3982148-how-to-change-vbulletin-cms-home-page-url-without-content) suggests custom code is needed to allow the URL to be the homepage.

Does anyone have any idea how to do this? My pagerank has dropped from 3 to 2 - I'm fairly certain it's because of this (it happened shortly afterwards - could be conincidence though).

charlesr
01-01-2014, 08:36 AM
Anyone?

Happy New Year all!

Lynne
01-01-2014, 10:44 PM
It's not like that on my 4.2.2 site at all. When I go to www.site.com, it shows the CMS but the url stays at www.site.com. However, if I later click around and then click on the Home tab, it goes to www.site.com/content.php

What is set in AdminCP > Settings > Options > Content Management > Default Page and Site Tab URL? And what is entered as the tab URL in the Navigation Manager?

charlesr
01-01-2014, 11:11 PM
Thanks for looking Lynne

Default page = "1-Index"
Site tab = "content.php"

Not sure what you mean by the tab url in the nav manager (I know what the nav manager is), but I think you mean the Target URL on the default tab? If so: "content.php{session.sessionurl_q}"

Lynne
01-02-2014, 06:49 PM
Those are all exactly the same as on my test site. What do you have entered in AdminCP > Settings > Options > Site Name/URL/etc > CMS Component URL ?

charlesr
01-03-2014, 08:09 AM
Huh. Weird.
And CMS Component URL is blank.

edit: I checked the "SEO URL Alias" in the top level section and it's "home" (not "index"). I then changed the default page to "1-home" (instead of "1-Index") and it now goes to .net/content/ (for which pagerank is 0!).

I still can't get my main bordersdown.net url to stay put without it auto-adding the /content/ but do you think I'm moving in the right direction? I tried the suggestion in this thread (http://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-questions-problems-and-troubleshooting/412023-home-is-now-com-content-php-instead-of-just-com) about modifying index.php but it didn't help so I unmodified it.

Lynne
01-03-2014, 04:27 PM
What type of Friendly URLs are you using? Mine is set to Basic Friendly URLs right now.

charlesr
01-03-2014, 05:28 PM
I have mine on mod rewrite. If I change to basic friendly, it shows .net/content.php

Lynne
01-03-2014, 09:42 PM
Then I would guess this is some server setting because mine doesn't act like yours at all.

charlesr
01-04-2014, 12:06 PM
Ok thanks Lynne. Much appreciated.

Oddly, if I set the forum as the default tab, it works fine.

Lynne
01-04-2014, 06:12 PM
Hmmm, very odd.