Page 1 of 1

Change site URL inside the theme (BlogX)

Posted: Wed Oct 25, 2023 9:20 pm
by ashrafakader
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).

Re: Change site URL inside the theme (BlogX)

Posted: Thu Oct 26, 2023 9:39 pm
by CCDzine
Instead of `Theme::siteUrl()` in navbar.php try...

Code: Select all

echo $site->url();