Comments (3)
Hi Dũng Nguyễn,
Is this happening on only the blog entries as categories, or as well as the singular post types (post/page)?
The pull request only features a change in the archive path, and I believe this should be handled elsewhere.
But if it's only faulty on archives, then I believe we are facing another issue. I also see you're using site_url()
rather than home_url()
, so I really need more information on this matter.
I also believe the change should be added here:
the-seo-framework/inc/classes/generate-url.class.php
Lines 1373 to 1375 in 537a563
Do keep me informed. Thanks!
from the-seo-framework.
See patch: 936db07
Specifically these lines:
the-seo-framework/inc/classes/generate-url.class.php
Lines 740 to 742 in 936db07
//* Add plausible domain subdirectories.
$url = trailingslashit( get_option( 'home' ) ) . ltrim( $path, ' \\/' );
$path = $this->set_url_scheme( $url, 'relative' );
It's untested, but should yield what you're aiming for. Feel free to test it out. This makes all path generation functions yield the same results.
Caution: please note that the 2.7.0 version (currently in Alpha) transfers term data to the WordPress 4.4 system. This needs more elaborate testing prior to be used on production websites.
from the-seo-framework.
I see Google Webmaster notice with /category/ and /tag/
post/page work well.
Yes, after using your patch. Category/tag now work well.
Thanks you.
from the-seo-framework.
Related Issues (20)
- 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
- Allow setting of custom alternateName(s)
- Opengraph tags are printed with needlessly high priority HOT 1
- Description generator excludes single-letter abbreviations at start.
- Feature Request: Post/Page Excerpt from Elementor HOT 1
- Become an explicit community plugin on wp.org HOT 1
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.