Post by pmha » Sun Jul 10, 2016 6:42 pm

Hi gurus

I need help with my problem.
when i log to admin panel with http://www.mydoman.com/admin, everything is fine

But when i stripped dow www, like : http://mydomain.com, at first some icon at login screen was not display, when i logged in , there was a popup message "Error undefined" and all the icon on the left menu bar were not displayed.

Hope you can help

Thanks so much

Attachments

Untitled3.jpg

Untitled3.jpg (35.48 KiB) Viewed 836 times


Newbie

Posts

Joined
Thu Jun 30, 2016 1:59 pm

Post by impairedspook » Sun Jul 10, 2016 7:37 pm

Hi pmha,

The font awesome icons generally will display as squares when you go to your site using a different URL that is specified in your config files... example, if your config file has

Code: Select all

define('HTTP_SERVER', 'http://www.example.com/admin');
but your visit your site using

Code: Select all

http://example.com/admin 
You will see the squares instead of the proper icons,

You want to check config.php in your home directory along with admin/config.php. I would recommend deciding on a URL (with or without www), making sure both config files specify what you have decided to use and then setup a 301 redirect to redirect the URL you are not using to the one you have decided on...

Hope this helps :)
impairedspook

Active Member

Posts

Joined
Sat Apr 26, 2014 4:44 am

Post by pmha » Sun Jul 10, 2016 7:51 pm

Thank you
it is exactly as you said.

I setup a 301 redirect and now everything is fine!

Thank you

Newbie

Posts

Joined
Thu Jun 30, 2016 1:59 pm

Post by impairedspook » Sun Jul 10, 2016 8:04 pm

No problem, great to hear all is well now :) Cheers

Active Member

Posts

Joined
Sat Apr 26, 2014 4:44 am
Who is online

Users browsing this forum: No registered users and 66 guests