MyBB Community Forums

Full Version: Change URL into more friendly ones
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
issue has been fixed
This can easy be done using the Google SEO plugin.
(2018-03-16, 08:23 PM)Brian. Wrote: [ -> ]This can easy be done using the Google SEO plugin.

I already have this plugin, can you please go into more detail?
This can easily be configured in the plugin settings. I can't remember off the top of my head what the settings are.
(2018-03-16, 08:30 PM)Ben Wrote: [ -> ]This can easily be configured in the plugin settings. I can't remember off the top of my head what the settings are.

https://imgur.com/7eRQrnl


These are the settings, and also do I need to configure the .htaccess as well?
would you be able to PM me an admin login? I haven't used this plugin in a while.
Moved to Plugin Support.
Make sure you set up and use the .htaccess file that comes with Google SEO the only two things you need to change is this 
RewriteRule ^([^&]*)&(.*)$ http://yoursite.com/MyBB/$1?$2 [L,QSA,R=301]

Change yoursite.com/MyBB to your domain.

# Some hosts need a RewriteBase specification.
RewriteBase /MyBB/

Replace MyBB with the folder you have MyBB installed in if it's in the root just put a /

Once all that is done make sure Google SEO is enabled by going to 

Admin CP -> Configurations -> Google SEO and enable all the options

Now go to

Admin CP -> Configurations -> Google SEO URL

go down until you see User URL scheme and replace that with 


{url}

I recommend you keep the
User-
in front of it.

Now go back to the .htaccess file and find

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

and remove
User-

Only remove this if you removed the User- from the step above if you didn't change it don't touch this.

Save.
Now go back to your plugins page and find Click to Apply changes to core files under the Google SEO plugin and click apply.
(2018-03-16, 08:53 PM)Brian. Wrote: [ -> ]Make sure you set up and use the .htaccess file that comes with Google SEO the only two things you need to change is this 
RewriteRule ^([^&]*)&(.*)$ http://yoursite.com/MyBB/$1?$2 [L,QSA,R=301]

Change yoursite.com/MyBB to your domain.

# Some hosts need a RewriteBase specification.
RewriteBase /MyBB/

Replace MyBB with the folder you have MyBB installed in if it's in the root just put a /

Once all that is done make sure Google SEO is enabled by going to 

Admin CP -> Configurations -> Google SEO and enable all the options

Now go to

Admin CP -> Configurations -> Google SEO URL

go down until you see User URL scheme and replace that with 


{url}

I recommend you keep the
User-
in front of it.

Now go back to the .htaccess file and find

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

and remove
User-

Only remove this if you removed the User- from the step above if you didn't change it don't touch this.

Save.
Now go back to your plugins page and find Click to Apply changes to core files under the Google SEO plugin and click apply.

Thank you.