britskee03
Member
Posted 2 years ago #
I recently moved my blog from brittanyrubinstein.com/blog to brittinspired.com. How do I redirect users to the correct page? Including redirecting links to specific posts. I'm sure there's probably a pretty simple answer, but I don't know anything about this.
Thanks!
In your .htaccess file (old site) add this line:
Redirect 301 / http://brittinspired.com/
britskee03
Member
Posted 2 years ago #
OK great! The links to individual blog posts are now redirecting correctly, but the homepage tries to redirect to brittinspired.com/blog, which doesn't exist, instead of just brittinspired.com. Any ideas?
Thanks
Might try to redirect fron blog/ to /
britskee03
Member
Posted 2 years ago #
Not sure I know what you mean. Are you saying I should create another .htaccess file or add another redirect line to the first file?
I am not sure it will work, but I meant adding a redirevt line before the current line.
Have a backup file to restore if it fails.
have you modified the site URL and wordpress URL in your settings? They should point to your new URL.
samtparry
Member
Posted 2 years ago #
Related question that's probably very basic, but I have recently installed WordPress on my existing website: http://www.consortiumnews.com/wordpress.
Not quite ready to make the change, but when I am, how do I make this my homepage, i.e. http://www.consortiumnews.com/wordpress --> http://www.consortiumnews.com.
have you modified the site URL and wordpress URL in your settings? They should point to your new URL.
samtparry
Member
Posted 2 years ago #
have you modified the site URL and wordpress URL in your settings? They should point to your new URL.
Ah, okay. I knew that was basic. Thanks!