Another Base URL issue!

Permalink
Hi Guys -

We have a site up and running but for the love of Pete we cannot find a seemingly simply issue. Basically, if you usehttp://www.mydomain.co.uk every things fine. But remove the www and we get a blank page/site.

I have combed everything including .htaccess, prettyURLs', site.php base URL.... everything.

Does any kind sole have anything meaningful we could look at/try to resolve?
Worth pointing out we have a few C5 site sand never had this issue before,

Appreciate any help.

Thanks.

rammie
 
exchangecore replied on at Permalink Reply
exchangecore
Could you post your actual domain so we could have a look? Or PM it to me if you don't feel comfortable posting it here.

Also, could you post the contents of your .htaccess file?
rammie replied on at Permalink Reply
rammie
Hi, thanks for your reply -

The URL ishttp://www.gtm.co.uk

Heres the htaccess contents:

# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
# -- concrete5 urls end --

Appreciate your time.
exchangecore replied on at Permalink Reply
exchangecore
Ah, well you won't fix this with an htaccess file. Your problem lies within DNS.

Go manage the DNS for your domain, I think you'll find thathttp://www.gtm.co.uk and gtm.co.uk are pointed at 2 different IP addresses.
rammie replied on at Permalink Best Answer Reply
rammie
Ah ha!! In this instance, the clients own IT guys look after there domain - and of course the DNS - so I have alerted them to the situation and requeted the change.

Will need to allow time for them to action it and to propagate. I'll report back once thats done either way.

Thanks very much for your time, this one really had us puzzled! Out of interest, how ea you able to establish such a quirk?
exchangecore replied on at Permalink Reply
exchangecore
When I visited each site they were clearly different sites. So a quick ping on each of the domain names revealed different IP addresses.
rammie replied on at Permalink Reply
rammie
That was indeed the issue as suspected. The IT guys on the clients end updated the DNS and after propagation... bingo!

Many thanks for your speedy and helpful replies.

Kindest.
rammie replied on at Permalink Reply 1 Attachment
rammie
Hi again!

We noticed an issue with images missing in the editor when making page edits (see attached) were aware of this but thought that the updating the DNS for the domain would also resolve what looks like path issue - but has not.

Are you able to office an insight into why images are missing in edit mode? Our other sites in Concrete all show images in the editor. I've looked on the forums but no one else seems to have the issue.

Any ideas appreciated (or let me know if I should start a note thread)
rammie replied on at Permalink Reply
rammie
Strangely, on another site working fine with and without the 'www' and the htaccess is as folllows:


# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --


I have tried that in the problem site but it makes no difference.
Jupiter replied on at Permalink Reply
Jupiter
When I visited each site they looks fine....and ip addresses are same..please check clearing browsers cache and cookies and look into this
rammie replied on at Permalink Reply
rammie
Hi Jupiter -

The issue has ben resolved with updating the DNS. Please see above.

Thanks for chiming in though.
Jupiter replied on at Permalink Reply
Jupiter
ok...Thanks