Testers Wanted: SEO-friendly URLs
Quote from Asgaros on May 9, 2018, 6:27 pmHello everyone,
the upcoming version 1.9 of Asgaros Forum finally comes with SEO-friendly URLs. The implementation of this feature requires a lot of big changes in the core of the plugin so there is a high risk for potential bugs. I am looking for testers who want to play around with the latest development version to ensure that the upcoming release is as stable as possible.
Some key points to focus on:
- Are all links working when seo-friendly urls are enabled/disabled?
- Are old links still working? (backward-compatibility)
- Are the Google/Bing/etc links pointing to your forum topics still working?
- Are the links working when the forum is located on a static front page?
- Are the links/search/etc working when using shortcode-parameters?
- Are the links still working when using special characters in topic-subjects (russian, chinese, etc)?
If you are interested in testing the latest-development version you can download it here.
I am looking forward for your feedback! 🙂
Thank you,
Thomas
Hello everyone,
the upcoming version 1.9 of Asgaros Forum finally comes with SEO-friendly URLs. The implementation of this feature requires a lot of big changes in the core of the plugin so there is a high risk for potential bugs. I am looking for testers who want to play around with the latest development version to ensure that the upcoming release is as stable as possible.
Some key points to focus on:
- Are all links working when seo-friendly urls are enabled/disabled?
- Are old links still working? (backward-compatibility)
- Are the Google/Bing/etc links pointing to your forum topics still working?
- Are the links working when the forum is located on a static front page?
- Are the links/search/etc working when using shortcode-parameters?
- Are the links still working when using special characters in topic-subjects (russian, chinese, etc)?
If you are interested in testing the latest-development version you can download it here.
I am looking forward for your feedback! 🙂
Thank you,
Thomas
Quote from Yworld on May 9, 2018, 6:53 pmMagnificent work!
I test and see the three canonical references
/forum/?view=thread&id=12
/forum/?view=topic&id=12
/forum/topic/ntcn/
Need one SEO-friendly , From the rest 301 redirects to this link. Then in Google will be all ok.
Magnificent work!
I test and see the three canonical references
/forum/?view=thread&id=12
/forum/?view=topic&id=12
/forum/topic/ntcn/
Need one SEO-friendly , From the rest 301 redirects to this link. Then in Google will be all ok.
Quote from Yworld on May 9, 2018, 7:06 pm/forum/forum/pervyj-podforum-integratsiya/
/forum/topic/ntcn/
2 times, the name of the forum disappears
/forum/forum/pervyj-podforum-integratsiya/
/forum/topic/ntcn/
2 times, the name of the forum disappears
Quote from Asgaros on May 9, 2018, 7:18 pmHello @yworld
I will try to implement some redirects.
I think the word “forum” appears two times because the first time its the slug of the page on which your forum is located on. The second one is the name of the view. Basically the structure is as follow:
- my-site.com/page-slug/view-name/title
- example for forums: my-site.com/page-slug/forum/general-discussion
- example for topics: my-site.com/page-slug/topic/new-topic-abc
Edit: So to be clear: In topics the forum-name does not appear in the url because otherwise this could break a lot of things. Assume a forum is called “members”. In this case the system cannot know if it should bring you to the forum called “members” or to the members-view. This is a decision to make the view-detection more simple because otherwise I would have to create blacklists for special slugs.
Hello @yworld
I will try to implement some redirects.
I think the word “forum” appears two times because the first time its the slug of the page on which your forum is located on. The second one is the name of the view. Basically the structure is as follow:
- my-site.com/page-slug/view-name/title
- example for forums: my-site.com/page-slug/forum/general-discussion
- example for topics: my-site.com/page-slug/topic/new-topic-abc
Edit: So to be clear: In topics the forum-name does not appear in the url because otherwise this could break a lot of things. Assume a forum is called “members”. In this case the system cannot know if it should bring you to the forum called “members” or to the members-view. This is a decision to make the view-detection more simple because otherwise I would have to create blacklists for special slugs.
Quote from Yworld on May 9, 2018, 7:24 pmQuote from Asgaros on May 9, 2018, 7:18 pmHello @yworld
I will try to implement some redirects.
I think the word “forum” appears two times because the first time its the slug of the page on which your forum is located on. The second one is the name of the view. Basically the structure is as follow:
- my-site.com/page-slug/view-name/title
- example for forums: my-site.com/page-slug/forum/general-discussion
- example for topics: my-site.com/page-slug/topic/new-topic-abc
Already figured out. Thank you 🙂
Redirect and everything will be ok. Otherwise there will be duplicates of pages, the search engines will punish
Quote from Asgaros on May 9, 2018, 7:18 pmHello @yworld
I will try to implement some redirects.
I think the word “forum” appears two times because the first time its the slug of the page on which your forum is located on. The second one is the name of the view. Basically the structure is as follow:
- my-site.com/page-slug/view-name/title
- example for forums: my-site.com/page-slug/forum/general-discussion
- example for topics: my-site.com/page-slug/topic/new-topic-abc
Already figured out. Thank you 🙂
Redirect and everything will be ok. Otherwise there will be duplicates of pages, the search engines will punish
Quote from Asgaros on May 13, 2018, 9:03 pmHello @yworld
I implemented a check now which should do a 301-redirect if using an old URL. Can you have a look at the latest dev-version and check if its working fine? 🙂
https://github.com/Asgaros/asgaros-forum/archive/3df5c595a36e07f669de5c91fc38b55c45b3d770.zip
Hello @yworld
I implemented a check now which should do a 301-redirect if using an old URL. Can you have a look at the latest dev-version and check if its working fine? 🙂
https://github.com/Asgaros/asgaros-forum/archive/3df5c595a36e07f669de5c91fc38b55c45b3d770.zip
Quote from Yworld on May 13, 2018, 9:22 pmdoes the redirect come with a slash at the end?
https://asgaros.com/support/topic/testers-wanted-seo-friendly-urls/ https://asgaros.com/support/topic/testers-wanted-seo-friendly-urls
does the redirect come with a slash at the end?
https://asgaros.com/support/topic/testers-wanted-seo-friendly-urls/ https://asgaros.com/support/topic/testers-wanted-seo-friendly-urls
Quote from Yworld on May 13, 2018, 9:28 pmIf the slash is put in a snippet
function fix_slash( $string, $type ) { global $wp_rewrite; if ( $wp_rewrite->use_trailing_slashes == false ) { if ( $type != 'single' && $type != 'category' ) return trailingslashit( $string ); if ( $type == 'single' && ( strpos( $string, '.html/' ) !== false ) ) return trailingslashit( $string ); if ( $type == 'category' && ( strpos( $string, 'category' ) !== false ) ) { $aa_g = str_replace( "/category/", "/", $string ); return trailingslashit( $aa_g ); } if ( $type == 'category' ) return trailingslashit( $string ); } return $string; } add_filter( 'user_trailingslashit', 'fix_slash', 55, 2 );There will be two 301 I think ok. Not scary.
If the slash is put in a snippet
function fix_slash( $string, $type ) { global $wp_rewrite; if ( $wp_rewrite->use_trailing_slashes == false ) { if ( $type != 'single' && $type != 'category' ) return trailingslashit( $string ); if ( $type == 'single' && ( strpos( $string, '.html/' ) !== false ) ) return trailingslashit( $string ); if ( $type == 'category' && ( strpos( $string, 'category' ) !== false ) ) { $aa_g = str_replace( "/category/", "/", $string ); return trailingslashit( $aa_g ); } if ( $type == 'category' ) return trailingslashit( $string ); } return $string; } add_filter( 'user_trailingslashit', 'fix_slash', 55, 2 );
There will be two 301 I think ok. Not scary.