Skettalee
Member
Posted 6 years ago #
I am sorry if this is the wrong place to actually put this but im trying to do this :
my website is http://www.337studios.com (redirect to http://www.damienbenoit.com)
but I installed the blog at http://www.damienbenoit.com/blog/ so i can tweak it how I want to before I launch it. Now I dont want to mess things up by actually moving the blog files from /blog/ to the root so I want to set every folder (meaning even images/ videos/ whatever/) in my directories so it links straight to the blog. I was thinking at first having it show a splash page but screw that. Id rather have it go straight to it. What kinda code am I supposed to put in my index.html that will make it not even show that page and go straight to the blog/ instead? Thanks in advance. Love you guys for all the help so far!
Put this in the <head> of your html document:
<meta http-equiv="Refresh" content="0; url=/blog/">
Info about the "refresh" meta tag:
http://webdesign.about.com/cs/metatags/a/aa080300a.htm
Skettalee
Member
Posted 6 years ago #
But is there a way to do it so the first page doesn't even show up?
rlparker
Member
Posted 6 years ago #
Wee, if there is nothing in the index.html except the "refresh" meta tag, then the "page" will not "show up".
A;ternatively, depending upon your host, you can use the .htaccess file to accomplish "seamless" redirects as described at:
http://www.javascriptkit.com/howto/htaccess7.shtml
This is probably what you have in mind, and I think it is the better way to go.
rlparker
Skettalee
Member
Posted 6 years ago #
Thanks. Works perfectly now. Do me a favor and go to http://www.337studios.com and check out the final skin i created, go click forum as well and see how i made the skin of the blog and forum fit together. I appreciate all the help you guys gave me at this site. hopefully i'll never have to come back but we will see!