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
-
☆ A M B ☆
- 24,524 Posts
What do you have in your template for <title>...</title>?
<title> [*pagetitle*] | [(site_name)] </title>
-
☆ A M B ☆
- 24,524 Posts
And if every page has the same content, do they also all have the same "page title"?
Yes, they all have the same page title.
The temporary site is hosted here:
pack4.vectortechgraphics.com
Thanks
BG66
-
☆ 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.
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.
-
☆ 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?
- or -
RewriteBase /subdirectory-name
-
☆ 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.
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