MyBB Community Forums

Full Version: How I can Set SEO Friendly URLS?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I just started new forum:
http://www.dthhelpline.com/forum/index.php

Right now my posts shows:
http://www.dthhelpline.com/forum/showthread.php?tid=10

But I want to SEO Friendly urls like:
http://www.dthhelpline.com/forum/airtel-...kages-t=10

Something like this!

How I can do it?

Can anyone help me?
I tried to install it but don't know it doesn't working! I don't understand what changes I need to do! I install and it shows activated but show error messages to add something in function and htaccess
You need to rename htaccess.txt to .htaccess
Ok great!Smile Let me try!
I'm getting this error message on Plugin page:

Modifications to inc/functions.php are required for URL support. Please see the documentation for details.
Add to .htaccess:

RewriteEngine on

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://www.dthhelpline.com/forum/$1?$2 [L,QSA,R=301]

# Google SEO Sitemap:
RewriteRule ^sitemap-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

# Google SEO URL Forums:
RewriteRule ^Forum-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^Thread-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^Announcement-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^User-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^Calendar-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^Event-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

# Google SEO 404:
ErrorDocument 404 /forum/misc.php?google_seo_error=404


What should I do now?
Go to ACP->Settings->Server and optimisation settings-> Enable search engine friendly URL.-> Enabled.

and rest as per choice.

That error message is pretty self explanatory surely?

Add what it says to .htaccess

Then rename functions.php-1.6.2-googleseo to just functions.php and upload it to overwrite the existing ./inc/functions.php
Ok I have setup whole things and now I done all my work but I want to make small change. Right now my links show this:

http://www.dthhelpline.com/forum/Thread-...ntact-List

I want to see it like this:

http://www.dthhelpline.com/forum/DISH-TV...ntact-List

How I could do this?
Go to ACP> Settings> Google SEO URLs> Remove the "Thread-" in the thread settings
You need to edit the .htaccess file again,
Go to > ACP> Config> Plugins> Look at Google SEO, there you can see the right thing to do
Thanks for your tips!

One last question!

How I can generate Sitemap to submit in Google?
Pages: 1 2