• Resolved Rick

    (@rickycardo)


    So I’ve built my website using www.remarpro.com on my Synology NAS and everything appears correct when I visit the site through WordPress. But when I try to access it from the internet I can only get the home page to load. That page loads when I type my domain address rickycardo.synology.me. When I click a menu item to go to, for example, the About Me page the browser times out. What’s strange is that instead of showing my domain, e.g. rickycardo.synology.me/wordpress/about-me it displays my IP adress/wordpress/about-me.
    I’m not sure why it wants to display like that. I have resaved my permalinks, disabled my plug-ins and done all the easy troubleshooting but no change.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • What’s strange is that instead of showing my domain, e.g. rickycardo.synology.me/wordpress/about-me it displays my IP adress/wordpress/about-me.

    Well, it’s not really that strange: WordPress “remembers” whatever address was used during the initial installation and sticks this in the database. This address is then used to generate all links. Saving permalinks has nothing to do with this.

    You need to change your site’s URL from the IP address to the domain name to solve this problem. Please see:

    Changing The Site URL

    Thread Starter Rick

    (@rickycardo)

    Thanks for your help. I changed the URL in phpMyAdmin to rickycardo.synology.me and it had no effect. I changed my site url to https://rickycardo.synology.me on the Settings > General page and resaved my permalinks. I can access the home page but clicking any menu item now returns a 500 internal server error. If I return everything back to my IP address I can access all the web pages through WordPress but nothing more than the home page from the internet.
    I’m no closer to a solution than I was a week ago.

    Thread Starter Rick

    (@rickycardo)

    I fixed this problem. Its not well documented anywhere but I found that if you are using a virtual host you DO NOT NEED to enter the folder in the Setting > General > Site URL.
    For example if you are running DDNS on your NAS your site URL on WordPress should look like this:
    https://mydomain.com/web/wordpress
    If you are using DDNS AND a virtual host on your Synology NAS your site url in WordPress would look like:
    https://mydomain.com
    It was that simple. Everything now works and all web pages are accessible from the internet.

    Its not well documented anywhere but I found that if you are using a virtual host you DO NOT NEED to enter the folder in the Setting > General > Site URL.

    Well, this is really not a WordPress issue but classic sysadmin stuff and Synology’s peculiar setup… as this is not specific to WordPress or even content management systems in general. What you discovered would apply even if you were building hand-crafted static HTML pages.

    Anyway, I’m glad figured it out.

    And good luck with your WordPress journey and website.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Menu items can’t be accessed online’ is closed to new replies.