Success
| Project: | Pathologic |
| Version: | 5.x-1.1-beta7 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I recently moved my site from my PC (Local Host) to my webhost. All my internal links have remained the same when I moved online.
The site structure locally is - http://localhost/project/Awesum-site/
Whenever I used to link another content locally; I used to copy this URL - /project/Awesum-site/any-content and paste it in the text where I wanted to hyperlink it.
Now, in the web host all the internal links remain just as they were locally - (www.awesum-site.com/project/Awesum-Site/) which gives me a 'page not found' error.
Is there anyway I can solve this with Pathologic? I followed instructions in the documentation and enabled Pathologic about 15 minutes back. Will it be able to change my links automatically (& immediately)? or do I have to tweak something (other than what is there in the documentation)?
Appreciate your time..will wait for your comments

#1
Please read this post, including the comments. I think it will answer the questions you have.
#2
Thanks Garrett. Before I saw your reply, I re-read the documentation thrice. Later I added the local path - project/Awesum-site/ while configuring input formats. It works like a breeze now.
Your module is great. Thanks for putting in the hard work to develop such stress-busters :). I know that it would have taken me hours if not days if I had gone on changing all the links manually.
Cheers!
#3
Cool. Any chance I could convince you to take all that time I just apparently saved you and invest it in upgrading to Drupal 6? The D5 version of this module is old and buggy, and D6 has lots of other cool features besides.
#4
I'd recently mooted myself to convert to D6, but there are still modules like node - relativity (which is used extensively in my site) and a couple of others that are still not ported. I'll have to wait for them to upgrade before I do.
Garrett, recent update on issue - All internal links looks fixed now. But there's another minor problem; I use the 'table of contents' module (http://drupal.org/project/tableofcontents) to create a table of contents (using heading tags). These automatically create internal anchor links to heading tags within a node. The anchor links are broken now...
How do I fix this?
#5
You didn't really specify what was broken. No matter, though, since I'm not really interested in trying to fix the old version…
…But try rearranging your input filters and putting Table of Contents after Pathologic.
#6
Sorry for being unclear. The anchor links within the same node doesn't work (www.yoursite.com/some-content#a-place-within-this-content). I checked the hyperlink (of the anchor) and it, for some reason has changed to: (www.yoursite.com/some-content%a-place-within-this-content)
#7
And this is still happening even after you rearrange Table of Contents to come after Pathologic?
#8
I didn't actually arrange it after Pathologic. I will put Table of contents at the bottom and report back the results...
Update: I re-arranged the filters so that the 'table of contents' is at the bottom of the list (with Pathologic just before that). Now all the links and the table of content links also are working properly.
Thanks...
#9
I had earlier been successful in using Pathologic to get the links working properly. .I moved from a local site (from PC) to a production site online. Though the links work fine, images seem to be broken.
My problem continues from my first post in this thread...
FYI, I use image assist module (which is based on the inline filter) to insert images into posts. I added this line into the pathologic configuration in the 'inline filter' - /project/awesum-site. Some of the
images seem to be working while some are broken,.
Garrrett, Can you please help...
Appreciate your time..
#10
Could you link me to the live site? Send it to me via email if you're not comfortable with linking to it publicly yet.
#11
Thanks Garrett, I have sent you a lengthy mail. Pardon me (cough)
#12