ProsePoint Express: hosted newspaper website content management software

Redirects and links pointing to the wrong base URL

2 replies [Last post]
OpenBip
User offline. Last seen 2 years 2 weeks ago. Offline
Joined: 22/01/2010
Posts:

Hello!

I have ProsePoint installed at [WEB_ROOT]/home.

There are two URLs that point at [WEB_ROOT]: http://www.notARealURL.com and http://notARealURL.primaryDomain.com (those are not the actual URLs).

When I go to http://www.notARealURL.com/home, I immediately get redirected to http://notARealURL.primaryDomain.com/home, and all the links also use http://notARealURL.primaryDomain.com/home as their base.

I uncommented $base_url in [WEB_ROOT]/home/sites/default/settings.php, and set its value to http://www.notARealURL.com.  I temporarily added PHP "echo" statements to [WEB_ROOT]/home/includes/bootstrap.inc and succeeded in verifying that $base_url was being read in.  But this didn't change anything -- still being redirected to the other URL.

So now I'm at a lost with regard to why my ProsePoint site keeps wanting to use http://notARealURL.primaryDomain.com -- I can't find any references to that URL in the ProsePoint directory structure so I don't know how it even knows about the other URL.  I searched through my [WEB_ROOT]/home/.htaccess file, which I never edited, and didn't see references there.

Any ideas?  Thanks!
-- Jim

OpenBip
User offline. Last seen 2 years 2 weeks ago. Offline
Joined: 22/01/2010
Posts:
That is, I set my $base_url
That is, I set my $base_url to "http://www.notARealURL.com/home" -- I left the "/home" off in my OP.
beng
User offline. Last seen 1 week 3 days ago. Offline
Joined: 27/02/2009
Posts:
I think your redirection issue is caused by something else

Hi,

I think your redirection issue is caused by something other than ProsePoint.

ProsePoint will happily exist on more than one web address (ie. both http://www.notARealURL.com and http://notARealURL.primaryDomain.com) and it certainly does not do any sort of redirection out-of-the-box.

It's also rare that you need to edit $base_url to make things work.

So, I'd like to suggest ...

Firstly, undo your $base_url (and any other related changes you may have done) to revert back to defaults.

Then, create a test directory [WEB_ROOT]/test with a test index.html (with some random text) and see if you get the same redirection behaviour. If so, then the redirection is caused by your web hosting account and not by ProsePoint.