Title: Generated Wrong Links for Scripts and Styles
Last modified: November 7, 2017

---

# Generated Wrong Links for Scripts and Styles

 *  Resolved [campanilla_renee](https://wordpress.org/support/users/campanilla_renee/)
 * (@campanilla_renee)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/generated-wrong-links-for-scripts-and-styles/)
 * Hi!
 * I am getting console errors when I am in the Options page. One of the errors 
   are: `GET http://mydomain.lan/wp/www/sites/mydomain.lan/wp-content/plugins/accelerated-
   mobile-pages/includes/options/extensions/vendor_support/vendor_support/vendor/
   select2/select2.css?ver=3.5.2 net::ERR_ABORTED`
 * It seems that self::$_url is generating links with repeating domains.
 * I am using plugin version 0.9.66.1.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/generated-wrong-links-for-scripts-and-styles/#post-9658364)
 * Hi [@campanilla_renee](https://wordpress.org/support/users/campanilla_renee/)
 * That’s extremely strange. The directory path is different. Are you sure you are
   on the latest version?
 * Can you perhaps do a clear cache and cookies and share a screenshot of the browser
   console?
 * I will check and help you fix this issue.
 *  Thread Starter [campanilla_renee](https://wordpress.org/support/users/campanilla_renee/)
 * (@campanilla_renee)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/generated-wrong-links-for-scripts-and-styles/#post-9661569)
 * Hi [@ahmedkaludi](https://wordpress.org/support/users/ahmedkaludi/)!
 * Thanks for your response.
 * I’ve found out that this error was caused by how docker was setup in my machine.
   Your plugin works well when I tried it in XAMPP.
 * Thanks again!
    -  This reply was modified 8 years, 6 months ago by [campanilla_renee](https://wordpress.org/support/users/campanilla_renee/).
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/generated-wrong-links-for-scripts-and-styles/#post-9669620)
 * Hi [@campanilla_renee](https://wordpress.org/support/users/campanilla_renee/)
 * I’m glad to know that.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Generated Wrong Links for Scripts and Styles’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/generated-wrong-links-for-scripts-and-styles/#post-9669620)
 * Status: resolved