php – base_url Link Issue – Education Career Blog

I’m using following code:

$config'base_url' = "";

Also Im using Flash navigation:

on(release) {

The Problem is When I give url as in address bar Flash navigation link is not working. If i give link from its work perfectly.

Can anyone solve my issue?

Or else, is it possible to use like this:

$config'base_url' = "";
$config'base_url' = "";


This question is quite vague. But to redirect to www using .htaccess try:

RewriteCond %{HTTP_HOST} !^www|localhost
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 L,R=301


Is the flash object trying to read a page / data from the server?
In this case, Cross-domain policy for flash prevents form accessing data which resides on other domains. (Sub domains, such ass and are treated as different domains.)
You would need to add a crosdomain.xml policy file


If Petah’s answer doesn’t help you, then it could very well be a setting with your web server. I use shared hosting and I know whenever I configure a new domain I have an option like this:

Domain options on DreamHost

If you own your own web server, check the httpd.conf file. Otherwise, if it’s on shared hosting, see if there’s a setting for making it required/non-required.

Leave a Comment