We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3722
    • 171 Posts
    I am building a new site from scratch and in the process of templating it.

    All of my pages are the same. Same content and same template as the home page.
    I noticed that the friendly url in the browser bar is correct, but the site name in the browser tab was set to home, for all pages.

    I was finally able to correct it by switching off friendly url’s
    Has anyone else seen this or have a solution?

    Thanks
    BG66
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      What do you have in your template for <title>...</title>?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 3722
        • 171 Posts
        <title> [*pagetitle*] | [(site_name)] </title>
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          And if every page has the same content, do they also all have the same "page title"?
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 3722
            • 171 Posts
            Yes, they all have the same page title.

            The temporary site is hosted here:
            pack4.vectortechgraphics.com

            Thanks
            BG66
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Well, if they all have the same Page Title, and you told your template to use [*pagetitle*] in your <title> tags, they will all have the same thing in the browser title bar.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 3722
                • 171 Posts
                No each resource has it’s own unique Title, Long title, Description, Alias and Menu Title.
                The URL address shows each page title correctly.
                The browsers tabs all say "Home" and the page displayed is the home page. Even when using different templates for each resource.
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  Are you sure you have your .htaccess set up correctly? Is your MODx installed in the root of the web space, or in a subdirectory?
                  RewriteBase /

                  - or -
                  RewriteBase /subdirectory-name
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    The reason why you’re only getting the Home page all the time is because it is set to be your "not found" error page in the site’s Configuration.
                      Studying MODX in the desert - http://sottwell.com
                      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                      Join the Slack Community - http://modx.org
                      • 3722
                      • 171 Posts
                      Thank you Susan!
                      It’s fixed! I had to change my "ht.access" file in the root directory to ".htaccess"

                      I missed that step in setting up the new site.
                      Thanks for all your help!

                      BG66