Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MOFS

macrumors 65816
Original poster
Feb 27, 2003
1,249
258
Durham, UK
Apologies if this has been answered before. It's kinda a follow through from my previous thread, after which I decided to follow advice and go to an exclusively Wordpress website (see here). Unfortunately, in implementing this new system, I deleted all the files apart from the "Media folder" (holds my photos) and "wordpress folder" (holds my Wordpress blog). While www.michaelsen.org.uk/wordpress works ok, anyone directed to http://www.michaelsen.org.uk currently gets a forbidden error. I think I did a booboo.:eek:

Is it cause I deleted the index file? Is there anyway I can make it so if someone goes to michaelsen.org.uk they get redirected to michaelsen.org.uk/wordpress? Much help would be appreciated, as my knowledge of html/css is slim to nil.:eek:

mofs
 
Yes, it's because the index page is gone. Most web servers are setup to look for the file index.html or index.php, etc.

There's a couple options.
1.) Create a index.html page that looks like,
HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="refresh" content="0;url=http://www.michaelsen.org.uk/wordpress/">
</head>
<body>Redirecting to blog</body></html>

2.) Do a redirect from a .htaccess file (if the server uses Apache).
Code:
Redirect 301 / http://www.michaelsen.org.uk/wordpress/

3.) Move the contents of WordPress up a folder level. This will make WordPress the home page. Unfortunately this may mess with some of WordPress' settings. WordPress offers instructions for doing this so be sure to check them out if you go this route.
 
Yes, it's because the index page is gone. Most web servers are setup to look for the file index.html or index.php, etc.

There's a couple options.
1.) Create a index.html page that looks like,
HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="refresh" content="0;url=http://www.michaelsen.org.uk/wordpress/">
</head>
<body>Redirecting to blog</body></html>

2.) Do a redirect from a .htaccess file (if the server uses Apache).
Code:
Redirect 301 / http://www.michaelsen.org.uk/wordpress/

3.) Move the contents of WordPress up a folder level. This will make WordPress the home page. Unfortunately this may mess with some of WordPress' settings. WordPress offers instructions for doing this so be sure to check them out if you go this route.

Thanks very much! Did option (1) and looks very nice! I may look into moving the contents of wordpress up a level [option (3)] but that will be something for the future!

mofs
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.