Primary Domain w/subfolder not wokring with .htaccess change

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
User avatar
carterx
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Sat Jan 24, 2009 8:34 am

Primary Domain w/subfolder not wokring with .htaccess change

Post by carterx » Wed Jan 23, 2013 7:26 pm

I have the needed info adjusted with the (.htaccess) file as described here https://my.bluehost.com/cgi/help/347 but when I go to my domain http://www.twistedmac.com it will work but if I click on any link within the site it will go to http://www.twistedmac.com/twistedmac

It worked fine with my 1.8 install (no changes were ever made within my Joomla install yet worked) but now I have the latest version of Joomla 3 installed and wont. It's a clean install and I've added nothing and changed nothing. Everything seems to be set correctly in the admin panel.

The article here http://docs.joomla.org/Moving_the_site_ ... irectories is just for Joomla 1.5 so I didn't bother making any of these adjustments.

Any ideas? Thanks!!

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Primary Domain w/subfolder not wokring with .htaccess ch

Post by sovainfo » Wed Jan 23, 2013 8:53 pm

Thank you for the the link to bluehost. Finally someone documented the request of so many. No more moving the site to the root. No more changing path's when doing so.

The article doesn't mention these actions became obsolete. So, gladly you didn't follow those instructions. They don't apply to your situation. Not because you are not running J1.5, but because you don't need to move Joomla to the root if you tell it to find it in the subdirectory.

Too bad the Joomla doc claims it is only for J1.5. Given time, I'll change that it applies to any version (not sure on J1.x).

As long as the url stays untouched as promissed in the article. It does tell you to look at $base_url and $live_site. Not familiair with $base_url but what is the value of $live_site?
Maybe put domain in there without subdirectory.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
carterx
Joomla! Intern
Joomla! Intern
Posts: 60
Joined: Sat Jan 24, 2009 8:34 am

Re: Primary Domain w/subfolder not wokring with .htaccess ch

Post by carterx » Wed Jan 23, 2013 9:50 pm

FIXED! :)

I changed the "$live_site" in the "configuration.php" file and it now works.

used to be

Code: Select all

$live_site = ' ';
changed it to

Code: Select all

$live_site = 'http://www.twistedmac.com/';
8)


Locked

Return to “General Questions/New to Joomla! 3.x”