Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • johnnys Friend
    #199089

    Hi,

    I have just viewed my site after the weekend to see the message String could not be parsed as XML.

    If I manually type mydomain/blog I can access the blog and every other page, however my indes page doesn’t appear.

    My menu is set to XLayout – Features Intro, I have also changed this and It makes no difference, however if I change the template (to prostar) it works. Why? I haven’t made any template changes recently, nor any other core changes. No additional plugins or modules have been installed – seems to just have randomly broken.

    I am still able to access the admin are, where I was able to change the templates. I was able to update the T3 plugin as well, according to my install I am using T3 version is 2.3.0 and Purity version 1.0.0 Developer preview.

    Can anybody shed some light on this issue?! I could probably re-install the template but I want to know what’s going on if possible, bug?

    Joomla 3.2.3

    The only edit I did make was to the htaccess file – I added this code, however it worked fine all day after I made the change;

    # Redirect non-www urls to www
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.mydomain.com
    RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]

    Thanks

    J

    Saguaros Moderator
    #539959

    <blockquote>If I manually type mydomain/blog I can access the blog and every other page, however my indes page doesn’t appear. </blockquote>

    I could not get your point here. Please update url of page where problem can be seen here and describe in details of how it should be. I will give you suggestion then.

    johnnys Friend
    #539989

    Hi – apologies that should have read ‘index’ page not indes.

    Anyway I managed to get it working again. It was due to my .htaccess file, I had added the following code to the bottom of the file to redirect all non-www urls to www.


    # Redirect non-www urls to www
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.mydomain.com
    RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]

    Is there something wrong with the syntax above, or is there any reason why it won’t work? I realise this isn’t a Purity issue showever any help would be appreciated.

    Thanks

    J

    Ninja Lead Moderator
    #540202

    @johnnys: Here is correct script:

    Change:


    # Redirect non-www urls to www
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.mydomain.com
    RewriteRule (.*) http://www.mydomain.com/$1 [R=301,L]

    To:


    # Redirect non-www urls to www
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www.mydomain.com$ [NC]
    RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301]

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Ninja Lead 9 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum