• Resolved coleruddick

    (@coleruddick)


    Using Shortn.it v 1.7.4 I’m getting a 404 error.

    My short domain: http://cole.uno is aliased via cPanel to my full domain name: http://coleruddick.com and the alias works fine. (Custom DNS settings confirmed on domain host)

    Short links generated by the plugin using the full domain name work fine, but when the plugin is configured with the short domain, the short links result in a 404 server error.

    An example of the 404 with short domain can be seen here: http://cole.uno/AKK1m
    Yet, using the plugin with my full domain, the short link works: http://coleruddick.com/AKK1m

    I’ve read through the other support posts and plugin documentation, but I must be missing something. Ideas?

    Thanks in advance!

    https://wordpress.org/plugins/shortnit/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter coleruddick

    (@coleruddick)

    Today, I’ve actually tried deleting the alias for http://cole.uno in cPanel and adding it as an addon domain, redirecting to http://coleruddick.com. This still didn’t solve the issue and I get the same exact results as in my previous post.

    Something to note is that the coleruddick.com domain is actually also an addon domain on this server. Not sure if that would make any difference, but figured it’s worth stating.

    So, I’ve now gone back to deleting the addon domain cole.uno (since I don’t need a directory on the server for it) and re-adding it as an alias.

    Now, http://coleruddick.com/AKK1m still works using a short link generated by the Shortn.it plugin, but http://cole.uno/AKK1m results in a 404. The plugin settings are still set to “Different Domain” with the cole.uno domain in the field and http://cole.uno still redirects fine to site’s root (home).

    Any idea what I’m missing here? I’m currently stumped.

    Plugin Author docofmedia

    (@docofmedia)

    Hi coleruddick,

    Sorry for the delayed response.

    As far as I know, CPanel will not allow you to assign an alias to an addon domain. I found a way around this limitation by setting up the short domain as an addon as well, but set up redirection with direct translation from the short domain to the full domain. When configuring the redirect, make sure to check the box for “Wild Card Redirect”. Here’s a video tutorial showing how and where to set it up in CPanel: youtu.be/krdwEaUjZsk

    Hope that helps and let me know if you need any further assistance.

    – docofmedia

    Thread Starter coleruddick

    (@coleruddick)

    Yay! That did it!

    Not sure why I didn’t think to try this before but I wasn’t thinking of adding the short domain as an addon domain and THEN redirecting it.

    Hoping anyone else who runs into this issue will see the workaround.

    Thank you very much for the reply & your help. Loving the flexibility of this plugin combined with it’s simplicity.

    Best wishes!

    Plugin Author docofmedia

    (@docofmedia)

    Hi coleruddick,

    I’m glad that worked for you. I updated the documentation to be a little more clear on when that situation was applicable and the proper steps to take.

    Thanks for bringing this to my attention,
    – docofmedia

    Thread Starter coleruddick

    (@coleruddick)

    Thanks again. You rock.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Getting 404 Error When Using Short Domain’ is closed to new replies.