• Greetings,

    I’m absolutely begging for someone to help me! I have read EVERY POST regarding permalink issues and some are CLOSE to what I am experiencing but not exact.

    PROBLEM: I cannot get permalinks to work unless I use /index.php/ at the start of the permalink structure or use the default ugly links

    I have my blog at http://mak-az.dynu.com/makblog/
    I have the mod_rewrite module loaded in Apache
    I am using WP 2.0 (WP is supposed to do everything for me)
    I start with the default permalink structure (ugly links) — EVERYTHING WORKS FINE!!!

    Everytime I try to update my permalink structure via the Admin Panel of WP it writes the following info to my .htaccess file:

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

    # END WordPress

    NOTE: Notice the space after the period on the RewriteRule? Also the blank line before # END WordPress? There is also a blank line before # BEGIN WordPress.

    I have tried the following suggestions from the WP Codex:

    From Codex:
    1. If you leave whitespace at the end of your .htaccess file, it may make all pages on your site unavailable — So I removed all whitespace. (Everytime WP updates the file it always adds whitespace, so I make sure to remove it.)

    2. I edited my wp-includes/vars.php file to say — $is_apache = 1

    3. I edited my httpd.config file to say:
    <Directory />
    Options FollowSymLinks
    AllowOverride All
    </Directory>

    4. I deleted the contents of my .htaccess file and re-created it (by updating the permalink structure).

    NONE of those up above helped me.

    I have tried the following suggestions from other users:

    1. I added the UPDATED functions-post.php file and classes.php file
    2. I blanked out the .htaccess file (if I delete it WP doesn’t create a new one; WP didn’t even create one on fresh install I had to make it myself)
    3. I went to the permalink page in Admin Panel of WP and chose Date and Name based. That is supposed to give me the structure /%year%/%monthnum%/%day%/%postname%/.
    4. After doing that I check my .htaccess file again. My text editor tells me the file was updated by WP so I know it is being written to. When I look at the contents of the .htaccess file it just rewrites the same info I had before: (in otherwords nothing changed)

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

    # END WordPress

    No matter which permalink structure I choose from the Admin Panel it keeps re-writing the exact same thing (as shown above) into my .htaccess file

    All I get are 404 page not found errors.

    Default link structure works (ugly links)
    http://mak-az.dynu.com/makblog/?p=27

    Date and Time structure works if I also add /index.php/ to the start of it (thus making it a custom structure)
    http://mak-az.dynu.com/makblog/index.php/2006/01/17/the-last-few-days/

    I do NOT want to have index.php/ as part of my URL. This is what I want below but I always get 404 errors.
    http://mak-az.dynu.com/makblog/2006/01/17/the-last-few-days/

    Nothing I have read on Codex or from users in this support forum works for me, not even adding the updated functions-post.php file and classes.php file.

    Can someone please help me, I’m getting so frustrated with this I just want to roll up in a ball and hide in a dark closet.

    Kindest Regards,

    ~ MAK

    STATUS: UNRESOLVED

