HTML href processing and permalinks
-
I have 3,900 html files and 3,600 images to import. I plan to use permalinks which are the name of the html files with no extension. I can search and replace the html files before import but I need to know exactly how URLs are processed. My plan is, if I have a file called abc.html to change all references in the HTML to href=’abc’, is this correct or do I need a slash at the beginning and end or do you do that?
The images are in a sub-directory of the same directory the html files are in and so abc.jpg I will reference as src=’images/abc.jpg’. Will these be loaded correctly into the media area?
I also have anchor href links directly to the images (e.g. anchor href=’images/abc.jpg’), how do you process these?
I will testing on my local machine and then copying the files to the server and repeating the HTML Import 2 there. I therefore use all relative names as the path will change.
The topic ‘HTML href processing and permalinks’ is closed to new replies.