WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
[resolved] Just installed WordPress HTTPS on a shared SSL server (21 posts)

  1. David
    Member
    Posted 3 years ago #

    I just installed the app on my website and am getting a 404 error. Im using a shared SSL and the Q and A said how to fix it but Im new to WordPress and dont know how..

    I'm getting 404 errors on all of my pages. Why?
    If you're using a public/shared SSL, try disabling your custom permalink structure. Some public/shared SSL's have issues with WordPress' permalinks because of the way they are configured.

    Where do I find my custom permalink structure and how do I disable it? And when I do is it going to change my site at all?

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Mvied
    Member
    Plugin Author

    Posted 3 years ago #

    Hey lutchenpc,

    You can disable your permalinks by going to WordPress Admin -> Settings -> Permalinks and check the Default option. All of your links will be changed to use the default permalinks (/?p=123).

    Thanks,
    Mike

  3. David
    Member
    Posted 3 years ago #

    Thanks Mvied. Before I got this..

    Not Found (404)

    The requested URL /make-payments-here/ was not found on this server.

    I did what you said and now I get this..

    Not Found

    The requested URL /make-payments-here/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

  4. David
    Member
    Posted 3 years ago #

    Still not working :(

  5. Mvied
    Member
    Plugin Author

    Posted 3 years ago #

    Hey lutchenpc,

    Correct. It's not going to work. Using Permalinks.

    You probably have a link hard-coded to that page. You should never do that. Instead, do something like this: get_permalink( $page_id ) (where $page_id is, use the ID of the page you want to link to).

    Thanks,
    Mike

  6. David
    Member
    Posted 3 years ago #

    Gotcha, so If I understand correctly I do get_permalink(make-payments-here) where? In the permalinks custom structure or where?

  7. Mvied
    Member
    Plugin Author

    Posted 3 years ago #

    Hey lutchenpc,

    No, get_permalink is a PHP function defined by WordPress to retrieve the full URL of a given WordPress post/page. If the link is hard-coded in your template, that's where you'll need to use that function.

    If the link is in a page/post, you'll just need to update the link to it's new permalink. You can find that by editing that page in the admin panel.

    Thanks,
    Mike

  8. David
    Member
    Posted 3 years ago #

    I dont think it is hard coded.

    So what new permalink do I update the link to for the HTTPS to work?

  9. Mvied
    Member
    Plugin Author

    Posted 3 years ago #

    Hey lutchenpc,

    You didnt ask how to secure a page, you asked why you were getting 404 errors on all of your pages. You're not even getting a 404 like you said they were, so I'm trying to help you fix a problem you don't even have.

    Edit the page you want secure and check Force SSL.

    Thanks,
    Mike

  10. David
    Member
    Posted 3 years ago #

    Sorry for the confusion as this is sort of new to me. I understand I need to edit the page I want to make secure and check the checkbox Force SSL but my question pertains to the editing. You say i need to update the link to its new permalink... How do I know what that is? Im logged into the dashboard right now and have the page I want to secure.

  11. David
    Member
    Posted 3 years ago #

    So I messed around a little and here is an update..

    whenever I click Force SSL and save that page I get this..

    Not Found (404)

    The requested URL /make-payments-here/ was not found on this server.

    So I go back and uncheck Force SSL and the page goes back to normal. So if I understand you correctly you are telling me I need to go to the page I want to make secure and edit it accordingly and make sure to check Force SSL right? If thats the case here are my questions..

    I edit the page, where do I edit it and what do I edit it to? The only thing I see above is get_permalink( $page_id ) (where $page_id is, use the ID of the page you want to link to) but later you said I use that function if its hard coded which Im not sure if it is.

    If you want me to hire you to help me set this up for your time I can certainly do that otherwise I appreciate all the help thus far.

    I sent an email via your website with as well. I know my website is set up goofy on wordpress and needs to be adjusted but in the meantime I need to do whatever I can do to get this working as my clients are reluctant to make any more payments until said page is secure.

  12. Mvied
    Member
    Plugin Author

    Posted 3 years ago #

    Hey lutchenpc,

    Forget about changing a page's permalinks, you don't need to. You never needed to. The get_permalink thing was for a problem you're not having. You need to change the site's permalink structure. My first post tells you how to do that.

    On the 404 page, what URL is in the address bar?
    What do you have set in your SSL Host?

    Thanks,
    Mike

  13. David
    Member
    Posted 3 years ago #

    Alright now Im getting somewhere, thanks!

    Here is the url..

    http://www.lutchenpc.com/make-payments-here/

    Going back to your first post here is what I did. Using the custom structure here - /%category%/%postname%/ when having Force SSL checked I get this -

    Not Found (404)

    The requested URL /make-payments-here/ was not found on this server.

    Going back and changing the custom structure to default which is this - http://www.lutchenpc.com/?p=123 I get...

    Not Found

    The requested URL /make-payments-here/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    As far as my SSL host goes is..

    http://www.lutchenpc.com

  14. David
    Member
    Posted 3 years ago #

    I took about an hour and a read through all the other threads here and Im even more eager to use your great app but due to my noob skillet in this matter, I cant seem to get it to work and regrettably didnt find any help as I was hoping. Any further assistance would be much appreciated as Ill certainly promote the app and you as the developer via my website once I get it running. Thanks!

  15. Mvied
    Member
    Plugin Author

    Posted 3 years ago #

    Hey David,

    You don't have an SSL certificate. Talk to your hosting provider about setting up an SSL certificate for https://www.lutchenpc.com/.

    Thanks,
    Mike

  16. David
    Member
    Posted 3 years ago #

    You're right I dont have SSL Cert cause this plugin says it works on both a cert and shared SSL I thought?

  17. David
    Member
    Posted 3 years ago #

    Supports Shared and Private SSL.
    Helps reduce or completely fix partially encrypted / mixed content errors.
    Force SSL on a per-page basis.
    Force SSL in admin panel.

    The secure URL for my site is: https://secure60.inmotionhosting.com/~lutche5/

    The page I want to access can be accessed with this URL: https://secure60.inmotionhosting.com/~lutche5/make-payments-here/

  18. Mvied
    Member
    Plugin Author

    Posted 3 years ago #

    Hey David,

    It does if you set it up correctly. How is the plugin supposed to know what your Shared SSL Host is if you don't tell it? Set your SSL Host to "secure60.inmotionhosting.com/~lutche5".

    Considering https://secure60.inmotionhosting.com/~lutche5/ produces a "Page Not Found" error, I don't think you will be able to use that Shared SSL Host. Let me know how it goes.

    Thanks,
    Mike

  19. David
    Member
    Posted 3 years ago #

    So here is where Im at..

    The reason why you saw that is because I didnt have the page set up yet, it was offline till I got all this figured out. But what I come to find out is my htaccess file isnt set up properly to configure a shared ssl set up. Well As Im growing Ill be moving off a shared sever soon anyway so the work I would need to do to set up the shared set up would be to much work where I just bought a SSL which will make things a lot easier. Ill let you know when I get it which will hopefully be soon.

  20. David
    Member
    Posted 3 years ago #

    I have no idea who oiweolsd is and am at little worried my info is being copied. I want to let you know what I ended up doing.

    I thought it was over kill to get a SSL just for my one page to have a secure form for just a few of my clients to use. So I went over to emailmeform to simply buy a SSL form from them at https://www.emailmeform.com/builder/form/iKcTO0v7Jf9dVar5ze06fqb and now have it like this.. http://www.lutchenpc.com/make-payments-here/

    Just because I wont be using your great app, I will leave a very good testimonial and promote it to my clients and colleagues. Thank you so much for your dedicated help and can you please remove this thread so no one else is lifting or copying my information, I would really appreciate it.

    Thanks again.

    David

  21. dgebel
    Member
    Posted 3 years ago #

    Not to hijack, since this seems to be a finished subject now, but I'm having the same problem. See http://wordpress.org/support/topic/plugin-wordpress-https-ssl-not-working-for-shared-ssl-on-bluehost?replies=3#post-2450483 for details.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.