URL Redirect
- Started
- Last post
- 16 Responses
- spmitch0
.htaccess file
- dbloc0
Redirect 301 / http://www.something.com/wordpre…
- spmitch0
actually this => Redirect /index.html http://example.com/newdirectory/…
- dbloc0
look here
http://www.kirupa.com/html5/htac…
- raybolger20
So I would put "Redirect /index.html http://example.com/newdirectory/… just anywhere in my .htaccess file?
- dbloc0
what's in your htaccess now?
- dbloc0
make sure you have this on top
RewriteEngine on
RewriteBase /
- raybolger20
is this an invisible file?
- dbloc0
just make a text file, drag it to your root directory, once uploaded, change the name to .htaccess
- raybolger20
I made a text file:
RewriteEngine on
RewriteBase /Redirect 301 / http://www.20sixfresh.com/wordpr…
Uploaded it to the root and changed the name to .htaccess but I'm receiving a 500 Internal Server Error?
- raybolger20
strange...alright- I'll read through the kirupa site- looks like some good stuff there. thanks for the help
- dbloc0
try spmich's suggestion
Redirect /index.html http://www.20sixfresh.com/wordpr…
- I must have mistyped it the first time. Thanks dbloc!!
raybolger2 - no worriesdbloc
- I must have mistyped it the first time. Thanks dbloc!!
- ifeltdave0
why not use javascript in an html file?
window.open("http://www.url…... "_self")
- bliznutty0
this can be done at the host level - without code - in web administration
- raybolger20
YAAYY!! Thank you so much :)
- Redirect /index.html http://www.site.com worked. I double checked it with Christian's post. You guys are the best!!
raybolger2
- Redirect /index.html http://www.site.com worked. I double checked it with Christian's post. You guys are the best!!