Title: generating link with 404 error
Last modified: January 14, 2021

---

# generating link with 404 error

 *  Resolved [ipoblete](https://wordpress.org/support/users/ipoblete/)
 * (@ipoblete)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/generating-link-with-404-error/)
 * hi,
    Optimizer plugin is replacing the following url(/wp-admin/images/wpspin_light-
   2x.gif) WITH url([https://www.viaggioespresso.cl/wp-content/themes/shoptimizer/assets/css/main//wp-admin/images/wpspin_light-2x.gif](https://www.viaggioespresso.cl/wp-content/themes/shoptimizer/assets/css/main//wp-admin/images/wpspin_light-2x.gif))
   witch I’m getting 404 error. Any idea how to solve? Best Regards,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgenerating-link-with-404-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Stoyan Georgiev](https://wordpress.org/support/users/stoyangeorgiev/)
 * (@stoyangeorgiev)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/generating-link-with-404-error/#post-13911270)
 * Hey there [@ipoblete](https://wordpress.org/support/users/ipoblete/),
 * Could you provide additional information on where exactly do you get that error?
   How can we replicate that issue? Where is that URL changed?
 * Kind regards,
    Stoyan
 *  Thread Starter [ipoblete](https://wordpress.org/support/users/ipoblete/)
 * (@ipoblete)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/generating-link-with-404-error/#post-13913674)
 * hello,
    I get this at rank math 404 error panel. I get only URI
 * wp-content/themes/shoptimizer/assets/css/main/wp-admin/images/wpspin_light-2x.
   gif
 * and referent
 * [https://www.viaggioespresso.cl/finalizar-compra/](https://www.viaggioespresso.cl/finalizar-compra/)
 * Im using shoptimizer theme. Asked to them and seems to be blocked by the scripts.
 * Best reards,
 *  Plugin Author [Stoyan Georgiev](https://wordpress.org/support/users/stoyangeorgiev/)
 * (@stoyangeorgiev)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/generating-link-with-404-error/#post-13920712)
 * Hey there [@ipoblete](https://wordpress.org/support/users/ipoblete/),
 * You are getting that because the CSS set for this image is relative, meaning 
   that when combined, the whole theme path will be appended to that URL.
 * In order to get it fixed, you can edit the relative path to the absolute one 
   and the image will be loaded properly without showing the 404 error.
 * Kind regards,
    Stoyan

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

The topic ‘generating link with 404 error’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

## Tags

 * [gif](https://wordpress.org/support/topic-tag/gif/)

 * 3 replies
 * 2 participants
 * Last reply from: [Stoyan Georgiev](https://wordpress.org/support/users/stoyangeorgiev/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/generating-link-with-404-error/#post-13920712)
 * Status: resolved