vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to get homepage as url instead of /content/1-home (https://vborg.vbsupport.ru/showthread.php?t=306411)

charlesr 12-29-2013 03:30 PM

How to get homepage as url instead of /content/1-home
 
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 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 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.


All times are GMT. The time now is 11:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01632 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete