The problem is that Apache directs your traffic to the directory “peer” before WordPress is even loaded. You have two choices here. Either you edit the .htaccess to redirect the user to WordPress or you simply change the name of the directory and point the “peer.example.com” subdomain to that directory instead.
Related Posts:
- How to? Redirect /category/sci-fi/ to /category/scifi/?
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Filtering categories in the permalink structure
- How to remove category from wordpress url?
- Multiple post categories – single permalink
- Preventing index.php?category_name=something from redirecting
- Add forward slash on categories url (serve one version of a url)
- 404 error on subcategory pages
- Categories’ hierarchy in URL
- Changing the category permalink structure
- How to: 301 Redirect /category/ to /customname/
- Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)
- Exclude subcategories from the url
- How to display only the parent category in the permalink
- Plural Category Base Slug On Category Archive Page
- Using WP rather than .htaccess to redirect pages/posts
- How to set up Author archives with sub category URL
- force category base – archive pages work WITH & WITHOUT category base slug in url?
- Add “page-a” slug to category link if user visit category link from “page-a”
- Redirect category to url with /category
- Changing permalink from /postname/ to category/postname/
- One Specific Category To Permalink
- WordPress category page redirects in .htaccess not working
- Read GET parameters in APACHE Mod Rewrite rules for WordPress categories in Posts
- Redirect a Blogger Page URL to wordpress
- Mod_Rewrite to show only last subcategory in URL
- Permalinks: display just one kind of wp category in the posts url
- Multiple URL’s based on category for one post
- Remove subcategory and category with some rules from permalink
- Sub Categories Keep Redirecting to Pages With Same Slugs
- WordPress URL Rewrite for dynamic and customized URL
- Redirect single article permalink to paginated category page
- Custom permalink structure with %postname% in front of domain name
- Custom url structure – pages under a custom post type
- Category URL Management
- Need help with major category and permalink re-organization
- Redirect Problems with Archive Page and GET variables
- Using custom structure prefix showing 404 for sub-categories
- A different permalink structure for different categories
- How to set the same base url for two different taxonomies?
- Category URL’s 404 after setting category base to ‘.’
- Remove “category” from permalink with add_rewrite_rule
- Accessible Subcategory URL’s pages without using .php hack
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Create monthly archive for parent category
- hierarchical taxonomy in permalinks? using same slug
- htaccess redirect for all categories converted to tags now showing 404
- Remove “?category=” in the URL wordpress ajax filter work for category
- How do we ReWrite HTACCESS to point a cat/subcat Product URL, to Cat/ only?
- htaccess – Redirect to subfolder without changing browser URL
- Generic htaccess redirect www to non-www
- How does WordPress handle permalinks?
- Remove parent category from permalink? Basically only have the child category?
- Custom permalink structure leads to be 404 on pagination
- Posts URL structure like site.com/category/the-post-title
- How to get permalinks with category base working with sub-categories
- Category archive by year with permalink support /category/YYYY
- Best Way to Redirect Category to Page and Hide Category
- Add a URL prefix to permalinks of one category of posts only
- Allow duplicate permalink slugs for posts in different categories
- Force WordPress to Show Pages Instead of Category
- How do I use the same post slug for different Categories?
- 301 Redirects for Changed Permalink Structure & Category Base
- How to create a custom url for a category [closed]
- URL rewrite based on a custom field value
- How do I turn off 301 redirecting posts (not canonical)?
- Passing variables through permalink structure
- how to use a different domain/subdomain for authors/catagories on single site?
- How to change the category in URL for posts in multiple categories?
- How to exclude uncategorized from permalink structure /%category%/%postname%/
- Multisite blog converting categories to subdomains
- Custom post types with their own permalink structure
- How to get the url to tag & category base set by the user?
- Changes done to .htaccess are not getting reverted back
- How to include first assigned category in the post URL?
- How do I hide posts in a category from all listings but still allow the posts to be viewed?
- how wordpress generates permalinks as /%category%/%post%/
- WordPress category gives 404 after moving to a different domain
- Create custom Perma link
- Multiple Parent Category URLs
- .htaccess regex for redirect subdomain to root domain & redirect old permalinks
- 404 posts error after 301 redirection of changed category / tag base
- Custom permalinks structure
- How to get category slug link? ( include parent categories)
- Category archive page has two URLs even when default theme is active with no active plugins
- Custom EndPoint not working when strip child category in URL
- 301 Redirect posts to newly added categories
- Use same wordpress category base and tags as the prefix as the post permalink
- How to add custom prefix before category base for category page URL?
- Category Redirection Problem
- Custom rewrite, url path with parameters to a page
- wordpress category rewrite rule with pagination
- WordPress how to remove parent slug from category URLs
- Post pages are redirecting to the 404 page in wordpress
- How to remove the category from the url only for a specific category of articles on wordpress
- Display last category child in permalink
- Disable Category Link
- Link from page to category posts
- Allow requests to resources outside the wordpress folder
- Changing category base slug results in 404 errors on posts?