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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Problem with internal links


Go to End


2 Posts   1241 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...