Comments (2)
@codecowboy this is a bad idea. you don't want example.com and www.example.com to both load the same content, or search engines will cut your SEO points in half, as your 2 domains will share SEO juice. The proper fix for this is to redirect one direction or the other. As a minimalist, I redirect www -> non-www with a full path follow and 301.
If you have some other use case, let me know!
from mercator.
FYI, Mercator treats with-www and no-www identically: example.com
mapped to a site will make both www.example.com
and example.com
resolve to that site. However, WordPress will kick in afterwards with its canonical redirect functionality and automatically 301 redirect to whatever you have set for the mapping. If you want the www
, have it in the mapping; if you don't, leave it out, and WP will handle directing you to the right one.
from mercator.
Related Issues (20)
- Update Packagist to 1.0.2 HOT 3
- v2 is dead? HOT 4
- Fixing "ERROR: Cookies are blocked or not supported by your browser." error with Mercator HOT 4
- what happened to domain alias with wordress 4.9.8 HOT 3
- Add caching headers to SSO admin-ajax nopriv responses
- Use new hook in 5.1
- issues on changing domain HOT 1
- Issues with cross domain SSO HOT 9
- Use domain alias for template root uri
- delete_blog hook is delete_blog - Suggested hook wp_uninitialize_site mercator.php
- Is Mercator dead? HOT 4
- Tab for domain mapping not showing anymore HOT 4
- SSO requires SameSite cookies to be set to 'None'
- Unable to install the Mercator on wordpress HOT 2
- Doesn't support Composer 2 HOT 2
- "Aliases" tab missing in network site settings HOT 1
- Is this plug-in even necessary or commended? HOT 2
- Clarify need for this plugin in the readme HOT 3
- Not everything is mapped with Polylang and Revolution Slider plugins HOT 5
- Replace $_REQUEST with $_GET or $_POST
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mercator.