WordPress.org

Support

Support » Localhost Installs » [Resolved] 403 Forbidden WAMP WordPress

[Resolved] 403 Forbidden WAMP WordPress

  • So I’ve recently tried to install wordpress, and it works fine on my localhost, posting and viewing and navigating but if I try accessing from the outside (www.kokohusky.net) I get a 403 forbidden access error and all the other posts I’ve looked at haven’t quite been helpful.
    Anyone know any possible solutions?
    Current .htaccess:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator t-p

    @t-p

    404 indicates failure to communicate with the server.
    – it could be configuration issue
    – it could be memory issue
    – it could be permalinks issue, review this: How to fix 404 error when using Pretty Permalinks? – it could be optimization issue
    – it could be a conflict with plugin: try resetting the plugin folder – it could be a conflict with theme: try switching to the default theme for a moment via FTP and see if that resolves the issue.
    – check for .htaccess file presence and check if the default wordpress mod-rewrite code is there or not. There are times when .htaccess file is not writeable or gotten deleted
    – Check the server error log for your hosting account. Ask your hosting provider for assistance to locate them.

    It’s not a 404 Issue, It’s a 403 issue, It can talk to the “Server” (My computer) Just fine. It Doesn’t have access, IT’s saying forbidden.

    Permalinks have not been modified, plugin folder has eben reset, htaccess file does not have mod-rewriten code. And it’s a WAMP server (MY server) so whereabouts would I find these “Logs”?

    catacaustic

    @catacaustic

    very awesome

    Check on WAMP to see if it is ‘Online’ or ‘Offline’. Just hovering over the icon in your taskbar will show you either ‘WAMPSERVER – Server Offline’ or ‘WAMPSERVER – Server Online’. If it’s not online then you will need to click on the icon and select ‘Put online’. This will allow the Apache server to accept connections from outside of your local PC.

    The log files should be stored under each service, so you can see the Apache logs in the Apache menu area, PHP logs in the PHP area and MySQL logs in the MySQL area.

    Woo, Wow I didn’t realise green was still offline mode, that fixed it completely, Thank you very much!

    catacaustic

    @catacaustic

    very awesome

    Yeah I know. In the older version the icon changed when you changed between online/offline. The new version doesn’t do that, so it creates a whole lot more confusion. Probably something that we should point out to the WAMP people.

    Ok theres a new problem though, People can’t see my pictures or any layout I’ve applied (www.kokohusky.net) to see. any idea on how I would fix this?

    catacaustic

    @catacaustic

    very awesome

    Simpel to fix. Well, as simple as it can get…

    You didn’t change the URL of the site. WordPress can only handle one URL at a time, so when it’s set for localhost, everything will point ot localhost, not your domain.

    As an example, your site is trying to pull the stylesheet from http://localhost/wp-content/themes/teal/style.css

    The easiest way that I’ve found to change this is using this search-and-replace tool. it works pretty easily – but always remember to delete it after you’ve used it… just in case.

    Alright, Thank you so very much for all your help, I’m pretty new to all this so it certainly takes some gettin-used to

    So am I just replacing all localhost strings with kokohusky.net? (I tried that and it seems to have had a pretty negetive affect, thankfully backed up)

    nevermind I solved it, thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] 403 Forbidden WAMP WordPress’ is closed to new replies.
Skip to toolbar