htaccess edits blog post forward

1 replies
  • WEB DESIGN
  • |
Greetings!

Can you assist me how to forward my blog posts to another subdomain?

I need all blog posts forwarded from domain1.com/blog to

blog.domain2.com and all the blog posts forwarded to the correct posts on the new blog.

Example:
titansite.com/blog forward to blog.titansite.com

I am still googling how to edit my htaccess for this.

Your help will be very much appreciated.

Thanks,
G.B.
#blog #edits #forward #htaccess #post
  • Profile picture of the author Ekushey
    Assuming you want to redirect titansite.com/blog to blog.titansite.com:

    Code:
    RewriteCond %{REQUEST_URI} ^/blog
    RewriteRule ^(.*)$ http://blog.titansite.com/$1 [R=301,L,P]
    Signature

    I'll solve your PHP, MySQL, WordPress or any website or server related problems.
    Hire me on Freelancer.com at an affordable rate with fast turnaround time.

    {{ DiscussionBoard.errors[9365985].message }}

Trending Topics