The Joomla! Forum ™






Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: SEO Settings Problem
PostPosted: Mon May 16, 2011 2:01 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Sun Nov 07, 2010 10:43 am
Posts: 71
Location: Karachi Pakistan
Hi,
If we set "Search Engine Friendly URLs" in "Global Configuration setting" on "Yes" our joomla site not work properly.
it shows like this

Image

is there any solution for this problem ?

_________________
www.vir-zone.com/


Top
 Profile  
 
 Post subject: Re: SEO Settings Problem
PostPosted: Mon May 16, 2011 2:09 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue May 10, 2011 12:43 pm
Posts: 1
i feel just check with alignment of the websites


Top
 Profile  
 
 Post subject: Re: SEO Settings Problem
PostPosted: Mon May 16, 2011 3:31 pm 
Joomla! Guru
Joomla! Guru

Joined: Mon Feb 21, 2011 4:02 pm
Posts: 951
Location: UK
It looks like your CSS is not loading.

That's likely to happen if you have a relative URL in the link to the CSS file instead of a link that begins with a slash and therefore correctly counts from the root.

_________________
Online since 1995.


Top
 Profile  
 
 Post subject: Re: SEO Settings Problem
PostPosted: Mon May 16, 2011 8:19 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Aug 19, 2005 2:26 am
Posts: 2351
Location: Lancaster, Lancashire, United Kingdom
If you have the SEF urls of the form example.com/index.php/some-page.html you will almost always get this issue.
The best workaround is to set the live_site variable within the configuration.php file.
live_site = 'http://www.example.com', // without a slash at the end I believe.

Hope that helps.

Dean

_________________
Dean Marshall Consultancy - team of six Joomla experts
http://www.deanmarshall.co.uk/
Pharma Hack Fix http://www.deanmarshall.co.uk/pharma-hack-intro.html


Top
 Profile  
 
 Post subject: Re: SEO Settings Problem
PostPosted: Tue May 17, 2011 12:48 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Sun Nov 07, 2010 10:43 am
Posts: 71
Location: Karachi Pakistan
Thanks all for reply
I check 1st then tell u..

_________________
www.vir-zone.com/


Top
 Profile  
 
 Post subject: Re: SEO Settings Problem
PostPosted: Fri May 20, 2011 10:25 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Dec 18, 2009 8:51 pm
Posts: 8
i agree with DeanMarshall.

this problem is with link give in joomla template design for the css.
open the index page of any joomla templates like beez, and same time open the index page of template which you have problem with it.
compare both templates in the header section for the css links you may find like this

Code:
<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" />


check it in your template index.php also for the same .
hope it will solve the issue.


Top
 Profile  
 
 Post subject: Re: SEO Settings Problem
PostPosted: Fri May 20, 2011 12:50 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Sun Nov 07, 2010 10:43 am
Posts: 71
Location: Karachi Pakistan
in beez template this line is like this

Code:
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/template.css" type="text/css" />


and i am using siteground templates. in my default template this line is like this

Code:
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />


now what is do ?
if u say i shall send u both index files.

_________________
www.vir-zone.com/


Top
 Profile  
 
 Post subject: Re: SEO Settings Problem
PostPosted: Fri May 20, 2011 1:31 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Aug 19, 2005 2:26 am
Posts: 2351
Location: Lancaster, Lancashire, United Kingdom
All you need to do is set the following line inside your configuration.php file:
Code:
var $live_site = 'http://www.your-domain-goes-here.com'; // no forward slash at the end


Add that line - or edit the existing one if it is present but set to empty (no value between quotes).
If I'm understanding your problem correctly - that will solve it.

Dean

_________________
Dean Marshall Consultancy - team of six Joomla experts
http://www.deanmarshall.co.uk/
Pharma Hack Fix http://www.deanmarshall.co.uk/pharma-hack-intro.html


Top
 Profile  
 
 Post subject: Re: SEO Settings Problem
PostPosted: Sat May 28, 2011 3:22 am 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Sun Nov 07, 2010 10:43 am
Posts: 71
Location: Karachi Pakistan
DeanMarshall wrote:
All you need to do is set the following line inside your configuration.php file:
Code:
var $live_site = 'http://www.your-domain-goes-here.com'; // no forward slash at the end


Add that line - or edit the existing one if it is present but set to empty (no value between quotes).
If I'm understanding your problem correctly - that will solve it.

Dean


Thanks sir.
My problem has solved by using this method.
And in Joomla Documents Directory i read an article about SEF. That is also helpful. i am coping some lines from there...

Quote:
If you encounter problems, try modifying the $live_site setting in configuration.php. If Joomla! is installed in the root (ie, inside public_html or htdocs), set $live_site to / or http://www.example.com or http://example.com. If Joomla! is installed in a subdirectory (ie, /joomladir), set $live_site to /joomladir or http://www.example.com/joomladir or http://example.com/joomladir. See also Why does your site get messed up when you turn on SEF (Search Engine Friendly URLs)?



Thanks and bye...

_________________
www.vir-zone.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 



Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group