Viewing 11 replies - 16 through 26 (of 26 total)
  • Great. I wonder why i can not get permalinks working?

    I don’t know. Since I haven’t done one thing anywhere other than install, upload or create an .htaccess file, set it to 777 (online only, doesn’t need repermitted under local XAMPP), select the permalink setup as above, update permalinks, then set the .htaccess file back to 644, I just don’t know what to tell you.

    [I should probably point out I’m the ONLY PERSON IN THE WORLD who never has bugs in games or other software….]

    2/19
    to RaulTBC RE:IIs servers. .htaccess does not apply to them. Unless you are running your own server with administrator priviledges, you will have to have the tech support staff set these permissions at the wwwroot folder. read, write, modify and execute permissions.

    If the wwwroot folder has these permissions, any subfolder will also have them. At the least ask them to set the permissions on the wordpress folder.

    After they did this for me, my archieves links worked ok, the wp-db backup plugin worked and the default permalinks started working. But I can not get the other permalink choices to work. But I am not unhappy with the default structure.

    Flyfisher842

    How I got permalinks to work.

    Step 1. Got rid of my old hosting company (Fatcow.com)

    Step 2. Signed up with a reliable host (MediaTemple.net) recommended by Michael Heilemann (BinaryBonsai.com)

    Step 3. Created a MySQL database at my new host.

    Step 4. Uploaded an entirely fresh install of WordPress 2.0.1 with wp-config.php adjusted to my new hosting environment.

    Step 5. Uploaded .htaccess file, changed chmod to 666.

    Step 6. Ran the wp-admin/install.php

    Step 7. Login > went to Options > Turned on permalinks at wp-admin/options-permalink.php

    Step 8. Went back to .htaccess and turned chmod to 644.

    Totally worked just like it’s supposed to. I had NO problems at all. Amazing, just amazing. Painless as could be. The moral of my experience is: “Make sure you’re hosting your WordPress site in a reliable hosting environment”. I couldn’t be more pleased with my new host. It was so easy, I was shocked. After a DAY of massive frustration and lost sleep over my permalinks issue at previous host, it was like a huge weight lifted from my conscience. WordPress functioned exactly as it should in new hosting environment.

    Huge thanks to Michael Heilemann for the recommendation.

    I have exactly the same problem with a fresh install on my local (XP) machine, I installed once and re-istalled twice still no joy.

    Permalinks work in default and with index.php/ but nothing else works.

    Apart from re-installing for a forth time and spending hours looking at config files I don’t understand is there anything I should check for (I’ve checked everything four times but I may have missed something)?

    Bizland is hosting an account I’m trying to setup, and I’ve had the exact same issues detailed out by MAK, used the same processes to try to correct it with no luck. They say that they allow mod_rewrite, but permalinks are not working at all. Finally got someone with Bizland to look at the htaccess and they added this line:

    RewriteRule ^(.+)$ /index.php/$1 [R=301,NS,QSA]

    And said that it worked now – but it doesn’t work in every instance, just for the one problem (paging) that I gave them as an example. I have had NO luck getting any assistance with this – and would love it if someone would offer up some detailed assistance with this so that all the user needed to do is add one line of code to get things functioning. There seem to be a lot of cries for help over this topic and no definitive answers.

    How can it be this complicated?

    Here’s my initial cry for help: http://wordpress.org/support/topic/64634?replies=8#post-343466

    I’ve upgraded, reinstalled, changed permissions, deleted, recreated, and taken my fair share of headache medicine in the process.

    vikingwolf.com

    (See my initial cry for help)

    mrsticks

    (@mrsticks)

    I was having the same problem as the OP and most of you, if I read everything correctly. I was taken back at how many people had the same problem. In my case, I fixed mine quite simply. In my WP Admin, I went to Options->General and erased what I had in the Blog Address box. Then I made the permalinks the date/time format and it just worked. I havent looked at my .htaccess, but I assume it is the same one it was creating before, which is the same one the OP had. In the end, WP just copied the WordPress Address to the Blog Address box.
    My issue is resolved and that is how i did it. Ive got the most recent version of WP, downloaded day before yesterday, v 2.0.2

    tela

    (@tela)

    I was having the same problem too and that how I fixed it.

    Apache doesn’t recommend to use the .htaccess files anymore as they pose some security risks and are slow anyway.

    In httpd.conf:


    # Normally, you already have a very restrictive set of features for all directories
    # that Apache has access to.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>

    Now you can ask your webhost to add this, considering that
    all WordPress sites are located under this directory
    structure: /var/www/*/wordpress:
    (your main index.php being in /var/www/*/wordpress)


    # This is needed for permalinks to work
    # on WordPress without using .htaccess files
    <Directory /var/www/*/wordpress>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    </Directory>

    I had the same problem as many of you did or maybe still have. I’ve got another answer which might solve the problem for some of you:
    Even if phpinfo says that mod_rewrite is compiled and activated it does not mean that you have the right to apply rewrite directives. That’s what my problem was.
    To figure out if the problem applies to you in this way just create a .htaccess file containing only the directive
    RewriteEngine On
    If you already now get 403: Forbidden Error Messages you don’t have the right to use rewrite directives.
    Ask your webspace provider to change the rights for you.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Unresolved Permalink Issue’ is closed to new replies.