• Hello, I assume this has to do with changes I made in Options/ General. I set two different URIs for WP and blog address in order to have the blog show up at the root of my domain.

    I have also copied and changed index.php accordingly and dropped it into the root.

    So far so good.

    I then worked on the Permamlinks feature and created my .htaccess file which I dropped into the /wordpress/ folder where the script is, not at the root of my domain.

    And all hell broke lose. Calendar links are broken, links to post are also 404. In addition, I created a custom prefix for my category URI and it is also 404… Should I create the real folder as well in the tree of my server or does WP create this custom prefix as a folder automatically upon new postings?

    I read the last 10 pages of this forum and I am at a loss… Please help. Thanks.

Viewing 4 replies - 16 through 19 (of 19 total)
  • Just a question–
    “EVEN when the .htaccess file still resides at the root of my domain”

    Is the root of your domain the same as the root of your wordpress installation? In order for permalinks to work the .htaccess file that you create for WordPress permalinks must be in the root directory of your WordPress Installation. If it isn’t then the behaviors described (404’s and such) will happen.

    Thanks Moshu for the reply …
    GoDaddy replied by saying that they have “mod_rewrite enabled cgi hosting plans.”. Vague reply, i’ve asked them to clarify if they have mod-rewrite for PHP in the hosting server that I’m using right now. I know they DID have it coz my site worked fine for 4 months or so.
    I checked my phpinfo file and there is no mention of a “mod_rewrite” anywhere! What does that mean?
    Helpppp…
    I think its godaddy’s fault!! aaaargh.

    Hi. Has anyone figured out this problem yet?
    My blog is at www. clickthrough-marketing.com/blog/
    Setup as follows:
    WP Address: www. clickthrough-marketing.com/blog
    Blog Address: www. clickthrough-marketing.com/blog
    Physical location: /blog/
    Permalinks Structure: /%post_id%/%postname%/
    No category base.
    I’ve updated my root .htaccess with the supplied rewrite rules.
    My host definately has mod_rewrite – I’ve been using it for ages, and it still works…
    I tried CHMODing it to 666 – no effect
    I tried the step by step instructions above and when I reset everything (no permalinks structure etc) all the links worked perfectly.

    ….help?!

    Hang on, I seem to have fixed it… The rewrite rules that WP gives are wrong!

    Basically, delete the RewriteBase rule at the top, e.g;
    RewriteBase /blog/

    Then, at the beginning of all the RewriteRules it will have something like
    RewriteRule ^feed

    You just need to add blog/ in front like so;
    RewriteRule ^blog/feed

    Do this for each and every RewriteRule and it’ll work!

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘All links broken’ is closed to new replies.