Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
PinPics Posted November 18, 2023 Posted November 18, 2023 Right now, the header/logo on our site links to the forums. Is it possible to set that to link to a certain page in the Pages App? Thanks!
Solution teraßyte Posted November 18, 2023 Solution Posted November 18, 2023 There is no option for that currently. You need to edit the template core > front > global > logo and replace (twice) the link: {setting="base_url"} with the one you want to use. PinPics 1
PinPics Posted November 19, 2023 Author Posted November 19, 2023 16 hours ago, teraßyte said: There is no option for that currently. You need to edit the template core > front > global > logo and replace (twice) the link: {setting="base_url"} with the one you want to use. Do I just replace base_url with https://sitename.com -- or something else. I just tried that (inserting the site address between the quote marks), but it tells me that the PHP is broken and changes cannot be saved.
Nathan Explosion Posted November 19, 2023 Posted November 19, 2023 No, you would replace all of the provided content: {setting="base_url"} ...with your chosen content.
PinPics Posted November 19, 2023 Author Posted November 19, 2023 8 minutes ago, Nathan Explosion said: No, you would replace all of the provided content: {setting="base_url"} ...with your chosen content. Here's what I just had in there: But after saving that and going out to click on the logo, it just shows this error:
Nathan Explosion Posted November 19, 2023 Posted November 19, 2023 You have replaced this: setting="base_url" You haven't replaced this: {setting="base_url"} notice the curly braces you have left behind, that you should be removing? PinPics and teraßyte 1 1
PinPics Posted November 19, 2023 Author Posted November 19, 2023 Brilliant. My mistake! Thanks so much. Off to find a second cup of coffee . . . which I should have had before doing this. 😉
Meddysong Posted November 19, 2023 Posted November 19, 2023 Alternatively, you could keep it as it was, and then append "forums" (no slah or quotation marks) so that I'd your domain name ever changes, it will still work.
Recommended Posts