mirsultankhan Posted August 14, 2013 Posted August 14, 2013 I have a similar problem. I downloaded wordpress from cpanel softaculous, which is fine, the path is www.mirsultankhan.com/wp/ my question is, how to i get the wordpress files from mirsultankhan.com/wp to my domian mirsultankhan.com, so that when i type www.mirsultankhan.com in my browser, my site appears. At present i can see my site but i need to use the file path mirsultankhan.com with the suffix /wp i.e www.mirsultankhan/wp - kind regards and thanks for your contiunued patience - robbie.
mirsultankhan Posted August 14, 2013 Author Posted August 14, 2013 greetings dear friends and a thousand salaams to you, may your sons be as many as the sands of the desert and your daughters as beautiful as the saffron, i asked this elsewhere but i feel it needs its own post. I downloaded wordpress from cpanel softaculous, which is fine, the path is www.mirsultankhan.com/wp/ my question is, how do i get the wordpress files from mirsultankhan.com/wp to my domian mirsultankhan.com, so that when i type www.mirsultankhan.com in my browser, my site appears. At present i can see my site but i need to use the file path mirsultankhan.com with the suffix /wp i.e www.mirsultankhan/wp - kind regards and thanks for your continued patience - robbie.
Ice IT Support Posted August 14, 2013 Posted August 14, 2013 The simplest way to do this is to create a file named index.php in your public_html folder with the following contents: <?php header("location:http://www.mirsultankhan/wp"); ?> This will redirect all traffic to mirsultankhan.com to www.mirsultankhan/wp.
mirsultankhan Posted August 15, 2013 Author Posted August 15, 2013 alas great one i have failed you, I created an idex.php in public_html directory, copied and pasted the code in the code editor, saved and i get an internal message error please see the webmaster, for days i have been watching youtube videos, reading blogs, people doing very complicated things with PHPmyadmin and MY SQL databases, and C++ editor, replacing all the HTTP, references and it was all too much for a poor noobster to take so i reached out to you guys in the hope that the pain would not overcome me and i would give out entirely and simply go to wix.com and get a horrible retail package (oh the pain and shame of it) thank you for trying, we are finding solutions to our problems and this problem will eventually be solved - kind regards and thanks for taking the time - Robbie. btw check out my site, its looks pretty awesome and i only just started, its for free chess advice and learning, http://mirsultankhan.com/wp I would just like to say that it works, i simply amended the text to read <?phpheader("location:http://www.mirsultankhan.com/wp");?> and it directs my domain name to the sub directory, which i nice although a little artificial, thanks so much regards.
Ice IT Support Posted August 16, 2013 Posted August 16, 2013 I apologize for my silly mistake! I'm glad you were able to get it to work. 1
mirsultankhan Posted August 17, 2013 Author Posted August 17, 2013 great one a thousand salaams to you, there is no need to apologise, in actual fact i am the one who needs to apologise for being such a super noob, all i needed to do was install the wordpress files and directories directly into the public_html dirtectory instead of a sub directory /wp, how hard could it be and yet i did not realise it during the initial set up of wordpress, its a wretched pupil that does not surpass his master - Leonardo da Vinci thanks again for everying - regards robbie
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now