Change site URL inside the theme (BlogX)

Post Reply
ashrafakader
Sr. Bludit
Posts: 40
Joined: Tue Sep 05, 2023 1:33 pm
Has thanked: 9 times

Inside site settings (in the back end "Settings/ Advanced"), I changed both "site URL" and "homepage URL" to the full URL, as just domain/sub doesn`t work in my case.
This didn`t affect the link inside the site title, that`s beside the navigation bar, on the left.
Ths link should be "https://prize-sci.org/lpl/index", NOT "https://prize-sci.org/lpl"

I opened CSS and PHP files, but found no way to change this URL.

I tried editing it here

Code: Select all

		<a class="navbar-brand" href="<?php echo Theme::siteUrl() ?>">
(inside navbar.php)
However, editing this leaves the site blank (white).
User avatar
CCDzine
Jr. Bludit
Posts: 9
Joined: Thu Sep 07, 2023 11:49 pm
Location: Sierra Nevada Mountains, Califonia
Has thanked: 3 times
Been thanked: 6 times
Contact:

Instead of `Theme::siteUrl()` in navbar.php try...

Code: Select all

echo $site->url();
Greg Sweet
Post Reply