kaspara
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comI dont really get it, but with the correct thing to put in the index file that you wrote for me earlier, and changing BOTH URLs:
define(‘WP_HOME’,’https://tkselsvold.com/myblog’);
define(‘WP_SITEURL’,’https://tkselsvold.com/myblog’);Fixed everything for me! The wordpress is on the .com, and admin and theme works well.
Makes me wonder why it breaks when I do it like the guide says, but I’ll just keep it like this then! ?? Thanks so much for your patience and advice ??
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comAt least I’ve done something right! ??
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /myblog/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /myblog/index.php [L] </IfModule> # END WordPress
And the index.php is
<?php
/**
* Front to the WordPress application. This file doesn’t do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define(‘WP_USE_THEMES’, true);/** Loads the WordPress Environment and Template */
require(‘./myblog/wp-blog-header.php’);
?>And thank you so much for the help so far, I really appreciate it.
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comtkselsvold.com
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comThat leads me to
404 Error: Not found
The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for
I’m absolutely sure I havent changed more files than I should have, and I have the right files copied..
Any thoughts?
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comOh all of that made so much sense! Thank you SO much ??
But, all that changed was that, although the blogs static page is now placed on the .com for the first time- its just as broken as it all was before when I changed the config?
Also the admin leads me to a not found page.
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comStupid of me not to think of the mydomain site.. I didnt mean that I use mydomain, so your advice doesnt help me in this case Colin- but thank you so much for trying.
I use HostGator, and Tim thats exactly what my .com shows when I’ve done the changes. It shows a default getting started page, and my .com/myblog is all mixed up (but returns to normal when I turn the config links back). I’m getting tired of trying the same things over and over, and must be missing something really obvious since this seems like something thats usually pretty straightforward… But I’m doing exactly what the guide says..
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comI’ve now tried using the public_html folder instead, if perhaps that was the meant root(because this is the first time I’ve tried this stuff), but the exact same thing happened..
Edit: Alright, I change the
define(‘WP_HOME’,’https://mydomain.com/myblog’);
define(‘WP_SITEURL’,’https://mydomain.com/myblog’);to
define(‘WP_HOME’,’https://mydomain.com’);
define(‘WP_SITEURL’,’https://mydomain.com’);Is that wrong?
And by changing
require(‘./wp-blog-header.php’);
to
require(‘./wordpress/wp-blog-header.php’);“using your directory name for the WordPress core files:”
I dont quite know what they mean, english is not my first language, and I dont see where they mean I though place the directory name, but I’ve tried many variations, but I wish they worded it differently..
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comWell, I havent made any other changes than that, besides that I had to add
define(‘WP_HOME’,’https://mydomain.com/myblog’);
define(‘WP_SITEURL’,’https://mydomain.com/myblog’);in my wp-config.php, so thats where I change the URL instead of in the general panel as described in 1,2 and 3 of the guide. If I remove the code, I cant enter admin or anything else, and I only added it because I thought by changing the URLs in the general panel would do what I’m trying to achieve, instead it became impossible to access wordpress.
Other than that I’ve followed the guide stricktly.
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comNo, I copy them. I accidentally moved one of them, and had to add it again from my downloaded wordpress folder, and then I started over.
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comAm I moving the files from point 4 to the wrong place? I’m assuming “the root directory” is the top folder, from which all the other folders open? Thats where I placed them..
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comI tried again, but I still get stuck at this point:
7: Login to your site. It should still be https://example.com/wordpress/wp-admin/
Where I’m not directed to my admin, but my fragmented blog, and this message:
“404 Error: Not found
The page you trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for ”
Forum: Fixing WordPress
In reply to: Trying to change the location of wordpress to mydomain.comThanks, but I’ve tried it, twice, done all steps, and nothing seems to change?
Forum: Fixing WordPress
In reply to: Accidentally moved my index.php file, cant find it nowI fixed it, found the wordpress folder in my recycle bin, thanks!
Forum: Fixing WordPress
In reply to: Accidentally moved my index.php file, cant find it nowI cant figure out how to find what version of wordpress I had.. /wp-includes/version.php doesnt seem to do anything. Feeling a little lost. Is there an easier way?
Forum: Fixing WordPress
In reply to: Accidentally moved my index.php file, cant find it nowI dont know exactly what the file is for, I was following this guide https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory ??