Homepage okay but all links are broken

Category: Joomla

jjuan01
Asked:
2014-03-06 3:38 am EST

Hits: 87
Please, help. I tried to troubleshoot but no luck. All the links are broken.
http://biz146.inmotionhosting.com/~walshs6

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

JeffMa
Staff
7,372 Points
2014-03-06 9:36 am EST
This appears to be due to search engine friendly URLs being turned on, but the .htaccess file is not in place for it. To resolve this issue, take the htaccess.txt file that is bundled with Joomla and rename it to .htaccess. Once in place, your links should work just fine.

You must login before you can post a comment about this answer.

i see it's already renamed .htaccess and I had support upload a default one but still didn't work. I see this error when I go to Global Configuration and turn Off Search Engine Friendly URLs. Fatal error: Call to undefined function apc_cache_info() in /home/walshs6/public_html/libraries/joomla/cache/storage/apc.php on line 132
jjuan01
31 Points
2014-03-06 11:35 am EST
I took a further look into your code and it appears that you had some misconfiguration within your .htaccess file that needed some adjustment. Because you are using the temp URL, you need to define the specific folder that the files reside in. In your .htaccess file, you'll see something like:

RewriteBase /~walshs6


When you begin using your domain instead of the temp URL, be sure to comment out this line.
JeffMa
7,372 Points
Staff
2014-03-06 12:37 pm EST
Thanks for the comment. Can you give me an example? I'm using a template and where is the default location usually?
jjuan01
31 Points
2014-03-06 12:47 pm EST
The specific line I am referring to is:

RewriteBase /~walshs6


This line is located directly within the .haccess file. To comment out a line, simply place a # symbol at the beginning of the line.
JeffMa
7,372 Points
Staff
2014-03-06 12:58 pm EST
Hello jjuan01,

It looks like Jeff already made the adjustment to your /public_html/.htaccess file for you, on line number 56.

Typically you wouldn't need to change the RewriteBase if you were just using your domain name. But because you're accessing the site over the temporary URL, it needs to be done this way.

You might have better luck if you modify your .htaccess file to force your domain name to resolve to our server directly. That way after you're done developing your site on our server, you don't need to go back and change anything in relation to the temporary URL setup for Joomla.

- Jacob
JacobIMH
9,521 Points
Staff
2014-03-06 1:05 pm EST
I really appreciate the help! I see it's working now. When I do go live and point domain name to your DNS, what configurations will I need to do to prepare myself? Thanks!
jjuan01
31 Points
2014-03-06 4:38 pm EST
Hello jjuan01,

No problem at all for the help. When you are ready to update your domain to point to our name servers. You will just need to remove this line from your .htaccess file:

RewriteBase /~walshs6


As I mentioned previously, you could also modify your local computer's hosts file to go ahead and start resolving your domain to our server. If you did it that way, then you would just work on your site as if you'd already updated the name servers for your domain to point to us.

- Jacob
JacobIMH
9,521 Points
Staff
2014-03-06 4:45 pm EST
The domain owner transferred the site by using the shared IP and links are working fine as it is now (http://www.walsh-shea-corridorconstructors.com/~walshs6/team) when I commented out RewriteBase / ~walsh6 but I would like to remove "/~walshs6" but not sure how? Appreciate any help. Thanks.
jjuan01
31 Points
2014-03-22 6:27 pm EST
Hello jjuan01,

It looks like you were able to install Joomla using the temporary URL for your website.

If you now have your domain name pointing at our server, and no longer need to use the temporary URL, you'd want to modify this line in your Joomla configuration.php file:

public $live_site = 'http://biz146.inmotionhosting.com/~walshs6';


You'll want to change this back to your full domain name:

public $live_site = 'http://www.walsh-shea-corridorconstructors.com';


Then your Joomla site should stop trying to utilize the temporary URL format which includes your username, and instead just display the site as you would expect.

Please let us know if you had any other questions at all.

- Jacob
JacobIMH
9,521 Points
Staff
2014-03-22 7:07 pm EST
Thank you. That fixed it. Much appreciation.
jjuan01
31 Points
2014-03-22 7:23 pm EST
Like this Question?

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 201661

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!