I have just been working on setting up a domain on Hostgator with WordPress.
My WordPress is installed at mydomain.com/wp. The site loaded when I type mydomain.com/wp, but not when I type mydomain.com.
The WordPress files were moved by a technical person to root directory, so the site loads when I type mydomain.com.
However, I would prefer to keep WordPress in the wp folder as it was installed, as I may install other stuff and I want to keep things tidy.
My short question is;
1. which files exactly should I move back to the wp folder, which ones belong to wordpress (not to my hosting service)
2. where should the .htaccess file be? In root or in the wp folder?
3. Which code should be in the .htaccess folder? I have come across the three examples below from a Worpress thread, from the hosting service help, etc.
Thanks for the help!
DirectoryIndex home.html index.php index.shtml page1.php
or this code
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
or this code
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
but of course it still refers to the old domain, so I changed wordpress folder to the new one from settings-> general,
and now both of them doesn’t work,
how can I fix it?
]]>I have installed WAMP on my Win8 laptop with no problems. However I want to configure it so that when i click on WORDPRESS (in the WAMP server home page), it takes me directly to the wordpress dashboard login instead of the homepage of my website. so essentially to https://localhost/wordpress/wp-login.php. I don’t want to be taken to my home page and then have to click on admin login or any other login link. Is this possible?/not advisable? please advise me if this action is ok. i am assuming that later im not going to have the wordpress dashboard login on my website’s homepage, so I wont be able to login to my dashboard from there anyway. so i need WORDPRESS from WAMPserver homepage to go directly to the wordpress admin login. Hope this is a clear explanation of what i am wanting to do.
]]>I thought id post here because im not sure on where to start with this problem. I have a website www.websitename.com it doesnt go directly to wordpress website because its in folder. example www.websitename.com/wordpress.
I want to forward my domain name so it lands on www.websitename.com/wordpress because I dont want to go moving or renaming the wordpress folder as It will mess up some links etc.
Another thing is is there a way of “masking” or “hiding” the wordpress folder from the address bar view? I find a sites url looks so ugly if it were: www.websitename.com/wordpress/about. It would look better as www.websitename.com/about if you click that section. You get what im saying haha. I just wanted to make myself clear.
Any help would be really appreciated.
Thanks
Shana
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);
/** Loads the WordPress Environment and Template */
require(‘./wordpress/wp-blog-header.php’);
—————————————
So I did all that. Now my website works by going directly to my url (www.sipcreative.com) However, when I tried to go back to my WordPress admin, it doesn’t. I get this error, ”
500 – Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.” when I try to go to my WordPress admin login page https://sipcreative.com/wordpress/wp-admin/.
Do you know what I did wrong? I’m assuming that the two are related since I have just been logged in not long before. GoDaddy’s customer rep only said that I probably had to modify additional lines somewhere, but couldn’t tell me where or how…since he didn’t have access to my files or something. I tried looking through the WordPress documents, but I’m not sure what I’m reading. Please help.
Once other thing to mention is that I did also upgraded/updated WordPress, via the dashboard, to the latest version (don’t know what number) during that login session, but I don’t know if it’s related.
Thanks in advance.
UPDATE: When surfing through my website,I notice some picture links were broken… To see if it was really loading my website or just getting it from my browsing history, I cleared the history. Now my website doesn’t work either. Text shows, but everything else is broken.
]]>I have copied the Word Press location from the settings tab in the plugin as instructed. However when I try to verify the blog location on ftp I receive the following error message
Sorry we can’t find your WordPress folder with the info you provided. Usually this is because we need you to enter the WordPress location.
Please can you advise as I am unable to resolve this problem
Many thanks
Steve Dream
https://www.ads-software.com/extend/plugins/ultimate-security-checker/
]]>I followed the instructions to Using a pre-existing subdirectory install, here
https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory
When I tried to log back in at step 7 it redirects and give me Not Found error.
I then tried (below) to force the URL back when I login, it justs reloads the login page when I put in the username and password.
Edit wp-config.php
It is possible to set the site URL manually in the wp-config.php file.
Add these two lines to your wp-config.php, where “example.com” is the correct location of your site.
define(‘WP_HOME’,’https://example.com’);
define(‘WP_SITEURL’,’https://example.com’);
And there it’s says that prior the installation you should rename your “wordpress” folder to something weird and obscure.
Then you should go to index.php and
and change this
require(‘./wp-blog-header.php’);
…to this:
require(‘./your_weird_and_obscure/wp-blog-header.php’);
I did this and nothing works i get
Warning: require(.your_weird_and_obscure/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /hermes/bosweb/web237/b2372/ipg.username/mydomain.com/your_weird_and_obscure/index.php on line 17
Fatal error: require() [function.require]: Failed opening required ‘.your_weird_and_obscure/wp-blog-header.php’ (include_path=’.:/usr/local/lib/php-5.2.17/lib/php’) in /hermes/bosweb/web237/b2372/ipg.username/mydomain.com/your_weird_and_obscure/index.php on line 17
What do i do wrong?
And is there a way to do this thing if WP already installed and running? Is there a need to change something in database????
It’s a fourth question i ask here… no one on this forum answers my questions some why…
]]>I read so much in this forum and it’s a mess in my head. So I decided to describe my problem personally.
Thank you!
]]>