Navin
Navin

Reputation: 646

wordpress js and css are served from IP address instead of domain name

I have installed SSL for my wordpress site (apache , ubuntu), in address bar the site is working with domain name, but JS and CSS file paths are showing as IP address instead of URL.

I have checked wp-config file WordPress Address (URL) ,Site Address (URL) is added correctly.

Help me on this.

enter image description here

Upvotes: 1

Views: 1766

Answers (1)

Oloff Biermann
Oloff Biermann

Reputation: 716

Most likely you have the WordPress address set to the IP address still.

To change this go to wp-admin and then Settings->General.

Change "WordPress Address (URL)" and "Site Address(URL)" to the URL for your domain instead of the IP address.

Upvotes: 1

Related Questions