Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I got things generally working now… I had to add another rewrite rule so that the pretty URLs did not apply to the some directories and files:

    RewriteEngine On
    RewriteRule ^(wp-content|wp-admin|wp-login.php|wp-comments-post.php) – [L,I]
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond%{REQUEST_FILENAME}!-f
    RewriteCond%{REQUEST_FILENAME}!-d
    RewriteRule . /index.php [L]

    I keep discovering more files that need to be excluded from the rewrite…. hoping this is not a rabbit hole!

    Thoughts are welcomed!

    I need to make some changes in BP so that the paths to the .js and .css files are not relative… they need to be absolute or root-relative. Can anyone help me with this?

    Aside: What is the best way to search this forum? The search at the top of the page never seems to return anything helpful…???

    Damn. It was working for a minute there! Now removing the .htaccess file is the only thing that keeps the site from breaking. Anyone have any insight?

    Ack! I spoke too soon.
    There is still some conflict. For a short time, the BP pages worked… dynamic data was displayed. But then I refreshed my browser, and lost all the relative path info (pages showed up 404 with no CSS).
    I am close, but fumbling through.

    Wooot! I got it figgerd out!
    I had to add some info to my .htaccess file, and since this is a Windows host, they don’t use mod_rewrite, they use asapi_rewrite, so there was a slight change to what is in the .htaccess file.
    I also updated my permalinks structure to omit the index.php :
    /%year%/%category%/%postname%/

    Here’s what I put in the .htaccess file:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    Joy!

    Hello!
    @hnla I do have a feeling that the index.php in my permalinks structure is likely the issue, and it may be related to the Windows hosting that I am on. If I remove the index.php from the structure, nothing works. I will search the forums more for any related info on this.
    @Chris Clayton, other things that don’t work are: The registration page, Activity page, Members page… none of them show any content… they just look like empty pages. I was expecting BP to output some dynamic content there… but again, because the permalinks are wrong, that may be the issue even though I told BP where these pages are using my permalinks structure.

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar