I’m not sure if this is the right section to post this, but my problem is I installed wordpress in a subfolder of my url. I now would like to redirect my main url (www.mysite.com) to use (www.mysite.com/folder) as my main url. Since I do not know how to move my site from the subfolder to the root.
Any help is appreciated.
<meta content="0; url=http://www.yourdomain.com/index.html" http-equiv="REFRESH" />
i would say this could do the job. set it between the with a new index.html,or you can write a redirect right into your .htaccess
Redirect /wordpress/index.php http://www.yourdomain.com
Probably best to give moving it a try if it’s something you want more permanent…
else, use a .htaccess file…
hope that helps…
You could use .htaccess
Create a .htaccess file in your root (www.mysite.com) if you don’t have one already and add the following:
RewriteEngine On RewriteBase / RewriteRule ^index.(.*)?$ http://domain.com/subfolder/ [r=301]
Obviously, replace domain.com/subfolder with your own.
Note this is a 301 permanent redirect with htaccess – I don’t really know for sure, but it might impact your seo later on if you want to stop using the subfolder…