PDA

View Full Version : How do I change /forum to sometng else


riskreward
11-09-2015, 03:40 AM
I have a website

On root, wordpress is installed and forum is installed on www.xyz.com/forum

I need to change /forum to /age

I understand I have to go to control panel and change site URL to /age

Also I have to create a folder by name of age and move files in it

I use vbseo for url structure and how do I automatically redirect everything from

www. xyz. com/forum to www. xyz. com/age so that I dont lose search engine traffic

Help would be appreciated

webmastersun
11-18-2015, 06:15 AM
Hey riskreward,

You did right way and you will not loose search engine traffic

But you wanted to redirect all urls from old urls to new urls then copy all old ULRs

and using this code

RewriteRule old_url new_url [L,R=301]


then when someone clicks your links on search engine rusults (for old ULRs) then they will be redirected to new URLs as you declared in your htaccess file.

You can read more about how to redirect urls using htaccess.
http://www.webmastersun.com/threads/6803-How-to-301-Redirect-All-old-URLs-to-my-main-domain-in-Wordpress
http://www.webmastersun.com/threads/758-301-redirect-url-or-htaccess-what-is-advanced
http://www.webmastersun.com/threads/8303-How-do-I-redirect-my-site-using-a-htaccess-file



Hope it helps!

smirkley
11-20-2015, 07:30 AM
You will lose during the switch. It takes a while to get everything reindexed. But it will return as the search engines update.