Problem with Wordpress!!!!

by 14 replies
16
Hi. I created wordpress website with a free domain and hosted it on 000webhost. So the problem is this

I want domain as mydomain.tk
But i am getting my domain as mydomain.tk/wordpress.

So I want to remove "/wordpress" from my domain name. I had used FTP of 000webshost which is net2ftp. Filezilla is not working for me. I know i have to change the root directory but I don't know how to do it. I also refered the wordpress codex and i haven't got any idea. So if you can help me, it will be great for me. Thanks and Cheers.
#programming #problem #wordpress

  • I can help you to get rid of your problem, Just drop me a PM of you Website
    • [1] reply
  • Did you install it all in the root directory of your site? Or did you not want it in the public_html file for a reason?

    You can always use an .htaccess file to remove the Wordpress part of the directory.

    For 000Webhost, it will look like this (RewriteBase / is NEEDED for 000)

    Code:
    Options +FollowSymlinks
    RewriteEngine on 
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^www.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,NC,L]
    RewriteRule ^wordpress/(.+)$ http://www.mydomain.tk/$1 [R=301,L]
    Just save that as an .htaccess file and drop it in the root of your public_html file.
    • [1] reply
    • i have made the changes as you described. But its not working. Should i include my domain name in this line too "RewriteCond %{HTTP_HOST} !^www."

      should i save that in the "File: /public_html/.htaccess"
  • If its a fresh install and you haven't done much work on the site, the easiest thing would be to re install it in the 'Root' directory.

    How did you install it? Manually or via Fantastico?

    I can help you out moving it to another (Root) directory if you have worked on the site already, it would be easier me doing it then explaining how to do it.

    Ricky
    • [1] reply
  • I can help you. Please contact me.
    • [1] reply
  • Yes i can do this. Please add me in skype : vinod_vyas_dt or contact on monstertech6@gmail.com
    • [1] reply
    • ok. i will send u the email. do u need any kind of account info of my website? cheers.
      • [1] reply
  • As others have mentioned, reinstalling in your root directory (public_html) would be best long term. Simply repeat the same steps you took to install wordpress the first time, but instead of choosing the wordpress subfolder to FTP the files, select your root directory (public_html) and FTP the files there. Then just follow the wordpress installation instructions and your site will be accessible at yourdomain.tk. I hope that helps. Also, once your new wordpress instance is installed, I'd remove the /wordpress directory containing your initial install.
  • Banned
    [DELETED]
  • Banned
    [DELETED]

Next Topics on Trending Feed