Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8956559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:48:52+00:00 2026-06-15T14:48:52+00:00

im updating a project , the problem is that all images src and header

  • 0

im updating a project , the problem is that all images src and header links and etc have path like this:

src="/media/js/hoverIntent.js"

and i cant see every thing ok on localhost

when i delete the first ‘/’ in src every thing is ok. but the project is very big and i cant delete one by one ,
how can i solve this problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:48:53+00:00Added an answer on June 15, 2026 at 2:48 pm

    Use mod_rewrite to point the failing URLs to the correct ones.

    As example: your application uses URLs like /media/js/hoverIntent.js but everytime the URL begins with /media and you have the data stored on your dev server in /myapp/media/.... In this case you can solve it by placing following .htaccess in your root folder:

    RewriteEngine On
    RewriteRule ^media/(.*)$ /myapp/media/$1
    

    Sure, you need to adjust the target URL of your files on localhost

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this action for updating data: def edit @project = Project.find(params[:id]) if @project.team
Background: I have a project that is not at all large scale (2 ASP.NET
I have a much used project that I am working on currently updating. There
I have a problem that I would like to tell you because is about
I'm updating a project from VS2008 to VS2010 and I'm getting this error: uafxcwd.lib(afxwinappex.obj)
I have been researching OSGI to determine its viability for updating an existing project.
I'm working on a project that requires a fair bit of inserting/updating rows in
I have a WCF Web application that uses a WCF Class Library. My project
My project uses my personal library. In header search paths, I have included ../WJLibrary/**.
I'm soon to be working on a project that poses a problem for me.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.