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?
- Posts URL structure like site.com/category/the-post-title
- 301 Redirects for Changed Permalink Structure & Category Base
- How to create a custom url for a category [closed]
- 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?
- Multisite blog converting categories to subdomains
- Multisite wordpress and subdomain URL collisions
- Redirecting category link to first child post
- Redirecting all old links from previous EE site to new WP site in one go?
- Categories and Tags returning 404 on the sidebar when using ugly permalinks
- WooCommerce change category url and product base
- Redirect category to first available child post
- Specific URL Rewriting with parameters in wordpress
- Rewrite my default post URL
- One WP install, I need to map a custom domain name to each category
- Permalinks: Page Not Found
- Specifying multiple categories in URL (permalink)?
- Plain permalinks not working!
- Rewrite a category
- category permalinks
- Custom category URL rewriting
- Hierarchical permalink structure for posts showing categories and sub-categories
- Test site pages go to main site
- Redirect htaccess [closed]
- Cannon see subcategory in permalink
- How to rewrite wordpress search to work on specific category
- Category link redirect to custom template page instead of index.php?
- Pagination breaks on child-categories, works fine on parent-category
- Is the part “category” fixed to an URL to an archive or post?
- Add custom categories and subcategories and posts as custom pages
- OK to redirect the root WordPress category slug?
- remove SLASH on single_post but KEEP on categories and parent pages
- Get multiple category names from permalink
- Get category base permalink
- Include a page’s “category” in its URL
- Wrong category in URLs accepted like the correct one
- How to add a ‘News’ section to specific posts in WordPress
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- Remove base category gives 404 error
- Custom permalink /%category%/%postname%/ produces 404 on each post
- Post url rewriting for posts with certain category
- My permalinks for all pages and posts now include old page titles as parents/categories
- /blog/ permalink prefix causes category pages to 404
- Removing short versions of category archive URL
- My wordpress site must be being affected by outside sources [duplicate]
- Change next_post and previous_link to navigate throught parent categories only
- What approach should I take for this URL structure?
- Multiple Parent Category URLs
- WordPress how to remove parent slug from category URLs
- Display last category child in permalink
- Allow requests to resources outside the wordpress folder