How to make the site root-relative links work in DW and the server?
See details on buggy behavior DW image link, below. My question is:
(1) how the site root-relative links work in DW and the server? Or...
(2) how to reliably automate change of hundreds of links relative to the root of the form
/images/image.jpg relating to the document?
In other words, to
.. /images/image.jpg or
.. /.. /images/image.jpg or
.. /.. /.. /images/image.jpg etc... According to the location of the directory.
The old format (/images/image.jpg ) used to work properly in my previous Setup of DW 8 but appear grey in DW after 'redevelopment' of mac cs5.5 DW. (they look good on the server, but it is difficult to change the image-heavy pages locally when they are all gray).
I tried to change the files to how DW creates relative links root now:
/public_html/images/image.jpg, which is a flow of root very easy, attractive, since there is a one-to-one mapping. These look great in DW, but are detailed on the server!
I looked at the "Advanced" site configuration, and it seemed that it would be possible for the nuke part /public_html/ of my server info... but it also seemed that there was the potential to do damage, modification of these parameters, which are automatically generated from our server connection settings, which seem to work.
The "links from the document / site root" toggle... did change how DW interprets existing links, or simply change the value by default when you add a link? I did 80% of the file... before paper links I wondered if relative to the root is not better?
Of course, it seems less ambiguous for all these pictures if theres a way to make the relative root works for the mode of creation of DW, DW link checking and server.
Summary of the buggy behavior: (see the test with images here)
'old style' link of the root of the site
/images/img_book/WScover120x150_NEW.jpg
Design veiw in DW: broken (grey w / broken icon)
Check DW a link: "external link" (i.e., unverifiable, + file might appear orphaned)
Browser: good
Ease of switching: n/a (existing format)
'new style' link site root
/public_html/images/img_book/WScover120x150_NEW.jpg
Design veiw in DW: good
Link check in DW: good
Browser: broken
Ease of switching: easy
Link to document
.. /.. /images/img_book/WScover120x150_NEW.jpg
Design veiw in DW: good
Link check in DW: good
Browser: good
Ease of switching: hard (how to automate)
Absolute link
http://www.oasisdesign.net/images/img_book/WScover120x150_NEW.jpg
Design veiw in DW: broken (grey w / broken icon)
Link check in DW: external (i.e., unverifiable, + file might appear orphaned)
Browser: good
Ease of switching: n/a... not a real option
Thank you!
Think of your site definition is set up wrong. public_html should not be to anywhere in your local site. It is up to your remote site under the directory root definition. See screenshot. In my example, the root directory of the server is htdocs /. This is where you put public_html
Nancy O.
Tags: Dreamweaver
Similar Questions
-
How to make the server behavior Panel?
How to make the server behavior in Dreamweaver CC Panel 2014?
Sorry, they are now gone. You need an extension to restore.
Please see post Preran here.
-
I just changed the links in the navigation bar of a site root relative links-related links.
for example
/ shopping/Core-Skills-Training.
I have a remote control and test server (xampp) set up and everything worked until I changed it. But the links are now displayed like this
http://localhost/courses/core-skills-training/
they should be
http://localhost/testing/courses/core-skills-training/
(I have several folders for different sites in the htdocs xampp.)
I guess I just need to change a line or an option somewhere that it works, but don't know what.
Any help would be greatly appreciated.
Ben
Here are my parameters to the test server.
Well Yes. It's the behaviour expected of a local test server. The reason is that the / drills all the way up to your hard drive instead of the site xampp folder. If you publish your remote site, your root relative links will work as it should. Just trust your code.
Nancy O.
-
When I open a new tab, NO best sites don't show up... shows just a search engine box. I have Firefox 33.0. Why is there no 'pin' button when I opened a new page? How to make the top sites page appears when I open a new tab?
Here is some additional information on the configuration of the new tab page:
(1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.
(2) in the search above the list box, type or paste newtab and make a pause so that the list is filtered
(3) double-click the preference browser.newtab.url and enter your favorite page:
- (Default) page thumbnails = > subject: newtab
- Blank tab = > subject: empty
- Built-in Firefox homepage = > topic: welcome
- Any other page = > full URL of the page
Press Ctrl + t to open a new tab and check that it worked. Fixed?
Some traps:
If Firefox will not let you change this setting: you can have what is called SearchProtect on your system.
Firefox if allows you to save your changes, but he doesn't know: one of your extensions may be the substitution of her. You can consult, disable and/or remove extensions on the addons page:
"3-bar" menu button (or tools) > Add-ons > in the left column click on Extensions
If the modification works during your session, but during the next startup is leads to: you could have a user.js file in your personal settings Firefox (your Firefox profile folder). This article describes how to track down and delete the file: How to fix preferences that will not save.
A little luck?
-
Does anyone know how to make the site in different languages?
Does anyone know how to make the web in different languages? and how to make the menu appear on the master page in the target language?
Hello
You must create the page content in languages that you want and then bind using the options in the subfolder on root of the hosting platform.
More details:
http://forums.Adobe.com/message/6065652#6065652#6065652
For the menu, you need to create different masters, and then apply on the pages.
Thank you
Sanjit
-
How to make the blue grid? PDF file at this link...
How to make the blue background of the grid and the photo? PDF file at this link:
http://www.grad.HR/Mostovi/files/masivni/04_masivni_mostovi.PDF
I need to print, but with all this color, it would be a terrible blow to my toner!
p.s. I have Presentation adobe acrobat x pro...
You could do it with preflight check, but the more fundamental question is whose record is this? The author applied this model to prevent people of the cloth located below print / of copy, and you have permission to edit the document? These forums never will help people engage in copyright infringement.
-
How to make the paper dirty after update links?
Hello
I use the code to update the link between resources by providing new URI below. The relationship between resources are updated, but the document is not become dirty.
InterfacePtr < ICommand > updateCmd(CmdUtils::CreateCommand(kLinkResourceStateUpdateCmdBoss));)
UpdateCmdData InterfacePtr < ILinkResourceStateUpdateCmdData > (updateCmd, UseDefaultIID());updateCmdData-> SetResource (REF.) GetUID());
updateCmdData-> SetDatabase (REF.) GetDataBase());
updateCmdData-> SetNotify (true);
updateCmdData-> SetUpdateAction (ILinkResourceStateUpdateCmdData::kUpdateURI);
updateCmdData-> SetURI (newURI);
updateCmd-> SetUndoability (ICommand::kRegularUndo);
CmdUtils::ProcessCommand (updateCmd);How to make the paper dirty after update resources?
Thank you
Use PreDirty(); before your change.
-
How to make the updates of operating system for the limited user account?
original title: how to make the updates of operating system for the limited user account? Limited user account cannot access the Windows Update page, see instead cautioned against MS the most recent must be installed.
XP Pro SP3 slipstreamed. New a DBAN nuked HDD installation
All the OS updates installed from Admin acct before creating the LUA
AV installed AVAST
all dot net uninstalled and then reinstalled to resolve a problem installing Quicken
Updates to auto lit
Active Windows Firewall
Three solutions of workaround for Windows XP running as a limited user
http://blogs.Computerworld.com/16502/three_workarounds_for_running_windows_xp_as_a_limited_user
Survive a Windows XP Limited user account
http://techknack.NET/surviving-a-Windows-XP-limited-user-account/
See the response from Michael Kuntz - re: HAL files
There is an available for installation of SP3 Cd
Manually installing SP3 using the Microsoft Download Center or a CD
If you have problems to receive the service pack from Windows Update, you can download SP3 as a standalone package from the Microsoft Download Center Web site, and then install SP3 manually. The installation package is intended for it professionals and developers, but you can always download and install this file.
You can also order a CD from Microsoft containing SP3. For more information, go to the Microsoft site.
To manually install SP3 using the standalone package installation or CDDo one of the following:
If you downloaded SP3 from the Web site, to install it immediately, click Open or run and follow the instructions on the screen. To install the program later, click on save and download the file to install it on your computer. When you are ready to install the service pack, double-click the file.
If you install SP3 from the Service Pack 3 CD, insert the disc into your computer with your current version of Windows XP running, and Software Update Installation Wizard should appear automatically. If this wizard does not appear, click Start, double-click my computer, click on your CD or DVD drive and then click AutoPlay.
In Windows XP Service Pack 3 page, click Next.
Follow the instructions that appear on your screen.
Once the installation is complete, click Finish to restart your computer.
If you disabled your antivirus software, turn it back on.
-
How to make the icons of new office like netflix?
original title: the desktop icons
How to make the icons of new office like netflix?
Access the Web from Netflix site > right click on a part of the page > create a shortcut > click YES to window next question re shortcut on desktop > is she.
Double-click the desktop icon to access their web Page.
-
How to make the default text size and line spacing in small Sticky Notes?
How to make the default text size and line spacing in small Sticky Notes
Hello
I suggest that you try the method below and check if it helps.
Method 1: analysis of auditor of file system (CFS)
System File Checker is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files. To perform a scan of the SFC, check out the link: https://support.microsoft.com/en-us/kb/929833.
Note: the steps for Windows 8/8.1, works perfectly with Windows 10.
Method 2: clean boot
A clean boot is executed to start Windows by using a minimal set of drivers and startup programs. This will eliminate software conflicts that occur when you install a program, an update or when you run a program in Windows. Follow the link to perform the clean boot: https://support.microsoft.com/en-us/kb/929135.
Kind regards
Angelo bar
Microsoft community
-
If I have a macbook but parallel platform for vmware to run windows for mac, how to make the windows side to recognize the connection wireless from my mac
Hello
-You use Boot Camp as the Boot Manager? If so, make sure that all boot camp for Windows 7 drivers are installed.
-You receive an error message?
If you use Boot Camp, I suggest yo 1All operations from the below mentioned link and check if the problem persists.
Boot Camp: Windows 7 Installation, frequently asked questions
http://support.Apple.com/kb/HT3986
For reference:
Support for Boot Camp
http://www.Apple.com/support/Bootcamp/
Hope this information helps.
-
New to i Mac, how to make the photos to import into Photoshop default?
New to i Mac, how to make the photos to import into Photoshop default?
Hi Johnv,
Please visit the following link: How to Photoshop Your Default Image Editor in Mac OS X
Let me know if it helps.
Kind regards
Tanuj
-
How to make the pdf in adobe bridge cc
How to make the pdf in adobe bridge cc
Adding to the rpandita station, please follow the link below for module add an exit in the most recent version of the bridge CC.
Reference: install Adobe Output Module
Let us know if that helps.
Kind regards
~ Mohit
-
How to make my site in a mobile site without doing it all again
How to make my site in a mobile site without doing it all again? Please fern
Hey fern,
Currently, it is the only way to do so.
-
How to make the bottom of the page shorter?
Ok...
The homepage on my website is too long, and I'm doing shorter.
How to make the page shorter and cut some of this big empty space that I don't need?
I went to the master page to move the footer, but it did not work...
Any suggestions? site: www.oilgear.us
Hello
I suggest you delete "sticky footer" page master and that should fix the problem for you. "
You must follow the steps below.
1. make sure that areas of text 'Fluid Power Solution for today' and 'www.oilgear.us' still 'Footer'.
2. go to the Page Master > Page > Page Properties > Layout > uncheck "Sticky footer".
2. once fact preview the site and you would observe that the page height is less.
Concerning
Vivek
Maybe you are looking for
-
This problem occurred for several months. I've updated Firefox several times, but the problem persists. Very frustrating!
-
While I'm playing music in wmp on the last 5 seconds of each song, there is a pause as, and the audio stops and then finish the song '. What this can be? Please help this is driving me crazy... Thank you.
-
Hi guys,. I need help to find the root cause of the BSOD I get. IV got the minidump file, but no way to read it. Here is a link of the minidump: http://s000.tinyupload.com/index.php?file_id=96653471386466486657 Thank you! Your help is very appreciate
-
Problems with the Express upgrade and an upgrade key
Before I've had my laptop, I have purcahsed a Windows 7 Ultimate upgrade disks and Windows 7 Professional. I used the ultimate update on my desk and I try to use the Professional on my laptop (which came with home premium). The problem is that I now
-
Hi im new in blackberry that I have a problem with the new methods of painting that I have a custom field and I want to make a new class of graphics to draw my pictures below is an example of what I want to do I how you see the idea about what I want