Comments (8)
Hi @antonmarin,
This is already done through the Canonical URL. See Use canonical URLs.
I quote:
[...] With content syndication, it's also easy for content to be distributed to different URLs and domains entirely. For example:
Your server is configured to serve the same content for the www subdomain or the http protocol.
a) http://example.com/green-dresses (http)
b) https://example.com/green-dresses (https)
c) http://www.example.com/green-dresses (http + www)
In the next update you'll have more control over the HTTP/HTTPS hosts directive. www/non-www is already completely supported through the Site Address (URL) setting set in http://example.com/wp-admin/options-general.php.
I hope this explains it :)
If this wasn't what you were looking for, let me know! Cheers!
from the-seo-framework.
I see.
As i understand it is not absolutely same for different search engines
from the-seo-framework.
The canonical URL certainly works the same for all popular search engines:
https://yandex.com/support/webmaster/controlling-robot/html.xml#canonical
https://blogs.bing.com/webmaster/2011/10/06/managing-redirects-301s-302s-and-canonicals/
The hosts addition, alas, is currently only Yandex specific.
from the-seo-framework.
ok.
How add it manually? I searched for a file but not found (( File exists? Or it's a redirect?
from the-seo-framework.
Hi @antonmarin,
The robots.txt "file" is virtual, and it's outputted by WordPress and overwritten by The SEO Framework.
If an actual robots.txt file is found in the root folder of your website, you're in full control of it 😄. You can add your own manually through FTP.
I hope this helps! Good luck!
from the-seo-framework.
So how to add Host: to robots.txt if file doesn't exist?
from the-seo-framework.
You can create files through FTP.
Please advice on this with your hosting provider :)
from the-seo-framework.
Hi Anton,
I hope you're doing well, and that you've been able to add your own robots.txt file.
If you still have any questions regarding this subject, feel free to ask!
I'm also closing this topic; because this feature has been included in other forms already.
Cheers!
from the-seo-framework.
Related Issues (20)
- Sitemap for Large sites with filter date/year HOT 1
- Rename popular filters HOT 3
- Update Gutenberg's permalink store when selecting a primary term.
- Add listeners for default visibility options in quick-edit.
- 5.0 Beta Test. HOT 1
- Add SEO Bar to User list edit
- Set custom namespaces for compatibility files
- Hashtag/pound is removed from theme-color HOT 1
- Typo: "Note: rhe description " on Settings > Homepage > Meta Description HOT 1
- Toggle Sitemap stylesheet header link HOT 1
- Google Tag Manager connection HOT 1
- Sitemap priority setting HOT 1
- Post archive title shows as "No Title - (website name)"
- Site name is not displayed by Google + Schema.org: 'alternateName' is missing HOT 7
- Make archive exclusions work for adjacent post links. HOT 2
- Polylang: Wrong canonical URL for non-default language's homepage HOT 1
- `wp_sitemaps_post_types` vs `the_seo_framework_sitemap_supported_post_types` hook HOT 3
- Add noindex headers to the Core Sitemap
- Add breadcrumb title and hierarchy options HOT 8
- Option to not notify search engines on post update
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 the-seo-framework.