How to direct users to a subcatalog

You can achieve this using .htaccess redirection rule. Please try below redirection rule: # Permanent URL redirect Redirect 301 /index.html http://stolsvidda-loypelag.no/wordpress/index.html NOTE: Here, I assume that your wordpress folder contains index.html

WordPress URL not working?

This is not how rewrite_rules works in WordPress. You miss two things. Match. It has $1, but in reality (take a look to example), you need to work with $matches. Your Query Var. You using q, but its not wp native or declared in example code. You can use one of the public ones or … Read more

How to move wordpress website from hosting account to localhost

The solution was to allow using .htaccess in /etc/apache/apache2.conf by changing from AllowOverride None to AllowOverride All. More about it here So that section related to my local website now looks like: <Directory /var/www/local.webiste.com/public_html> Options Indexes FollowSymLinks AllowOverride All Require all granted Allow from 127.0.0.1 </Directory>