Redirect from domain.com to subdomain.domain.com
Redirect from domain.com to subdomain.domain.com
Redirect from domain.com to subdomain.domain.com
Allowing access to certain WordPress created pages or posts with htaccess / htpasswd
403 forbidden due to .htaccess?
You can create a custom page template for downloads and use something similar to the following: if (current_user_can(‘contributor’)) { echo “<h2>Download Page</h2>”; } else { echo ‘You do not have access to this page”; } You would need additional code to show the file you are offering for download. Alternatively you could set another cookie … Read more
This can be done. What you want in your .htaccess is something like if directory do not exist in root change root to the wordpress directory unfortunately I am not familiar with a way to do such a thing with .htaccess The other option is to map each possible url directory to the wordress directory, … Read more
Custom Post Type Permalinks Problem
First I would take it out from the WordPress block rules, as it will be overwrited when permalinks are refreshed if you don’t add the rule to Rewrite API. Then you could add at the bottom of your htaccess something like: Redirect 301 feed/sejururi.xml http://yoursite.com/feed/
It wasn’t a .htaccess problem, but an apache configuration problem. On a Mac server you need to: compile XSendFile as a universal binary: apxs -cia -Wc,”-arch i386 -arch x86_64″ -Wl,”-arch i386 -arch x86_64″ mod_xsendfile.c and modify the site specific httpd.conf file in /Library/Server/Web/Config/apache2/sites. If you’re having the same problem, I wrote about this on my … Read more
No input file specified after enabling multi site
Try this into htaccess RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L]