Are there any tutorials and/or plugins to make Vanilla 2 more search engine friendly. I am not looking for anything crazy in depth. But a simple tutorial on how-to SEO your Vanilla 2 forums would be great.
Yea, from my experience Vanilla is already very SEO friendly. I used Vanilla 1 on an insurance forum and it ranks very well in Google with very little SEO effort on my part
@Ron, we actually just did a lot of work on SEO and will continue to make sure we aren't breaking any major rules. Here are a few of things we do:
We make sure our titles and urls are appropriately set.
We have canonical Urls as part of the core.
We put in default 301 redirects for imports from Vanilla 1 and vBulletin. If you are migrating from some other forum you may want to check the routes in your dashboard to make sure links to your old forum are redirected properly.
Our html validates.
Automatically generated site maps for search bots.
Of course with all of these little tricks SEO also comes down to content which is somewhat out of our hands. One of things we are working on is Discussion/Comment voting so that the best content can be filtered to the first page of a discussion. You can see that voting is on this community forum right now, but it is very much in beta. I'm going to do a slew of debugging this week and once things are in order the voting plugin will be released to the public.
@Todd ; I was not aware of all this, excellent work. Only thing I noticed as far as friendly urls were concerned. /#Item_1 can this be modified to look a little prettier? Or is this fine for seo.
The # part of links are just used to position the browser scroll position. I guess bots can see them when looking at an anchor, but I don't think the bots see this when they are on an actual page. In any case, this is an optional part of the url and should not affect SEO.
Also, forgot an item on the list: automatic generation of site maps for search bots. I added it above.
It might also be good to add an H1 tag for the name of the topic, but that code is in /applications/vanilla/views/discussion/index.php, can that be changed?
@Howard enabling url rewriting will get you to DOMAIN/discussion/ID#/DISCUSSIONSUBJECT which is the best you can ask for in an automated forum software. Hope this helps. :D
Search first. React to insightful, awesome, funny, and off-topic posts.
Check out the Wiki for lots of information about common stumbling blocks.
Thanks hgtonight, I don't know about "best you can ask", but it would certainly be an improvement. Where can I enable it? I do not see such an option in my panel.
RewriteEngine is On in my .htaccess and I added the sub-folder as "RewriteBase /folder", but still no luck, any clues?
Edit:
I saw this on the installation instructions:
Apache: Requires .htaccess to be working on your server. Edit your config.php file and set $Configuration['Garden']['RewriteUrls'] = TRUE;
"Discussion" is in the URL because it helps distinguish the page from a different type of page, such as a profile, and to avoid URL conflicts. It's not that bad for SEO. It can probably be removed or changed by editing the core files or creating new rewrite rules, but it would cause things to become more complicated to work with.
@Howard said:
Thanks Shadowdare, it's working now.
Anyone knows a way to remove "discussion" from the url?
It looks ugly and it's also pretty bad for SEO!
asked repeatedly also - no it can't be done unless change the application name and change all of the core files everywhere.
next unasked question "How do I change the core files to do this?" - spend an enormous amount of time debugging and changing the code in just about every file and test.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
To add to what @shadowdare said, discussion is actually required to tell vanilla what controller to use. It is possible to change it but you would have to assume th at controller is always used.
Search first. React to insightful, awesome, funny, and off-topic posts.
Check out the Wiki for lots of information about common stumbling blocks.
@hgtonight said:
It is possible to change it but you would have to assume th at controller is always used.
Hi hgtonight, that would be a lot better, as we could use a related keyword as controller, where do you implement that? I changed it at Routes->DefaultController and also at conf.php as suggested here but I keep getting 404s.
In response to your second question: vanillaforums.com is for the hosted version of Vanilla Forums. There are many things provided for the hosted version that are not included in the open source releases on vanillaforums.org. The .com is the business that supports the devs to make vanilla.
As far as routes go, this would require you to create a new route for each discussion page. This is a manual process. I wouldn't suggest doing this unless you have a finite number of discussions and people are encouraged to just comment. For more information on routes, check out the wiki.
Theoretically, you could create a plugin that creates a controller that extends the discussion controller and has a name you want in your url. It would take some development effort on your part. If you need a place to get started, check out the example plugin as well as the pertinent wiki pages.
If you want to assume the controller is discussion by default, you can hack it but it would require either a lot of modification, or throwing away the ability to use any other controller.
Bottom line is that this is a project with broad implications across the entire vanilla application. As such, I would hesitate to even offer advice on how to accomplish this in this community's forum. We will be more than happy to help you with specific problems you encounter when developing this addon, however you may be better off looking for a freelancer to help you.
Search first. React to insightful, awesome, funny, and off-topic posts.
Check out the Wiki for lots of information about common stumbling blocks.
Comments
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- We make sure our titles and urls are appropriately set.
- We have canonical Urls as part of the core.
- We put in default 301 redirects for imports from Vanilla 1 and vBulletin. If you are migrating from some other forum you may want to check the routes in your dashboard to make sure links to your old forum are redirected properly.
- Our html validates.
- Automatically generated site maps for search bots.
Of course with all of these little tricks SEO also comes down to content which is somewhat out of our hands. One of things we are working on is Discussion/Comment voting so that the best content can be filtered to the first page of a discussion. You can see that voting is on this community forum right now, but it is very much in beta. I'm going to do a slew of debugging this week and once things are in order the voting plugin will be released to the public.- Spam
- Abuse
- Troll
1 • Off Topic Insightful Awesome LOL •@Todd ; I was not aware of all this, excellent work. Only thing I noticed as far as friendly urls were concerned. /#Item_1 can this be modified to look a little prettier? Or is this fine for seo.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Also, forgot an item on the list: automatic generation of site maps for search bots. I added it above.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
1 • Off Topic Insightful 1Awesome LOL •I want to know how to do it too
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •hey I also want to know how to do it actually..
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •lol this one's pretty old :D
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hey!
I've just installed the latest version of Vanilla but my url's are not SEO friendly at all.
For example, when opening a new discussion the url I get is like this: DOMAIN/index.php?p=/discussion/1/DISCUSSIONSUBJECT#Item_1
Is there a way to get: DOMAIN/DISCUSSIONSUBECT ?
Thanks!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@Howard enabling url rewriting will get you to DOMAIN/discussion/ID#/DISCUSSIONSUBJECT which is the best you can ask for in an automated forum software. Hope this helps. :D
Search first.
React to insightful, awesome, funny, and off-topic posts.
Check out the Wiki for lots of information about common stumbling blocks.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks hgtonight, I don't know about "best you can ask", but it would certainly be an improvement. Where can I enable it? I do not see such an option in my panel. RewriteEngine is On in my .htaccess and I added the sub-folder as "RewriteBase /folder", but still no luck, any clues?
Edit: I saw this on the installation instructions: Apache: Requires .htaccess to be working on your server. Edit your config.php file and set $Configuration['Garden']['RewriteUrls'] = TRUE;
Which config.php file does it refers too? Thanks!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@Howard, it refers to the config.php file in the ./conf folder.
Shadowdare | Computer Scientist | Sites: Livid Tech
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Thanks Shadowdare, it's working now.
Anyone knows a way to remove "discussion" from the url? It looks ugly and it's also pretty bad for SEO!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •"Discussion" is in the URL because it helps distinguish the page from a different type of page, such as a profile, and to avoid URL conflicts. It's not that bad for SEO. It can probably be removed or changed by editing the core files or creating new rewrite rules, but it would cause things to become more complicated to work with.
Shadowdare | Computer Scientist | Sites: Livid Tech
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •asked repeatedly also - no it can't be done unless change the application name and change all of the core files everywhere.
next unasked question "How do I change the core files to do this?" - spend an enormous amount of time debugging and changing the code in just about every file and test.
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
1 • Off Topic 1Insightful Awesome LOL •To add to what @shadowdare said, discussion is actually required to tell vanilla what controller to use. It is possible to change it but you would have to assume th at controller is always used.
Search first.
React to insightful, awesome, funny, and off-topic posts.
Check out the Wiki for lots of information about common stumbling blocks.
- Spam
- Abuse
- Troll
2 • Off Topic 2Insightful Awesome LOL •Hi hgtonight, that would be a lot better, as we could use a related keyword as controller, where do you implement that? I changed it at Routes->DefaultController and also at conf.php as suggested here but I keep getting 404s.
Also, does someone knows what plugin do they reffer to here: vanillaforums.com/discussion/821/is-vanilla-optimized-for-seo
Thanks again!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •In response to your second question: vanillaforums.com is for the hosted version of Vanilla Forums. There are many things provided for the hosted version that are not included in the open source releases on vanillaforums.org. The .com is the business that supports the devs to make vanilla.
As far as routes go, this would require you to create a new route for each discussion page. This is a manual process. I wouldn't suggest doing this unless you have a finite number of discussions and people are encouraged to just comment. For more information on routes, check out the wiki.
Theoretically, you could create a plugin that creates a controller that extends the discussion controller and has a name you want in your url. It would take some development effort on your part. If you need a place to get started, check out the example plugin as well as the pertinent wiki pages.
If you want to assume the controller is discussion by default, you can hack it but it would require either a lot of modification, or throwing away the ability to use any other controller.
Bottom line is that this is a project with broad implications across the entire vanilla application. As such, I would hesitate to even offer advice on how to accomplish this in this community's forum. We will be more than happy to help you with specific problems you encounter when developing this addon, however you may be better off looking for a freelancer to help you.
Search first.
React to insightful, awesome, funny, and off-topic posts.
Check out the Wiki for lots of information about common stumbling blocks.
- Spam
- Abuse
- Troll
3 • Off Topic 3Insightful Awesome LOL •