Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m not completely sure if this is all you need to do or not, but it seems like I remember reading somewhere that letting wordpress refresh/update your permalinks could be an easy first thing to try. chmod .htaccess to at least 666 and let WordPress update the file. If it works, don’t forget to put it back to 644 when done.

    Ahh.. I found it. Moving WordPress Within Your Site

    Thread Starter goldmember

    (@goldmember)

    thanks. that kind of helped. i updated the option_value fields in the database. now everything works correctly when select “Default” on my permalinks page.

    however, i really want to use “Custom Structure: /%category%/%postname%/”.

    that’s the way i have it setup right now but for some reason the page links in the top nav bar take the visitor to an “Internal Server Error” page even though the URL that it links to is correct.

    please advise. thanks.

    Did you successfully update your permalink structure (.htaccess file) to reflect your new custom permalinks? …step #10

    If wordpress can’t update the file because of permissions, you should get an error notice at the bottom of the page after clicking “update”.

    Something like: “if this file were writable…”

    Thread Starter goldmember

    (@goldmember)

    here’s what i have in my .htaccess:

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

    what exactly do i change here???

    I think this:

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

    Should probably look like this:

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

    Change the permissions on your .htaccess file to 666, then log into your dashboard and go to permalink settings, and enter your custom permalilnk settings. /%category%/%postname%/
    Then click on the save changes button.

    If wordpress is successful at updating htaccess, you should get “Permalink structure updated,” on top of the page, and there should be no error messages. Then you should change the permissions on the file back to 644.

    Thread Starter goldmember

    (@goldmember)

    thanks clayton. i just followed your step of updating the .htaccess as you suggested and everything is working now.

    By the way, I think your site is straight forward, clean, easy to read and seems to have no wasted space at all. It looks great. Glad you got it sorted out!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘need to remove wordpress subdirectory from page titles’ is closed to new replies.