Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Problem with internal links


Reply


2 Posts   460 Views

Avatar
Chepry

Community Member, 4 Posts

19 August 2012 at 7:28pm

I recently upgraded my server into Apache/2.4.3 (Win64) PHP/5.4.5.
Now I have "little problem" (I guess due to some configuration changes).

When I point browser to my homepage, let's say http://silverstripe/
every link in source code looks like that: href="/index.php/about-us/"...
Then again if I manually enter correct url http://silverstripe/about-us/ -
everything looks good and works fine until i click link to homepage (/).

I would appreciate any suggestionsas
to why this might be happening,
thanks,
Andrew

Avatar
Chepry

Community Member, 4 Posts

19 August 2012 at 7:38pm

Of course when I change BASE_SCRIPT_URL in index.php from 'index.php/' into './'
my site works fine, but it just a cure, not a real reason...