• Hi,
    New to wordpress… recently installed wordpress on my home NAS. Set up a blog site, and could “publicly” access it from across the internet.
    However, all the links to graphics or new pages where trying to resolve using my internal (to my home network) IP address, rather than to my DDNS name or external ip address.
    In my ignorance, I tried to correct this by setting the permalinks to point to my DDNS, rather than the internal IP, but since then, I cannot access the public view of my site. (http://<ddns name>/cpd/)
    I can still access the “Admin” view, by browsing to http://<ddns name>/wordpress.
    If I go back to the permalinks settings, they appear to still be set to the old settings….
    Does anyone have any suggestions on how I can “mend” my blog, without having to delete and start again (which is not too big an issue if needed… I only have about 5 posts that i could probably re-write if needed!)
    Many thanks
    WriterAW

Viewing 1 replies (of 1 total)
  • Running a website on a DDNS webserver is not the best idea. If you do this, you need to use your public domain name rather than any IP address. If using DDNS your publicIP might change and internal IPs are not being routed in the public internet.

    However, to correct this:

    • 1) The WordPress URL set in the settings page should point to your DDNS address.
    • 2) You need to update all posts, pages etc that contain links or images referring to the wrong (internal) IP address. All occurances of the wrong IP need to be replaced with the correct public domain name.
    • 3) There is a very handy tool out there to do exactly this task for you
      http://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    If this sounds too complicated I recommend you delete your MySQL tables and reinstall wordpress, using your public domain name for the wordpress URL.

Viewing 1 replies (of 1 total)

The topic ‘Site has gone 404!’ is closed to new replies.