Forums

A NEWBs Heads Up on the Permalinks (18 posts)

  1. TooNA1
    Member
    Posted 2 years ago #

    I just upgraded to a new VPS server for my discgolfaddiction.com blog and I installed wordpress and everything worked great - even the migration from my shared environment. I am now developing the site with almost no issues.

    A problem arose however when I tried to configure a new user so I could get email with an @discgolfaddiction.com address. I could not access my webhost's control panel at discgolfaddiction.com/ControlPanel

    After I emailed my web host, Verio, a tech support rep named Sylvia explained that the permalink option I chose was redirecting my browser.

    Whenever I want to admin my webhosting account I temporarily default the permalink settings and I can access my control panel.

    Just a heads up for you other noobs.

  2. apljdi
    Member
    Posted 2 years ago #

    What was the permalink setting? I've been able to successfully access non-WP directories with several different permalink structures. I'm curious about what setting breaks that capability.

  3. TooNA1
    Member
    Posted 2 years ago #

    Day and name http://128.241.49.116/2009/10/04/sample-post/ , as opposed to default.

  4. apljdi
    Member
    Posted 2 years ago #

    That's interesting. I use that structure and don't have a problem accessing non-Wordpress subdirectories. I also have about thirty users that get email from an address at that same domain. Its something peculiar to your set-up.

  5. TooNA1
    Member
    Posted 2 years ago #

    Ypu are correct. WordPress is a 3rd party software installed onto a known environment. The end result is a redirect that will not let me access my control panel. On my shared accounts I don't recall this being an issue. On my VPS account it seems to be an issue. There are several hardware and software differences on this account because on a vps you have to load all of your software (except apache) yourself. It could be an .htaccess or http.config issue.

    The issue in this case was resolved by setting the permalinks to default settings to access http://www.mydomain.com/ControlPanel.

  6. apljdi
    Member
    Posted 2 years ago #

    I'd really like to know what settings mess this up. If you figure it out, please let me know.

  7. TooNA1
    Member
    Posted 2 years ago #

    Here is one thing I found when I shelled in:
    -rw-r--r-- 1 apache apache 205 Oct 5 02:11 .htaccess
    This looks like its a permissions issue.
    I will look into it further as I consult the WP Codex articles.

    You on a shared server?

  8. rhyaniwyn
    Member
    Posted 2 years ago #

    It'd be interesting if you'd each paste the contents of your .htaccess files to compare. Maybe you're each on the default, though?

  9. apljdi
    Member
    Posted 2 years ago #

    Sure. My .htaccess is nothing special but here it is.

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

    Basically, all I've got is what WP spits out. This one runs on a local devel. server but I've got a functionally identical .htaccess on a hosted server.

  10. TooNA1
    Member
    Posted 2 years ago #

    Aw man
    I have recursively set permissions for all wp directories and I have chowned the directories to my admin user name.

    Now I can only see changes when I visit my site using the IP address:
    128.241.49.116

    If I use my url:
    discgolfaddiction.com
    I see the site I had Saturday.

    This is going to be harder to troubleshoot than I thought

    Stay tuned

  11. ruthieontheroad
    Member
    Posted 2 years ago #

    Ahh. This explains things. I changed to SEO-friendly permalinks, and my whole site (aside from the front page) 404ed. I've changed it back, and it's fine - but I'd rather have permalinks.

    Does anyone know what permissions/whatever I have to changed to fix this? I have a really, really bad track record of messing up permissions.

  12. TooNA1
    Member
    Posted 2 years ago #

    I would rather have the permalinks also. I think I have more than one issue also.

    My.htaccess file is identical to "apljdi's" who posted their .htaccess file in a previous post.

  13. apljdi
    Member
    Posted 2 years ago #

    @ruthieontheroad, I'd start here with trying to set permissions.

  14. ruthieontheroad
    Member
    Posted 2 years ago #

    @aplijdi Thanks - but have tried setting my .htaccess permissions to both 0766 and 0777, with no effect. Have set them back to the default (0644). Is there anything else that could be causing this problem, that you can think of?

    Thanks for your help, by the way. Been stuck on this one for ages.

  15. apljdi
    Member
    Posted 2 years ago #

    I kinda doubt that the problem is with permissions since permalinks aren't about real directory/file structure. They just give the illusion of directory structure. The problem seems to be with the url rewriting. Are you sure that you have mod_rewrite enabled on your server?

  16. ruthieontheroad
    Member
    Posted 2 years ago #

    @aplijdi Not sure... My .htaccess file looks like this, if this means anything to you:

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

    Is that right? Do I need to do anything else? Not used to having to use my online control panel, but it's cPanel X if that means anything to you.

  17. ruthieontheroad
    Member
    Posted 2 years ago #

    AHA. Got it. Thanks for your help. It was permissions after all. The code above is what I had in my local .htaccess, which is correct. I manually re-uploaded this (overwriting whatever was on live) and it's worked. Day and name url re-writing enabled.

    Thanks again. You're all awesome. Especially @apljdi.

  18. TooNA1
    Member
    Posted 2 years ago #

    WTG Ruthie. I am reinstalling!!!
    lol

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.