I don’t have access to my .htaccess file, because I am hosted with yahoo…“messing with that file can bring down the whole server” said the yahoo customer service lady…
Here’s the thing, I just edited out ‘blog’ of my domain, and I have search results on the first page of google, and consequently killed the links…I recreated the blog directory on my server to put an index.php file that redirects, but want it to redirect all links that start with domain.com/blog/ to domain.com
So, for example, say there is a link to domain.com/blog/2010/06/23/article I want it redirected to domain.com, but there are MANY more articles in every directory (i.e. 2010, 06 and 23)
So hopefully inside the php script is a variable that states if the link begins with ‘domain.com/blog/’ then redirect to ‘domain.com’
Is this at all possible? I need to get this fixed ASAP! Any help is appreciated.