Topic: URL scheme isn't working for me?

hi all i have wordpress installed at http://mydomain.com and punbb 1.3.2 installed at http://mydomain.com/forum but when i set URL scheme to anything other then default and rename the .htaccess file i just get errors when going to http://mydomain.com/forum etc

also i do have mod_rewrite on my server as i installed it and use it for other things like wordpress smile

Re: URL scheme isn't working for me?

What errors are displayed when accessing to http://mydomain.com/forum?

Could you post the content of the .htaccess file (used for wordpress) here?

Re: URL scheme isn't working for me?

not working for me too

Re: URL scheme isn't working for me?

parpalak wrote:

What errors are displayed when accessing to http://mydomain.com/forum?

Could you post the content of the .htaccess file (used for wordpress) here?

error is weird as it's wordpress's built in "404 not found page" but when i disable wordpress's .htaccess i get a "Internal Server Error



wordpress .htaccess:

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

# END WordPress

Re: URL scheme isn't working for me?

me too

Re: URL scheme isn't working for me?

so devs any ideas?

Re: URL scheme isn't working for me?

did you set the base url for punbb to /forum?

Re: URL scheme isn't working for me?

Yep tried that still no luck

9 (edited by steve51184 2009-03-06 22:35)

Re: URL scheme isn't working for me?

kierownik wrote:

did you set the base url for punbb to /forum?

tested that again but i get the same error "Error 404 - Not Found" but my site (wordpress) is at domain.com and punbb is at domain.com/forum so shouldn't the base url be set to just /

Re: URL scheme isn't working for me?

I checked my own rewrite base and that one is set to just /

Re: URL scheme isn't working for me?

but by default it's commented out..

Re: URL scheme isn't working for me?

anyone?

Re: URL scheme isn't working for me?

Try to modify your .htaccess this way:

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

# END WordPress

Re: URL scheme isn't working for me?

thank you

Re: URL scheme isn't working for me?

Does it work fine?

Re: URL scheme isn't working for me?

works perfect

17

Re: URL scheme isn't working for me?

Nearly same problem, but my wordpress installation is a directory up..
here is the htaccess file

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

Now I tried your solution and put it in, it looks like this.

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

Well it doesn't work, shows still the wordpress side with an error, no page available

Re: URL scheme isn't working for me?

I'm not sure that this setting

RewriteBase /iourtde/

works as you want.

Try to place the following in .htaccess in the www root directory:

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

19

Re: URL scheme isn't working for me?

fine worked thanks Parpalak