Hello guys
i m here to tell you how to make your forum with awesome urls
Page Manager Plugin[/code]
http://mods.mybb.com/view/page-manager
board from your pages links look like bad with this plugin?
to make it
go to your .htaccess
then add this code
if your site is subdomain
!^sub\.site\.com$
if is your forum as folder like mysite.com/forum
dont make changes leave it
add this code after
make a good line between them
i dont know if you can put it somewhere else but i do that and work for me
If you are use Google SEO
open the google seo htaccess > go down you will see # Default MyBB Rewrite Rules: > then go down you will see RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ > put these codes after it
Add more than 1 link with page plugin
example
you add a page with page plugin and you want your url looks like
yoursite.com/about/me
i have the right way for you
first go to admin cp > themes > templates > your templates > header > and add this code
that will solve a big problem
when you make your link like mysite.com/about/me
the images will disappear and your links gonna be like for example
the search.php will be yoursite.com/about/search.php
mysite.com/about/sites/google
just add this code
if you want more than 4
just add ([a-z0-9]+)/ next to the ^
Remove the .php from your link
want your link like that?
mysite.com/example.php to-> mysite.com/example
like search.php or portal.php
add this code to your .htaccess
if you use google seo just find # Default MyBB Rewrite Rules:
and add it between ^forum and ^thread
got a problem? or you cant understand my english? post your reply here and i will help you
dont forget to give me +1 if you like it
i m here to tell you how to make your forum with awesome urls
Page Manager Plugin[/code]
http://mods.mybb.com/view/page-manager
board from your pages links look like bad with this plugin?
mysite.com/misc.php?page=[pagename]
i can solve you this problemto make it
mysite.com/[pagename]
go to your .htaccess
then add this code
Options -Multiviews
RewriteEngine On
RewriteBase /
# Force search engines to use [b]yourdomain.com[/b]
RewriteCond %{HTTP_HOST} !^[b]yourdomain\.com[/b]$
RewriteRule ^(.*) http://[b]yourdomain.com/[/b]$1 [R=301,L]
# Specify search friendly URLs
RewriteRule ^([a-z0-9]+)$ /misc.php?page=$1 [L]
the bold link change it with your linkif your site is subdomain
!^sub\.site\.com$
if is your forum as folder like mysite.com/forum
dont make changes leave it
add this code after
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]
make a good line between them
i dont know if you can put it somewhere else but i do that and work for me
If you are use Google SEO
open the google seo htaccess > go down you will see # Default MyBB Rewrite Rules: > then go down you will see RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ > put these codes after it
Add more than 1 link with page plugin
example
you add a page with page plugin and you want your url looks like
yoursite.com/about/me
i have the right way for you
first go to admin cp > themes > templates > your templates > header > and add this code
<base href="{$settings['bburl']}/" />
that will solve a big problem
when you make your link like mysite.com/about/me
the images will disappear and your links gonna be like for example
the search.php will be yoursite.com/about/search.php
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)$ /misc.php?page=$1/$2 [L]
add this after your first 1 your code will be likeOptions -Multiviews
RewriteEngine On
RewriteBase /
# Force search engines to use site.com
RewriteCond %{HTTP_HOST} !^site\.com$
RewriteRule ^(.*) http://site.com/$1 [R=301,L]
# Specify search friendly URLs
RewriteRule ^([a-z0-9]+)$ /misc.php?page=$1 [L]
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)$ /misc.php?page=$1/$2 [L]
and if you want to add 3 places likemysite.com/about/sites/google
just add this code
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)/([a-z0-9]+)$ /misc.php?page=$1/$2/$3 [L]
if you want more than 4
just add ([a-z0-9]+)/ next to the ^
Remove the .php from your link
want your link like that?
mysite.com/example.php to-> mysite.com/example
like search.php or portal.php
add this code to your .htaccess
RewriteEngine on
RewriteBase /
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteRule ^(.*)$ $1.php [L,QSA]
add this between ^forum and ^threadif you use google seo just find # Default MyBB Rewrite Rules:
and add it between ^forum and ^thread
got a problem? or you cant understand my english? post your reply here and i will help you
dont forget to give me +1 if you like it