Need help? Check out our Support site, then

WordPress acts strange in combination with other .htaccess

  1. I have my wordpress installed on
    With htaccess in my main directory I rewrite the url to
    When I go to the shorter url I see my wordpress site.

    But now I want to change the wordpress- and site address in the general settings to the shorter url, which is causing troubles.
    I first only changed the site address, because the other one can be the longer one. If I then go to: it shows the error page instead of the page I want to see when I have the longer url filled in.

    The htaccess I use for the main domain is:
    php_value upload_max_filesize 20M<br /> php_value post_max_size 20M<br /> php_value max_execution_time 200<br /> php_value max_input_time 200</p> <p>AddHandler application/x-httpd-php .gif .jpg .jpeg .png<br /> php_flag short_open_tag Off<br /> php_flag display_errors off</p> <p>RewriteEngine on<br /> Options +FollowSymlinks<br /> RewriteBase /</p> <p># REDIRECT MAIN DOMAIN<br /> RewriteCond %{HTTP_HOST} ^(www.)?$<br /> # /subfolder/<br /> RewriteCond %{REQUEST_URI} !^/<br /> # Don't change this line.<br /> RewriteCond %{REQUEST_FILENAME} !-f<br /> RewriteCond %{REQUEST_FILENAME} !-d<br /> # /subfolder/<br /> RewriteRule ^(.*)$ /$1<br /> # site<br /> # subfolder/<br /> RewriteCond %{HTTP_HOST} ^(www.)?$<br /> RewriteRule ^(/)?$ [L]</p> <p># SUBDOMAINS to /<br /> RewriteCond %{HTTP_HOST} ^([^.]+)\.domain\.nl$ [NC]<br /> RewriteCond %{HTTP_HOST} !^www\.domain\.nl$ [NC]<br /> RewriteRule ^(.*)$$1 [P,L]

    This should do the following: -> ->

  2. I have my wordpress installed…

    You are asking in the wrong forum. Head over to for help.

    There are various sorts of wordpress, and this forum is for our answers won't help you because our platform is different.

Topic Closed

This topic has been closed to new replies.

About this Topic