Can a site the browser to examine all the links (relative to the root) as belonging to another area?

One of my sites gets its images on another server (and domain). Therefore, instead of paths relative to the root, I use full http:// URL.

Is not a big deal, except that the area where these images are stored too, sometimes changes. I have to find/replace all http:// on the right, so they point to the new domain.

I just thought that a cleaner solution (which can - hopefully - already exist) might be to insert a single line at the top of the HTML file indicating the browser to view all the links related to the root as belonging to another area.

Something like:

< meta domain = "alternatesite.com" / > "

"< img src="/images/image.jpg "/ >

Where only one line should be changed, and the code would read as it is located on alternatesite.com, even if it is com.

It is already doable and if so, what is the right syntax?

Thank you!

You have skills with the script server? It would certainly be a way to do.

Tags: Dreamweaver

Similar Questions

  • How can I disable the e-mail address 'members only area Details "?

    How can I disable the email address of 'Member only area Details' I get when registering for access to the secure area? I remember, it was something that I put in the HTML code of the form itself, but I can't find this information in the knowledge base now.

    Hello

    You can disable email notification that is sent to the person submitting the web form by adding the SAR = false to the method of action of the form. Note that this will disable all the autorepliers for the form.

    For example...

    WebFormID=40420&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID ={module_cid}&SAR=false" enctype="multipart/form-data" onsubmit="return checkWholeForm45998(this)" method="post" name="catwebformform45998">

    I hope this helps!

    -Sidney

  • Can I change the root password in VoP Server Explorer?

    Hello

    I was encouraged to see VoP Server Explorer, but my network does not have any system to have a default root password. Can I change the root user password?

    Thank you!

    Jennifer Flanagan

    Altogether.  Just connect to the console as root and type 'passwd' to change the root password.  Be sure to keep track of what you set, because there is little recourse except in single-user mode if it goes astray.

  • I can't change the creative cloud to ENGLISH, there are Chinese, please help

    I can't change the creative cloud to ENGLISH, there are Chinese, please help

    Change the language of your Cloud Creative applications

  • How can I locate the folder where my backup files are stored on my internal hard drive? I want to delete all backup files

    operating system is windows vista laptop.

    I went into system restore settings and couldn't find how to locate my saved files. I think they take a LOT of space, I deleted all other unused files and I have more than 6 GB of free space out of 67 concert. Help, please? I don't know much about computers at all.

    Hello

    Follow the method of deleting a file of older backup using sub steps and check later if the problem persists.

    (a) open backup and restore by clicking the Start button, click Control Panel, click system and Maintenanceand then clicking backup and restore.

    (b) click on Manage space. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (c) to delete older backups of files under that data backup file, click on view backups.

    You can then select the backups of files that you want to delete, which will free up disk space. Remove an entry in the list will not affect the other backups. If you think that you don't need one version of your files from a certain backup period, you can delete that backup. We recommend that you always keep the most recent backup.

    Backup and restore: frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows7/back-up-and-restore-frequently-asked-questions

    Should what backup settings I use to maximize my disk space?

    http://Windows.Microsoft.com/en-us/Windows7/what-backup-settings-should-I-use-to-maximize-my-disk-space

    Hope this information is useful.

  • How can I make the biggest user account icons, they are too small?

    I can barely see the names in the user accounts on the computer. Can I enlarge the icons? It is the screen that appears when you turn on the computer.

    Hi ToniBialek,

    Follow the troubleshooting steps in this thread to adjust the size of the icons for your user account.

    Let is know if this helps.

  • How can I add the date of my taskbar notification area?

    I have the time but not the date in my notification area of the taskbar, how can I add the date?

    Right-click in an empty area of the taskbar, click Properties and then on the tab of the properties task bar, clear the check mark next to "Small icons"  This, of course, also means that the taskbar will be slightly higher, and you won't have the small icons.

  • Can I transfer the Win 7 OS to another PC?

    Hello

    I have two PCs, we're on Win 7, the other is on Win XP (Pro).

    Let say after 8 Win is sound, I bought the shop installation kit at the market price, I know if I can install my Win 7 to the old PC using the recovery DVD? There are two BONES are different licenses.

    Thank you

    Low

    Hello

    "Do I know if I can install my Win 7 to the old PC using the recovery DVD?

    DVD recovery implies the preinstalled OEM license.

    Pre-installed Licenses OEM (HP, Acer, etc.) and the Microsoft System Builder OEM licenses are tied to the first machine that they are installed on and channels of license when this machine dies.

    OEM licenses are not transferable.

    If you have purchased your own license for sale retail of Windows and installed yourself, yes you can transfer it to another computer.

    Retail licenses are transferable.

    And if you upgrade a Windows 8 operating system, you cannot use the operating system upgraded to install another anywherer thing, because it is now part of the process of upgrading and licensing.

    See you soon.

  • WIN8: Can I adjust the screen resolution by a notification area icon?

    I have a compressed HPEnvy X 2 running Win8. I connect it to a projector of data via a HDMI/VGA adapter. In order to get the projector to display properly, I have to change the screen resolution of salvation to the lowest. I pinned control panel display icon on the desktop to make this need more quickly, but it is yet to click in it, select res screen adjust etc. Is it possible to have an icon in the Notification area that will put in place the 2 resolutions and I would change it in a single click? Moreover, the system displays for the data projector, but says that it cannot find a second screen, so I don't think that I can set permanently hi res for the main and weak wreck for the 2nd monitor

    Hi Max,.

    Area the notification provides notifications and status. Well-designed programs use the appropriately, without being annoying or distracting notification area. You can not adjust the resolution of the screen to a notification area.

    I suggest you try the steps from the following link how to change the resolution of the screen on Windows 8.0

    Get the best display on your monitor (set your monitor to its native resolution)

    http://Windows.Microsoft.com/en-in/Windows-8/get-best-display-monitor

    Come back and let us know the State of the question, I'll be happy to help you. We, at tender Microsoft to excellence.

  • Can I transfer the PES 11 installation to another pc?

    Hello

    I want to transfer my installation of PES 11 of my old laptop to a new laptop. Can I do this and how do I do this? Can I activate the software without buying it again?

    Hi bschep24,

    A single license, you can install it on two computers using the same serial key but it cannot simultaneously use both machines, but one at a time.

    You can install PS11 from the direct link: http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm l .

    Please follow the instructios very important before downloading.

    Kind regards

    Romit Sinha

  • Auto create the value of a given field based on the range of percentage in another area

    Hello, people forum!  I am trying to create a field that fills a score based on the percentage in another area.  To this end, I have a field that autocalculates a percentage based on two other fields.  I would be close to a third field which, for example, the rate less 75% 2... 75 - 85% 3... and more than 85% 4.  I can't understand the syntax to make it happen, can anyone of you help?

    For the edification, my percentage field looks like:

    Calculation of the percentage of rock - use the number Format "percentage".

    If (this.getField("RockTotalQ").value == 0) {}
    Event.Value = 0;
    } else {}
    Event.Value = this.getField("RockComplQ").value/this.getField ("RockTotalQ") .value;
    }

    Thank you.

    You can use something like this than the calculation script custom in the other field (make sure that it appears after the 'Percentage of Rock' field in the calculation order, if!):

    var v = this.getField("Rock Percentage").valueAsString;
    if (v=="") event.value = "";
    else {
        v = Number(v);
        if (v<=0.75) event.value = 2;
        else if (v<=0.85) event.value = 3;
        else event.value = 4;
    }
    
  • User ID and password, how he can only see the Web page belong to him and other users cannot visit

    I use PHP + SQL + DW to develop the Web site. This site has 5 users, each user will follow up its own list of clients that is in the same form of mySQL database.  Each user has its own ID and password.

    My question is:

    1. how to make each user can see only its own customers?

    2. when users connect you, how each of them can visit only its own web page, while the other 4 users cannot visit.

    Waiting for your response.

    Thank you.

    Martin

    You must make sure that the SELECT statement in all Recordset queries contains the user id in the WHERE clause. The structure of the SELECT statement must be such that it limits the results to only relevant lines for this user. This ID must be filled with a session variable. Do not go to the page using a query string.

  • With the help of iPhone 6 s. try to copy the text message with a tap double and get a bubble with icons. How can I copy the message to paste in another?

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    maryml wrote:

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    Press and hold on the text and wait for the copy/more pop up.

  • Where can I find the themes I downloaded. They are not in the page more modules.

    They aren't in the appearance tab more as they were before. How can I change my themes now.

    I installed it on the former. I fixed it by uninstalling everything and then installed it again.

  • can I install the CD for printer on another computer/laptop that I installed it in the first cp

    Photosmart d110 series running windows 7

    Hi single,.

    Yes, you can install the printer on several computers in your home. If you need to download the software and driver, visit the following link.

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=MP-80511-1&cc=us&DLC=en&LC=en&OS=4063&product=4023246&sw_lang=

Maybe you are looking for