.htaccess redirects - I am completely lost -


i trying create redirects using htaccess quite bit overwhelmed all. here goes.

the new domain hosted on hosting account there no site built. want use domain "easier" branding. here trying achieve.

i want people go newdomain.com redirected external site: blog.olddomain.com/podcast/

i want create redirects upcoming new posts. example, want send people newdomain.com/1 , have them redirected blog.olddomain.com/episode1. newdomain.com/2 redirect blog.olddomain.com/episode2, etc.

i hope can me this!

thanks!

ok nevermind, found solution. created

redirect 301 /index.html http://olddomain. com/podcast/

and add new lines create new pages ;)


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -