Home Forums WordPress Plugins Hide My WP 404 on modified links

This topic is: resolved
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #683
    LeBearUK
    Post count: 13

    I know it works I’ve seen it in action before.

    I’ve attached a debug report, what’s included in my htaccess and screen shots. Here’s a list of most actions I’ve taken to try and resolve the problem so far.

    I’ve been through the documentation and quick fix guide.

    – .htaccess chmod 777
    – Disable all plugins
    – Use twentytwelve theme
    – Commented out WP lines in htaccess
    – Tried manual htaccess updates
    – Different permalink structures
    – Reset HMWP & only activated theme location mod

    Please could you assist I’m pulling my hair out here after 3 days.

    I’m using this stack, https://aws.amazon.com/marketplace/pp/B007IP8BKQ?ref=cns_srchrow and I haven’t made any changes other than the chmod to htaccess.

    Server modules
    * Updated OpenSSL to 1.0.1g* Updated phpMyAdmin to 4.1.12* Improved Apache configuration for PHP-FPM mode* Updated Apache to 2.4.9* Updated PHP to 5.4.26* Updated MySQL to 5.5.36

    This may be a server config issue – in that case maybe a little out of my depth. I would really like to get this setup. If so would you be prepared to look at server setup for a fee?

    #685
    Hassan
    Post count: 955

    I don’t see debug report here. No problem, could you please install “wp htaccess editor” plugin and add login details as a private reply here.

    Don’t worry, I’ll fix it for you!

    #687
    LeBearUK
    Post count: 13
    This reply has been marked as private.
    #692
    LeBearUK
    Post count: 13
    This reply has been marked as private.
    #693
    LeBearUK
    Post count: 13
    This reply has been marked as private.
    #694
    LeBearUK
    Post count: 13
    This reply has been marked as private.
    #695
    Hassan
    Post count: 955

    I found the problem:

    It’s as simple as this: your htaccess doesn’t work! It’s just like a fake file!

    WP permalinks need htaccess to work but even when I delete all htaccess content WP pretty URLs works well !

    This means your Apache server configured to not consider user generated .htaccess files and instead use a global configuration. Contact your host support or check out your Apache config file to enable htacess.

    #696
    LeBearUK
    Post count: 13

    Hassan I really appreciate you looking into this for me, you’re a legend!

    I know what action to take now.

    It could be a good article to add to your documentation for future queries. I’ll let you know how I resolve it step by step with Amazion AWS.

    Thanks again

    #697
    Hassan
    Post count: 955

    In fact, you were first with this kind of problem!

    I’m not sure other buyers with Amazion AWS had this problem.

    Please let me know when you get response from Amazon guys.

    Good luck!

    #698
    LeBearUK
    Post count: 13

    You were in fact right, the wordpress root .htaccess was being bypassed by the application configuration.

    I’m using an AWS Bitnami WordPress stack, it’s configured to override .htaccess in the htdocs folder. This is where all the WP files are located.

    In the parent folder to htdocs, in this instance wordpress there is a folder called conf

    \bitnami\apps\wordpress\conf\

    This has the application configuration file with the setting that prevents .htaccess override in the htdocs

    This file is called httpd-app.conf

    Open this file and change the following line:

    AllowOverride None
    to
    AllowOverride All

    Save the file and reboot the server and voilà! HMWP can do its job as it’s supposed to!

    Thanks again!

    • This reply was modified 9 years, 11 months ago by LeBearUK.
    • This reply was modified 9 years, 11 months ago by LeBearUK.
    #701
    Hassan
    Post count: 955

    Glad to hear it works for you!

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.