How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Marco Your Own Question

Marco
Marco, IT Consultant
Category: Computer
Satisfied Customers: 688
Experience:  10+ years of experience as an IT Consultant.
72952988
Type Your Computer Question Here...
Marco is online now
A new question is answered every 9 seconds

I have uploaded wordpress to a directory called wordpress.

This answer was rated:

I have uploaded wordpress to a directory called wordpress. however i would prefer that it is in the top level so it is on the landing page. However i was told it is more secure to put it in a lower directory and change the name of directory something else. Is there a risk of bots hacking the wordpress and would putting it in discrete directory any use. Also does it affect the SEO and ranking. What is the best practice?

businesslegions :

Hi there,

businesslegions :

My name is XXXXX XXXXX I'l be asisting you with this isue.

businesslegions :

Depending on your situation, are you planning to use wordpress for your main website?

If its for your main website, then It is best not to have a subdirectory e.g http://www.yourwebsite.com/wordpress

businesslegions :

hi

Customer:

yes it would be the main site

businesslegions :

then best to install wordpress on the root path

Customer:

it was my host who gave me the advice

Customer:

what should i tell them?

businesslegions :

it doesn't make sense to install it under a directory

businesslegions :

for example, how many people would go to http://www.yourwebsite.com/wordpress instead of http://www.yourwebsite.com/

businesslegions :

most sites that I know that use wordpress for their main site install it on the root.

businesslegions :

the only exception would be if they installed it as a blog as a subdomain e.g blog.yourwebsite.com or www.yourwebsite.com/blog

businesslegions :

changing the location won't make that much of a different in terms of security

Customer:

they say they can make it appear as the landing page by doing something behind the scenes

Customer:

i am afraid that if i hide it from hackers i am also hiding it from google

businesslegions :

yes a redirect

businesslegions :

which is not good for seo

businesslegions :

but that's not really hiding it

Customer:

ok i have installed in the subdirectory how do i move it up?

businesslegions :

select all files in the subdirectory

businesslegions :

and move it up one level

Customer:

what about the database configurations

businesslegions :

you will need to just change the path in the database

businesslegions :

was there many changes you have done?

Customer:

i've been told it is a complicated task

businesslegions :

it can be quite complex if you don't know what you're doing

businesslegions :

the easiest is to just reinstall

businesslegions :

to the root

Customer:

yes the theme has been changed substantially

businesslegions :

moving the themes is quite easy

businesslegions :

so the best thing to do is install another instance of wordpress on the root

businesslegions :

then under your subdirectory/wp-content/themes/ there should be the theme you are using

businesslegions :

copy that to /wp-content/themes (this is the new instance of wordpress)

businesslegions :

does this answer your question?

Customer:

can you help me with some source reading around this subject?

businesslegions :

with regards XXXXX XXXXX directory location?

businesslegions :

I've installed numerous wordpress installs and all of them are on the root

businesslegions :

the only exceptions were if the customer already had an existing website and just needed a blog so wordpress was installed under /blog

businesslegions :

you can change the /wp-admin page which is the login page if you are concerned about security

businesslegions :

maybe that's what your hosting provider was refeering to

businesslegions :

are you still there?

Customer:

yes

Customer:

what do i do first move the files or change the url in wordpress settings

businesslegions :

ok what are you planning to do?

Customer:

i want to move the wordpress into the root

businesslegions :

change the url

businesslegions :

in the wordpress settings

businesslegions :

then move all the files

Customer:

how do i change the links that may be in the database?

Customer:

the host has phpmyadmin

businesslegions :

ok login and then you click on the database name on the left hand side

businesslegions :

then perform a search for your old address yourwebsite.com/wordpress and modify

Customer:

can it do a find and replace encase there are hundreds

businesslegions :

if you want to do a search and replace the best thing to do is export the data into a file then run the search and replace and then import it back in

Marco and 4 other Computer Specialists are ready to help you