-
AuthorPosts
-
johnnys Friend
johnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
June 23, 2014 at 3:42 pm #199089Hi,
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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 24, 2014 at 4:53 am #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 Friendjohnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
June 24, 2014 at 8:10 am #539989Hi – 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 26, 2014 at 1:43 am #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]
-
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by Ninja Lead 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum